Package net.minecraft.entity.passive
Class BeeEntity.BeeFollowTargetGoal
java.lang.Object
net.minecraft.entity.ai.goal.Goal
net.minecraft.entity.ai.goal.TrackTargetGoal
net.minecraft.entity.ai.goal.FollowTargetGoal<PlayerEntity>
net.minecraft.entity.passive.BeeEntity.BeeFollowTargetGoal
- Enclosing class:
- BeeEntity
static class BeeEntity.BeeFollowTargetGoal extends FollowTargetGoal<PlayerEntity>
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.entity.ai.goal.Goal
Goal.Control
-
Field Summary
Fields inherited from class net.minecraft.entity.ai.goal.FollowTargetGoal
reciprocalChance, targetClass, targetEntity, targetPredicate
Fields inherited from class net.minecraft.entity.ai.goal.TrackTargetGoal
checkVisibility, maxTimeWithoutVisibility, mob, target
-
Constructor Summary
Constructors Constructor Description BeeFollowTargetGoal(BeeEntity bee)
-
Method Summary
Modifier and Type Method Description boolean
canStart()
private boolean
canSting()
boolean
shouldContinue()
Methods inherited from class net.minecraft.entity.ai.goal.FollowTargetGoal
findClosestTarget, getSearchBox, setTargetEntity, start
Methods inherited from class net.minecraft.entity.ai.goal.TrackTargetGoal
canTrack, getFollowRange, setMaxTimeWithoutVisibility, stop
Methods inherited from class net.minecraft.entity.ai.goal.Goal
canStop, getControls, setControls, tick, toString
-
Constructor Details
-
BeeFollowTargetGoal
BeeFollowTargetGoal(BeeEntity bee)
-
-
Method Details
-
canStart
public boolean canStart()- Overrides:
canStart
in classFollowTargetGoal<PlayerEntity>
-
shouldContinue
public boolean shouldContinue()- Overrides:
shouldContinue
in classTrackTargetGoal
-
canSting
private boolean canSting()
-