Class AmbientStandGoal

java.lang.Object
net.minecraft.entity.ai.goal.Goal
net.minecraft.entity.ai.goal.AmbientStandGoal

public class AmbientStandGoal extends Goal
Mappings:
Namespace Name
official bnp
intermediary net/minecraft/class_7688
named net/minecraft/entity/ai/goal/AmbientStandGoal
  • Field Details

    • entity

      private final AbstractHorseEntity entity
      Mappings:
      Namespace Name Mixin selector
      official a Lbnp;a:Lbti;
      intermediary field_40125 Lnet/minecraft/class_7688;field_40125:Lnet/minecraft/class_1496;
      named entity Lnet/minecraft/entity/ai/goal/AmbientStandGoal;entity:Lnet/minecraft/entity/passive/AbstractHorseEntity;
    • cooldown

      private int cooldown
      Mappings:
      Namespace Name Mixin selector
      official b Lbnp;b:I
      intermediary field_40126 Lnet/minecraft/class_7688;field_40126:I
      named cooldown Lnet/minecraft/entity/ai/goal/AmbientStandGoal;cooldown:I
  • Constructor Details

    • AmbientStandGoal

      public AmbientStandGoal(AbstractHorseEntity entity)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lbnp;<init>(Lbti;)V
      intermediary <init> Lnet/minecraft/class_7688;<init>(Lnet/minecraft/class_1496;)V
      named <init> Lnet/minecraft/entity/ai/goal/AmbientStandGoal;<init>(Lnet/minecraft/entity/passive/AbstractHorseEntity;)V
  • Method Details

    • start

      public void start()
      Overrides:
      start in class Goal
      Mappings:
      Namespace Name Mixin selector
      official c Lbmt;c()V
      intermediary method_6269 Lnet/minecraft/class_1352;method_6269()V
      named start Lnet/minecraft/entity/ai/goal/Goal;start()V
    • playAmbientStandSound

      private void playAmbientStandSound()
      Mappings:
      Namespace Name Mixin selector
      official h Lbnp;h()V
      intermediary method_45337 Lnet/minecraft/class_7688;method_45337()V
      named playAmbientStandSound Lnet/minecraft/entity/ai/goal/AmbientStandGoal;playAmbientStandSound()V
    • shouldContinue

      public boolean shouldContinue()
      Overrides:
      shouldContinue in class Goal
      Mappings:
      Namespace Name Mixin selector
      official b Lbmt;b()Z
      intermediary method_6266 Lnet/minecraft/class_1352;method_6266()Z
      named shouldContinue Lnet/minecraft/entity/ai/goal/Goal;shouldContinue()Z
    • canStart

      public boolean canStart()
      Specified by:
      canStart in class Goal
      Mappings:
      Namespace Name Mixin selector
      official a Lbmt;a()Z
      intermediary method_6264 Lnet/minecraft/class_1352;method_6264()Z
      named canStart Lnet/minecraft/entity/ai/goal/Goal;canStart()Z
    • resetCooldown

      private void resetCooldown(AbstractHorseEntity entity)
      Mappings:
      Namespace Name Mixin selector
      official a Lbnp;a(Lbti;)V
      intermediary method_45336 Lnet/minecraft/class_7688;method_45336(Lnet/minecraft/class_1496;)V
      named resetCooldown Lnet/minecraft/entity/ai/goal/AmbientStandGoal;resetCooldown(Lnet/minecraft/entity/passive/AbstractHorseEntity;)V
    • shouldRunEveryTick

      public boolean shouldRunEveryTick()
      Returns if the goal should run every tick or not.

      This returns false by default. If this returns false, the goal will tick once after the entity is spawned, and will tick every other tick.

      Overrides:
      shouldRunEveryTick in class Goal
      Returns:
      if the goal should run every tick or not
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official J_ Lbmt;J_()Z
      intermediary method_38846 Lnet/minecraft/class_1352;method_38846()Z
      named shouldRunEveryTick Lnet/minecraft/entity/ai/goal/Goal;shouldRunEveryTick()Z