geforkt von Mirrors/Paper
Added new set/get age methods to Animals
By: Nathan Adams <dinnerbone@dinnerbone.com>
Dieser Commit ist enthalten in:
Ursprung
d29402070b
Commit
34f857ad15
@ -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);
|
||||
}
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren