Class Bee.BeeGoToHiveGoal
java.lang.Object
net.minecraft.world.entity.ai.goal.Goal
net.minecraft.world.entity.animal.Bee.BaseBeeGoal
net.minecraft.world.entity.animal.Bee.BeeGoToHiveGoal
- Enclosing class:
- Bee
- 
Nested Class Summary
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprivate Pathprivate static final intstatic final intprivate static final intprivate int(package private) int
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionprivate voidblacklistTarget(BlockPos p_27999_) booleanboolean(package private) voidprivate voidprivate voiddropHive()private booleanhasReachedTarget(BlockPos p_28002_) (package private) booleanisTargetBlacklisted(BlockPos p_27994_) private booleanpathfindDirectlyTowards(BlockPos p_27991_) voidstart()voidstop()voidtick()Methods inherited from class net.minecraft.world.entity.animal.Bee.BaseBeeGoalcanContinueToUse, canUseMethods inherited from class net.minecraft.world.entity.ai.goal.GoaladjustedTickDelay, getFlags, isInterruptable, reducedTickDelay, requiresUpdateEveryTick, setFlags, toString
- 
Field Details- 
MAX_TRAVELLING_TICKSpublic static final int MAX_TRAVELLING_TICKS- See Also:
 
- 
travellingTicksint travellingTicks
- 
MAX_BLACKLISTED_TARGETSprivate static final int MAX_BLACKLISTED_TARGETS- See Also:
 
- 
blacklistedTargets
- 
lastPath
- 
TICKS_BEFORE_HIVE_DROPprivate static final int TICKS_BEFORE_HIVE_DROP- See Also:
 
- 
ticksStuckprivate int ticksStuck
 
- 
- 
Constructor Details- 
BeeGoToHiveGoalBeeGoToHiveGoal()
 
- 
- 
Method Details- 
canBeeUsepublic boolean canBeeUse()- Specified by:
- canBeeUsein class- Bee.BaseBeeGoal
 
- 
canBeeContinueToUsepublic boolean canBeeContinueToUse()- Specified by:
- canBeeContinueToUsein class- Bee.BaseBeeGoal
 
- 
startpublic void start()
- 
stoppublic void stop()
- 
tickpublic void tick()
- 
pathfindDirectlyTowards
- 
isTargetBlacklisted
- 
blacklistTarget
- 
clearBlacklistvoid clearBlacklist()
- 
dropAndBlacklistHiveprivate void dropAndBlacklistHive()
- 
dropHiveprivate void dropHive()
- 
hasReachedTarget
 
-