mirror of
https://hub.spigotmc.org/stash/scm/spigot/bukkit.git
synced 2025-08-31 22:22:49 +00:00
Added new set/get age methods to Animals
This commit is contained in:
parent
e8004b0494
commit
c4f220b3ee
1 changed files with 15 additions and 1 deletions
|
@ -4,4 +4,18 @@ package org.bukkit.entity;
|
|||
* Represents an Animal.
|
||||
*
|
||||
*/
|
||||
public interface Animals extends Creature {}
|
||||
public interface Animals extends Creature {
|
||||
/**
|
||||
* Gets the age of this animal.
|
||||
*
|
||||
* @return Age
|
||||
*/
|
||||
public int getAge();
|
||||
|
||||
/**
|
||||
* Sets the age of this animal.
|
||||
*
|
||||
* @param age New age
|
||||
*/
|
||||
public void setAge(int age);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue