Class WanderAroundGoal

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

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

    • field_7742

      private PassivePathFindingEntity field_7742
      Mappings:
      Namespace Name Mixin selector
      official a Lrz;a:Lpy;
      intermediary field_7742 Lnet/minecraft/class_1811;field_7742:Lnet/minecraft/class_1760;
      named field_7742 Lnet/minecraft/entity/ai/goal/WanderAroundGoal;field_7742:Lnet/minecraft/entity/PassivePathFindingEntity;
    • targetX

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

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

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

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

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

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

    • WanderAroundGoal

      public WanderAroundGoal​(PassivePathFindingEntity passivePathFindingEntity, double double2)
    • WanderAroundGoal

      public WanderAroundGoal​(PassivePathFindingEntity passivePathFindingEntity, double double2, int int2)
  • Method Details

    • canStart

      public boolean canStart()
      Specified by:
      canStart in class Goal
      Mappings:
      Namespace Name Mixin selector
      official a Lrd;a()Z
      intermediary method_7362 Lnet/minecraft/class_1789;method_7362()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 Lrd;b()Z
      intermediary method_7364 Lnet/minecraft/class_1789;method_7364()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 Lrd;c()V
      intermediary method_7365 Lnet/minecraft/class_1789;method_7365()V
      named start Lnet/minecraft/entity/ai/goal/Goal;start()V
    • ignoreChanceOnce

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

      public void setChance​(int chance)
      Mappings:
      Namespace Name Mixin selector
      official b Lrz;b(I)V
      intermediary method_7385 Lnet/minecraft/class_1811;method_7385(I)V
      named setChance Lnet/minecraft/entity/ai/goal/WanderAroundGoal;setChance(I)V