Class SwimAroundGoal

Direct Known Subclasses:
FishEntity.SwimToRandomPlaceGoal

public class SwimAroundGoal
extends WanderAroundGoal
Mappings:
Namespace Name
official axw
intermediary net/minecraft/class_1378
named net/minecraft/entity/ai/goal/SwimAroundGoal
  • Constructor Details

    • SwimAroundGoal

      public SwimAroundGoal​(PathAwareEntity mob, double speed, int chance)
      Mappings:
      Namespace Name Mixin selector
      official <init> Laxv;<init>(Larq;DI)V
      intermediary <init> Lnet/minecraft/class_1379;<init>(Lnet/minecraft/class_1314;DI)V
      named <init> Lnet/minecraft/entity/ai/goal/WanderAroundGoal;<init>(Lnet/minecraft/entity/mob/PathAwareEntity;DI)V
  • Method Details

    • getWanderTarget

      @Nullable protected Vec3d getWanderTarget()
      Overrides:
      getWanderTarget in class WanderAroundGoal
      Mappings:
      Namespace Name Mixin selector
      official g Laxv;g()Ldiu;
      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;