Missing Entity API

Co-authored-by: Nassim Jahnke <nassim@njahnke.dev>
Co-authored-by: Jake Potrebic <jake.m.potrebic@gmail.com>
Co-authored-by: William Blake Galbreath <blake.galbreath@gmail.com>
Co-authored-by: SoSeDiK <mrsosedik@gmail.com>
Co-authored-by: booky10 <boooky10@gmail.com>
Co-authored-by: Amin <amin.haddou@frg.wwschool.de>
Co-authored-by: TrollyLoki <trollyloki@gmail.com>
Co-authored-by: FireInstall <kettnerl@hu-berlin.de>
Co-authored-by: maxcom1 <46265094+maxcom1@users.noreply.github.com>
Co-authored-by: TotalledZebra <Holappa57@gmail.com>
This commit is contained in:
Owen1212055
2021-05-28 21:06:59 -04:00
parent fb8f31e8e3
commit a2a581ba6b
37 changed files with 1089 additions and 7 deletions

View File

@@ -93,4 +93,56 @@ public interface Bee extends Animals {
* @param ticks Ticks the bee cannot enter a hive for
*/
void setCannotEnterHiveTicks(int ticks);
// Paper start
/**
* Sets the override for if the bee is currently rolling.
*
* @param rolling is rolling, or unset for vanilla behavior
*/
void setRollingOverride(@org.jetbrains.annotations.NotNull net.kyori.adventure.util.TriState rolling);
/**
* Gets the plugin set override for if the bee is currently rolling.
*
* @return plugin set rolling override
*/
@org.jetbrains.annotations.NotNull
net.kyori.adventure.util.TriState getRollingOverride();
/**
* Gets if the bee is currently rolling.
*
* @return is rolling
*/
boolean isRolling();
/**
* Sets how many crops this bee has grown since it last
* pollinated.
* @param crops number of crops
*/
void setCropsGrownSincePollination(int crops);
/**
* Gets how many crops this bee has grown since it last
* pollinated.
* @return number of crops
*/
int getCropsGrownSincePollination();
/**
* Sets how many ticks this bee has gone without pollinating.
*
* @param ticks number of ticks
*/
void setTicksSincePollination(int ticks);
/**
* Gets how many ticks this bee has gone without pollinating
*
* @return number of ticks
*/
int getTicksSincePollination();
// Paper end
}