Class RandomStandGoal
java.lang.Object
net.minecraft.world.entity.ai.goal.Goal
net.minecraft.world.entity.ai.goal.RandomStandGoal
-
Nested Class Summary
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
boolean
canUse()
private void
boolean
private void
resetStandInterval
(AbstractHorse p_250439_) void
start()
Methods inherited from class net.minecraft.world.entity.ai.goal.Goal
adjustedTickDelay, getFlags, 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
-