类 SprayPoisonSpiderEntity.EscapeGoal

java.lang.Object
net.minecraft.entity.ai.goal.Goal
net.minecraft.entity.ai.goal.EscapeDangerGoal
pers.saikel0rado1iu.spontaneousreplace.cobwebbed.entity.mob.SprayPoisonSpiderEntity.EscapeGoal
封闭类:
SprayPoisonSpiderEntity

protected static class SprayPoisonSpiderEntity.EscapeGoal extends net.minecraft.entity.ai.goal.EscapeDangerGoal

逃离目标

如果实体被激怒,实体与目标距离小于远程范围时逃离,而实体与目标距离大于远程范围则停止逃离
  • 嵌套类概要

    从类继承的嵌套类/接口 net.minecraft.entity.ai.goal.Goal

    net.minecraft.entity.ai.goal.Goal.Control
  • 字段概要

    从类继承的字段 net.minecraft.entity.ai.goal.EscapeDangerGoal

    active, mob, RANGE_Y, speed, targetX, targetY, targetZ
  • 构造器概要

    构造器
    构造器
    说明
    EscapeGoal(net.minecraft.entity.mob.PathAwareEntity mob, double speed)
     
  • 方法概要

    修饰符和类型
    方法
    说明
    protected boolean
     

    从类继承的方法 net.minecraft.entity.ai.goal.EscapeDangerGoal

    canStart, findTarget, isActive, locateClosestWater, shouldContinue, start, stop

    从类继承的方法 net.minecraft.entity.ai.goal.Goal

    canStop, getControls, getTickCount, setControls, shouldRunEveryTick, tick, toGoalTicks, toString

    从类继承的方法 java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • 构造器详细资料

    • EscapeGoal

      public EscapeGoal(net.minecraft.entity.mob.PathAwareEntity mob, double speed)
  • 方法详细资料

    • isInDanger

      protected boolean isInDanger()
      覆盖:
      isInDanger 在类中 net.minecraft.entity.ai.goal.EscapeDangerGoal