Class RandomStandGoal
java.lang.Object
net.minecraft.world.entity.ai.goal.Goal
net.minecraft.world.entity.ai.goal.RandomStandGoal
-
Nested Class Summary
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
boolean
canUse()
private void
boolean
private void
resetStandInterval
(AbstractHorse pHorse) void
start()
Methods inherited from class net.minecraft.world.entity.ai.goal.Goal
adjustedTickDelay, getFlags, getServerLevel, getServerLevel, isInterruptable, reducedTickDelay, setFlags, stop, tick, toString
-
Field Details
-
horse
-
nextStand
private int nextStand
-
-
Constructor Details
-
RandomStandGoal
-
-
Method Details
-
start
public void start() -
playStandSound
private void playStandSound() -
canContinueToUse
public boolean canContinueToUse()- Overrides:
canContinueToUse
in classGoal
-
canUse
public boolean canUse() -
resetStandInterval
-
requiresUpdateEveryTick
public boolean requiresUpdateEveryTick()- Overrides:
requiresUpdateEveryTick
in classGoal
-