类 OcelotAttackGoal

java.lang.Object
net.minecraft.world.entity.ai.goal.Goal
net.minecraft.world.entity.ai.goal.OcelotAttackGoal

public class OcelotAttackGoal extends Goal
  • 字段详细资料

    • mob

      private final Mob mob
    • target

      private LivingEntity target
    • attackTime

      private int attackTime
  • 构造器详细资料

    • OcelotAttackGoal

      public OcelotAttackGoal(Mob p_25658_)
  • 方法详细资料

    • canUse

      public boolean canUse()
      指定者:
      canUse 在类中 Goal
    • canContinueToUse

      public boolean canContinueToUse()
      覆盖:
      canContinueToUse 在类中 Goal
    • stop

      public void stop()
      覆盖:
      stop 在类中 Goal
    • requiresUpdateEveryTick

      public boolean requiresUpdateEveryTick()
      覆盖:
      requiresUpdateEveryTick 在类中 Goal
    • tick

      public void tick()
      覆盖:
      tick 在类中 Goal