Package net.minecraft.entity.mob
Class VindicatorEntity.FollowEntityGoal
java.lang.Object
net.minecraft.entity.ai.goal.Goal
net.minecraft.entity.ai.goal.TrackTargetGoal
net.minecraft.entity.ai.goal.FollowTargetGoal<LivingEntity>
net.minecraft.entity.mob.VindicatorEntity.FollowEntityGoal
- Enclosing class:
- VindicatorEntity
static class VindicatorEntity.FollowEntityGoal extends FollowTargetGoal<LivingEntity>
-
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, targetPredicateFields inherited from class net.minecraft.entity.ai.goal.TrackTargetGoal
checkVisibility, maxTimeWithoutVisibility, mob, target -
Constructor Summary
Constructors Constructor Description FollowEntityGoal(VindicatorEntity vindicator) -
Method Summary
Methods inherited from class net.minecraft.entity.ai.goal.FollowTargetGoal
findClosestTarget, getSearchBox, setTargetEntityMethods inherited from class net.minecraft.entity.ai.goal.TrackTargetGoal
canTrack, getFollowRange, setMaxTimeWithoutVisibility, shouldContinue, stopMethods inherited from class net.minecraft.entity.ai.goal.Goal
canStop, getControls, setControls, tick, toString
-
Constructor Details
-
FollowEntityGoal
-
-
Method Details
-
canStart
public boolean canStart()- Overrides:
canStartin classFollowTargetGoal<LivingEntity>
-
start
public void start()- Overrides:
startin classFollowTargetGoal<LivingEntity>
-