Package net.minecraft.entity.passive
Class PandaEntity.PandaRevengeGoal
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.PandaEntity.PandaRevengeGoal
- Enclosing class:
- PandaEntity
static class PandaEntity.PandaRevengeGoal extends RevengeGoal
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.entity.ai.goal.Goal
Goal.Control
-
Field Summary
Fields Modifier and Type Field Description private PandaEntity
panda
Fields inherited from class net.minecraft.entity.ai.goal.TrackTargetGoal
checkVisibility, maxTimeWithoutVisibility, mob, target
-
Constructor Summary
Constructors Constructor Description PandaRevengeGoal(PandaEntity panda, Class<?>[] noRevengeTypes)
-
Method Summary
Modifier and Type Method Description protected void
setMobEntityTarget(MobEntity mob, LivingEntity target)
boolean
shouldContinue()
Methods inherited from class net.minecraft.entity.ai.goal.RevengeGoal
callSameTypeForRevenge, canStart, setGroupRevenge, 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
-
Field Details
-
panda
-
-
Constructor Details
-
PandaRevengeGoal
-
-
Method Details
-
shouldContinue
public boolean shouldContinue()- Overrides:
shouldContinue
in classTrackTargetGoal
-
setMobEntityTarget
- Overrides:
setMobEntityTarget
in classRevengeGoal
-