SPIGOT-5468: Improve Beehive TileEntity API

By: ShaneBee <shanebolenback@me.com>
This commit is contained in:
Bukkit/Spigot
2020-02-09 10:47:09 +11:00
parent 92cb9d0c47
commit 0455dbf2f7
3 changed files with 79 additions and 1 deletions

View File

@@ -79,4 +79,18 @@ public interface Bee extends Animals {
* @param anger new anger
*/
void setAnger(int anger);
/**
* Get the amount of ticks the bee cannot enter the hive for.
*
* @return Ticks the bee cannot enter a hive for
*/
int getCannotEnterHiveTicks();
/**
* Set the amount of ticks the bee cannot enter a hive for.
*
* @param ticks Ticks the bee cannot enter a hive for
*/
void setCannotEnterHiveTicks(int ticks);
}