Class Bee.ValidateHiveGoal
java.lang.Object
net.minecraft.world.entity.ai.goal.Goal
net.minecraft.world.entity.animal.Bee.BaseBeeGoal
net.minecraft.world.entity.animal.Bee.ValidateHiveGoal
- Enclosing class:
Bee
-
Nested Class Summary
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate long
private final int
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class net.minecraft.world.entity.animal.Bee.BaseBeeGoal
canContinueToUse, canUse
Methods inherited from class net.minecraft.world.entity.ai.goal.Goal
adjustedTickDelay, getFlags, getServerLevel, getServerLevel, isInterruptable, reducedTickDelay, requiresUpdateEveryTick, setFlags, stop, tick, toString
-
Field Details
-
VALIDATE_HIVE_COOLDOWN
private final int VALIDATE_HIVE_COOLDOWN -
lastValidateTick
private long lastValidateTick
-
-
Constructor Details
-
ValidateHiveGoal
ValidateHiveGoal()
-
-
Method Details
-
start
public void start() -
canBeeUse
public boolean canBeeUse()- Specified by:
canBeeUse
in classBee.BaseBeeGoal
-
canBeeContinueToUse
public boolean canBeeContinueToUse()- Specified by:
canBeeContinueToUse
in classBee.BaseBeeGoal
-