static class ZombifiedPiglinEntity.FollowPlayerIfAngryGoal extends FollowTargetGoal<PlayerEntity>
Goal.ControlreciprocalChance, targetClass, targetEntity, targetPredicatecheckVisibility, maxTimeWithoutVisibility, mob, target| Constructor and Description |
|---|
FollowPlayerIfAngryGoal(ZombifiedPiglinEntity pigman) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canStart() |
findClosestTarget, getSearchBox, method_24632, startcanTrack, getFollowRange, setMaxTimeWithoutVisibility, shouldContinue, stopcanStop, getControls, setControls, tick, toStringpublic FollowPlayerIfAngryGoal(ZombifiedPiglinEntity pigman)
public boolean canStart()
canStart in class FollowTargetGoal<PlayerEntity>