Class FloatGoal

java.lang.Object
net.minecraft.world.entity.ai.goal.Goal
net.minecraft.world.entity.ai.goal.FloatGoal
Direct Known Subclasses:
Fox.FoxFloatGoal

public class FloatGoal extends Goal
  • Field Details

    • mob

      private final Mob mob
  • Constructor Details

    • FloatGoal

      public FloatGoal(Mob p_25230_)
  • Method Details

    • canUse

      public boolean canUse()
      Specified by:
      canUse in class Goal
    • requiresUpdateEveryTick

      public boolean requiresUpdateEveryTick()
      Overrides:
      requiresUpdateEveryTick in class Goal
    • tick

      public void tick()
      Overrides:
      tick in class Goal