Class WanderAroundGoal

java.lang.Object
net.minecraft.entity.ai.goal.Goal
net.minecraft.entity.ai.goal.WanderAroundGoal
Direct Known Subclasses:
class_2654

public class WanderAroundGoal extends Goal
Mappings:
Namespace Name
official zy
intermediary net/minecraft/class_917
named net/minecraft/entity/ai/goal/WanderAroundGoal
  • Field Details

    • mob

      private PathAwareEntity mob
      Mappings:
      Namespace Name Mixin selector
      official a Lzy;a:Lxu;
      intermediary field_3592 Lnet/minecraft/class_917;field_3592:Lnet/minecraft/class_877;
      named mob Lnet/minecraft/entity/ai/goal/WanderAroundGoal;mob:Lnet/minecraft/entity/PathAwareEntity;
    • targetX

      private double targetX
      Mappings:
      Namespace Name Mixin selector
      official b Lzy;b:D
      intermediary field_3593 Lnet/minecraft/class_917;field_3593:D
      named targetX Lnet/minecraft/entity/ai/goal/WanderAroundGoal;targetX:D
    • targetY

      private double targetY
      Mappings:
      Namespace Name Mixin selector
      official c Lzy;c:D
      intermediary field_3594 Lnet/minecraft/class_917;field_3594:D
      named targetY Lnet/minecraft/entity/ai/goal/WanderAroundGoal;targetY:D
    • targetZ

      private double targetZ
      Mappings:
      Namespace Name Mixin selector
      official d Lzy;d:D
      intermediary field_3595 Lnet/minecraft/class_917;field_3595:D
      named targetZ Lnet/minecraft/entity/ai/goal/WanderAroundGoal;targetZ:D
    • speed

      private double speed
      Mappings:
      Namespace Name Mixin selector
      official e Lzy;e:D
      intermediary field_6856 Lnet/minecraft/class_917;field_6856:D
      named speed Lnet/minecraft/entity/ai/goal/WanderAroundGoal;speed:D
    • chance

      private int chance
      Mappings:
      Namespace Name Mixin selector
      official f Lzy;f:I
      intermediary field_11945 Lnet/minecraft/class_917;field_11945:I
      named chance Lnet/minecraft/entity/ai/goal/WanderAroundGoal;chance:I
    • ignoringChance

      private boolean ignoringChance
      Mappings:
      Namespace Name Mixin selector
      official g Lzy;g:Z
      intermediary field_11946 Lnet/minecraft/class_917;field_11946:Z
      named ignoringChance Lnet/minecraft/entity/ai/goal/WanderAroundGoal;ignoringChance:Z
  • Constructor Details

    • WanderAroundGoal

      public WanderAroundGoal(PathAwareEntity mob, double speed)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lzy;<init>(Lxu;D)V
      intermediary <init> Lnet/minecraft/class_917;<init>(Lnet/minecraft/class_877;D)V
      named <init> Lnet/minecraft/entity/ai/goal/WanderAroundGoal;<init>(Lnet/minecraft/entity/PathAwareEntity;D)V
    • WanderAroundGoal

      public WanderAroundGoal(PathAwareEntity mob, double speed, int chance)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lzy;<init>(Lxu;DI)V
      intermediary <init> Lnet/minecraft/class_917;<init>(Lnet/minecraft/class_877;DI)V
      named <init> Lnet/minecraft/entity/ai/goal/WanderAroundGoal;<init>(Lnet/minecraft/entity/PathAwareEntity;DI)V
  • Method Details

    • canStart

      public boolean canStart()
      Specified by:
      canStart in class Goal
      Mappings:
      Namespace Name Mixin selector
      official a Lzb;a()Z
      intermediary method_2742 Lnet/minecraft/class_896;method_2742()Z
      named canStart Lnet/minecraft/entity/ai/goal/Goal;canStart()Z
    • shouldContinue

      public boolean shouldContinue()
      Overrides:
      shouldContinue in class Goal
      Mappings:
      Namespace Name Mixin selector
      official b Lzb;b()Z
      intermediary method_2744 Lnet/minecraft/class_896;method_2744()Z
      named shouldContinue Lnet/minecraft/entity/ai/goal/Goal;shouldContinue()Z
    • start

      public void start()
      Overrides:
      start in class Goal
      Mappings:
      Namespace Name Mixin selector
      official c Lzb;c()V
      intermediary method_2747 Lnet/minecraft/class_896;method_2747()V
      named start Lnet/minecraft/entity/ai/goal/Goal;start()V
    • ignoreChanceOnce

      public void ignoreChanceOnce()
      Mappings:
      Namespace Name Mixin selector
      official f Lzy;f()V
      intermediary method_11016 Lnet/minecraft/class_917;method_11016()V
      named ignoreChanceOnce Lnet/minecraft/entity/ai/goal/WanderAroundGoal;ignoreChanceOnce()V
    • setChance

      public void setChance(int chance)
      Mappings:
      Namespace Name Mixin selector
      official b Lzy;b(I)V
      intermediary method_11015 Lnet/minecraft/class_917;method_11015(I)V
      named setChance Lnet/minecraft/entity/ai/goal/WanderAroundGoal;setChance(I)V