Class SwimGoal

java.lang.Object
net.minecraft.entity.ai.goal.Goal
net.minecraft.entity.ai.goal.SwimGoal
Direct Known Subclasses:
FoxEntity.FoxSwimGoal

public class SwimGoal
extends Goal
Mappings:
Namespace Name
official awr
intermediary net/minecraft/class_1347
named net/minecraft/entity/ai/goal/SwimGoal
  • Field Details

    • mob

      private final MobEntity mob
      Mappings:
      Namespace Name Mixin selector
      official a Lawr;a:Larj;
      intermediary field_6429 Lnet/minecraft/class_1347;field_6429:Lnet/minecraft/class_1308;
      named mob Lnet/minecraft/entity/ai/goal/SwimGoal;mob:Lnet/minecraft/entity/mob/MobEntity;
  • Constructor Details

    • SwimGoal

      public SwimGoal​(MobEntity mob)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lawr;<init>(Larj;)V
      intermediary <init> Lnet/minecraft/class_1347;<init>(Lnet/minecraft/class_1308;)V
      named <init> Lnet/minecraft/entity/ai/goal/SwimGoal;<init>(Lnet/minecraft/entity/mob/MobEntity;)V
  • Method Details

    • canStart

      public boolean canStart()
      Specified by:
      canStart in class Goal
      Mappings:
      Namespace Name Mixin selector
      official a Lawx;a()Z
      intermediary method_6264 Lnet/minecraft/class_1352;method_6264()Z
      named canStart Lnet/minecraft/entity/ai/goal/Goal;canStart()Z
    • tick

      public void tick()
      Overrides:
      tick in class Goal
      Mappings:
      Namespace Name Mixin selector
      official e Lawx;e()V
      intermediary method_6268 Lnet/minecraft/class_1352;method_6268()V
      named tick Lnet/minecraft/entity/ai/goal/Goal;tick()V