Class SwimAroundGoal

Direct Known Subclasses:
FishEntity.SwimToRandomPlaceGoal

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

    • SwimAroundGoal

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

    • getWanderTarget

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