Package net.minecraft.entity.ai.goal
Class AmbientStandGoal
java.lang.Object
net.minecraft.entity.ai.goal.Goal
net.minecraft.entity.ai.goal.AmbientStandGoal
- Mappings:
Namespace Name named net/minecraft/entity/ai/goal/AmbientStandGoalintermediary net/minecraft/class_7688official cbi
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.entity.ai.goal.Goal
Goal.Control -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleancanStart()private voidprivate voidresetCooldown(AbstractHorseEntity entity) booleanbooleanReturns if the goal should run every tick or not.voidstart()Methods inherited from class net.minecraft.entity.ai.goal.Goal
canStop, getControls, getTickCount, setControls, stop, tick, toGoalTicks, toString
-
Field Details
-
entity
- Mappings:
Namespace Name Mixin selector named entityLnet/minecraft/entity/ai/goal/AmbientStandGoal;entity:Lnet/minecraft/entity/passive/AbstractHorseEntity;intermediary field_40125Lnet/minecraft/class_7688;field_40125:Lnet/minecraft/class_1496;official aLcbi;a:Lchi;
-
cooldown
private int cooldown- Mappings:
Namespace Name Mixin selector named cooldownLnet/minecraft/entity/ai/goal/AmbientStandGoal;cooldown:Iintermediary field_40126Lnet/minecraft/class_7688;field_40126:Iofficial bLcbi;b:I
-
-
Constructor Details
-
AmbientStandGoal
- Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/entity/ai/goal/AmbientStandGoal;<init>(Lnet/minecraft/entity/passive/AbstractHorseEntity;)Vintermediary <init>Lnet/minecraft/class_7688;<init>(Lnet/minecraft/class_1496;)Vofficial <init>Lcbi;<init>(Lchi;)V
-
-
Method Details
-
start
public void start() -
playAmbientStandSound
private void playAmbientStandSound()- Mappings:
Namespace Name Mixin selector named playAmbientStandSoundLnet/minecraft/entity/ai/goal/AmbientStandGoal;playAmbientStandSound()Vintermediary method_45337Lnet/minecraft/class_7688;method_45337()Vofficial hLcbi;h()V
-
shouldContinue
public boolean shouldContinue()- Overrides:
shouldContinuein classGoal- Mappings:
Namespace Name Mixin selector named shouldContinueLnet/minecraft/entity/ai/goal/Goal;shouldContinue()Zintermediary method_6266Lnet/minecraft/class_1352;method_6266()Zofficial cLcam;c()Z
-
canStart
public boolean canStart() -
resetCooldown
- Mappings:
Namespace Name Mixin selector named resetCooldownLnet/minecraft/entity/ai/goal/AmbientStandGoal;resetCooldown(Lnet/minecraft/entity/passive/AbstractHorseEntity;)Vintermediary method_45336Lnet/minecraft/class_7688;method_45336(Lnet/minecraft/class_1496;)Vofficial aLcbi;a(Lchi;)V
-
shouldRunEveryTick
public boolean shouldRunEveryTick()Returns if the goal should run every tick or not.This returns
falseby default. If this returns false, the goal will tick once after the entity is spawned, and will tick every other tick.- Overrides:
shouldRunEveryTickin classGoal- Returns:
- if the goal should run every tick or not
- See Also:
- Mappings:
Namespace Name Mixin selector named shouldRunEveryTickLnet/minecraft/entity/ai/goal/Goal;shouldRunEveryTick()Zintermediary method_38846Lnet/minecraft/class_1352;method_38846()Zofficial V_Lcam;V_()Z
-