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/AmbientStandGoal- intermediary - net/minecraft/class_7688- official - cdc
- 
Nested Class SummaryNested classes/interfaces inherited from class net.minecraft.entity.ai.goal.GoalGoal.Control
- 
Field SummaryFields
- 
Constructor SummaryConstructors
- 
Method SummaryModifier 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.GoalcanStop, castToServerWorld, getControls, getServerWorld, getTickCount, setControls, stop, tick, toGoalTicks, toString
- 
Field Details- 
entity- Mappings:
- Namespace - Name - Mixin selector - named - entity- Lnet/minecraft/entity/ai/goal/AmbientStandGoal;entity:Lnet/minecraft/entity/passive/AbstractHorseEntity;- intermediary - field_40125- Lnet/minecraft/class_7688;field_40125:Lnet/minecraft/class_1496;- official - a- Lcdc;a:Lcjd;
 
- 
cooldownprivate int cooldown- Mappings:
- Namespace - Name - Mixin selector - named - cooldown- Lnet/minecraft/entity/ai/goal/AmbientStandGoal;cooldown:I- intermediary - field_40126- Lnet/minecraft/class_7688;field_40126:I- official - b- Lcdc;b:I
 
 
- 
- 
Constructor Details- 
AmbientStandGoal- Mappings:
- Namespace - Name - Mixin selector - named - <init>- Lnet/minecraft/entity/ai/goal/AmbientStandGoal;<init>(Lnet/minecraft/entity/passive/AbstractHorseEntity;)V- intermediary - <init>- Lnet/minecraft/class_7688;<init>(Lnet/minecraft/class_1496;)V- official - <init>- Lcdc;<init>(Lcjd;)V
 
 
- 
- 
Method Details- 
startpublic void start()
- 
playAmbientStandSoundprivate void playAmbientStandSound()- Mappings:
- Namespace - Name - Mixin selector - named - playAmbientStandSound- Lnet/minecraft/entity/ai/goal/AmbientStandGoal;playAmbientStandSound()V- intermediary - method_45337- Lnet/minecraft/class_7688;method_45337()V- official - h- Lcdc;h()V
 
- 
shouldContinuepublic boolean shouldContinue()- Overrides:
- shouldContinuein class- Goal
- Mappings:
- Namespace - Name - Mixin selector - named - shouldContinue- Lnet/minecraft/entity/ai/goal/Goal;shouldContinue()Z- intermediary - method_6266- Lnet/minecraft/class_1352;method_6266()Z- official - c- Lccg;c()Z
 
- 
canStartpublic boolean canStart()
- 
resetCooldown- Mappings:
- Namespace - Name - Mixin selector - named - resetCooldown- Lnet/minecraft/entity/ai/goal/AmbientStandGoal;resetCooldown(Lnet/minecraft/entity/passive/AbstractHorseEntity;)V- intermediary - method_45336- Lnet/minecraft/class_7688;method_45336(Lnet/minecraft/class_1496;)V- official - a- Lcdc;a(Lcjd;)V
 
- 
shouldRunEveryTickpublic 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 class- Goal
- Returns:
- if the goal should run every tick or not
- See Also:
- Mappings:
- Namespace - Name - Mixin selector - named - shouldRunEveryTick- Lnet/minecraft/entity/ai/goal/Goal;shouldRunEveryTick()Z- intermediary - method_38846- Lnet/minecraft/class_1352;method_38846()Z- official - V_- Lccg;V_()Z
 
 
-