Class WanderAroundFarGoal

Direct Known Subclasses:
FlyOntoTreeGoal

public class WanderAroundFarGoal extends WanderAroundGoal
Mappings:
Namespace Name
official bba
intermediary net/minecraft/class_1394
named net/minecraft/entity/ai/goal/WanderAroundFarGoal
  • Field Details

    • CHANCE

      public static final float CHANCE
      See Also:
      Constant Field Values
      Mappings:
      Namespace Name Mixin selector
      official i Lbba;i:F
      intermediary field_30229 Lnet/minecraft/class_1394;field_30229:F
      named CHANCE Lnet/minecraft/entity/ai/goal/WanderAroundFarGoal;CHANCE:F
    • probability

      protected final float probability
      Mappings:
      Namespace Name Mixin selector
      official j Lbba;j:F
      intermediary field_6626 Lnet/minecraft/class_1394;field_6626:F
      named probability Lnet/minecraft/entity/ai/goal/WanderAroundFarGoal;probability:F
  • Constructor Details

    • WanderAroundFarGoal

      public WanderAroundFarGoal(PathAwareEntity mob, double speed)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lbak;<init>(Lauc;D)V
      intermediary <init> Lnet/minecraft/class_1379;<init>(Lnet/minecraft/class_1314;D)V
      named <init> Lnet/minecraft/entity/ai/goal/WanderAroundGoal;<init>(Lnet/minecraft/entity/mob/PathAwareEntity;D)V
    • WanderAroundFarGoal

      public WanderAroundFarGoal(PathAwareEntity mob, double speed, float probability)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lbba;<init>(Lauc;DF)V
      intermediary <init> Lnet/minecraft/class_1394;<init>(Lnet/minecraft/class_1314;DF)V
      named <init> Lnet/minecraft/entity/ai/goal/WanderAroundFarGoal;<init>(Lnet/minecraft/entity/mob/PathAwareEntity;DF)V
  • Method Details

    • getWanderTarget

      @Nullable protected @Nullable Vec3d getWanderTarget()
      Overrides:
      getWanderTarget in class WanderAroundGoal
      Mappings:
      Namespace Name Mixin selector
      official g Lbak;g()Ldna;
      intermediary method_6302 Lnet/minecraft/class_1379;method_6302()Lnet/minecraft/class_243;
      named getWanderTarget Lnet/minecraft/entity/ai/goal/WanderAroundGoal;getWanderTarget()Lnet/minecraft/util/math/Vec3d;