Class FollowPlayerRiddenEntityGoal
java.lang.Object
net.minecraft.world.entity.ai.goal.Goal
net.minecraft.world.entity.ai.goal.FollowPlayerRiddenEntityGoal
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprivate static enum -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate @Nullable Playerprivate final PathfinderMobprivate int -
Constructor Summary
ConstructorsConstructorDescriptionFollowPlayerRiddenEntityGoal(PathfinderMob mob, Class<? extends Entity> entityTypeToFollow) -
Method Summary
Methods inherited from class Goal
adjustedTickDelay, getFlags, getServerLevel, getServerLevel, reducedTickDelay, requiresUpdateEveryTick, setFlags, toString
-
Field Details
-
timeToRecalcPath
private int timeToRecalcPath -
mob
-
entityTypeToFollow
-
following
-
currentGoal
-
-
Constructor Details
-
FollowPlayerRiddenEntityGoal
-
-
Method Details
-
canUse
-
isInterruptable
public boolean isInterruptable()- Overrides:
isInterruptablein classGoal
-
canContinueToUse
public boolean canContinueToUse()- Overrides:
canContinueToUsein classGoal
-
start
-
stop
-
tick
-