Package net.minecraft.entity.passive
Class BeeEntity.BeeRevengeGoal
java.lang.Object
net.minecraft.entity.ai.goal.Goal
net.minecraft.entity.ai.goal.TrackTargetGoal
net.minecraft.entity.ai.goal.RevengeGoal
net.minecraft.entity.passive.BeeEntity.BeeRevengeGoal
- Enclosing class:
- BeeEntity
class BeeEntity.BeeRevengeGoal extends RevengeGoal
-
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.TrackTargetGoal
checkVisibility, maxTimeWithoutVisibility, mob, target -
Constructor Summary
Constructors Constructor Description BeeRevengeGoal(BeeEntity bee) -
Method Summary
Modifier and Type Method Description protected voidsetMobEntityTarget(MobEntity mob, LivingEntity target)booleanshouldContinue()Methods inherited from class net.minecraft.entity.ai.goal.RevengeGoal
callSameTypeForRevenge, canStart, setGroupRevenge, startMethods inherited from class net.minecraft.entity.ai.goal.TrackTargetGoal
canTrack, getFollowRange, setMaxTimeWithoutVisibility, stopMethods inherited from class net.minecraft.entity.ai.goal.Goal
canStop, getControls, setControls, tick, toString
-
Constructor Details
-
BeeRevengeGoal
BeeRevengeGoal(BeeEntity bee)
-
-
Method Details
-
shouldContinue
public boolean shouldContinue()- Overrides:
shouldContinuein classTrackTargetGoal
-
setMobEntityTarget
- Overrides:
setMobEntityTargetin classRevengeGoal
-