类 WeavingWebSpiderNavigation

java.lang.Object
net.minecraft.entity.ai.pathing.EntityNavigation
net.minecraft.entity.ai.pathing.MobNavigation
pers.saikel0rado1iu.spontaneousreplace.cobwebbed.entity.ai.pathing.WeavingWebSpiderNavigation

public class WeavingWebSpiderNavigation extends net.minecraft.entity.ai.pathing.MobNavigation

织网蜘蛛寻路类

织网蜘蛛的寻路逻辑控制
从以下版本开始:
1.0.0
  • 字段概要

    从类继承的字段 net.minecraft.entity.ai.pathing.EntityNavigation

    currentNodeMs, currentNodeTimeout, currentPath, entity, inRecalculationCooldown, lastActiveTickMs, lastNodePosition, lastRecalculateTime, nodeMaker, nodeReachProximity, pathStartPos, pathStartTime, speed, tickCount, world
  • 构造器概要

    构造器
    构造器
    说明
    WeavingWebSpiderNavigation(net.minecraft.entity.mob.MobEntity mobEntity, net.minecraft.world.World world)
    构建寻路
  • 方法概要

    修饰符和类型
    方法
    说明
    net.minecraft.entity.ai.pathing.Path
    findPathTo(net.minecraft.entity.Entity entity, int distance)
    查找路径
    net.minecraft.entity.ai.pathing.Path
    findPathTo(net.minecraft.util.math.BlockPos target, int distance)
    查找路径
    boolean
    startMovingTo(net.minecraft.entity.Entity entity, double speed)
    开始移动到
    void
    每 Tick 进行判断

    从类继承的方法 net.minecraft.entity.ai.pathing.MobNavigation

    adjustPath, canEnterOpenDoors, canWalkOnPath, createPathNodeNavigator, getPos, isAtValidPosition, method_35140, setAvoidSunlight, setCanEnterOpenDoors, setCanPathThroughDoors, setCanWalkOverFences

    从类继承的方法 net.minecraft.entity.ai.pathing.EntityNavigation

    adjustTargetY, canJumpToNext, canPathDirectlyThrough, canSwim, checkTimeouts, continueFollowingPath, doesNotCollide, findPathTo, findPathTo, findPathTo, findPathTo, findPathToAny, findPathToAny, getCurrentPath, getNodeMaker, getNodeReachProximity, getTargetPos, isFollowingPath, isIdle, isNearPathStartPos, isValidPosition, recalculatePath, resetRangeMultiplier, setCanSwim, setRangeMultiplier, setSpeed, shouldRecalculatePath, startMovingAlong, startMovingTo, stop

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

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

    • WeavingWebSpiderNavigation

      public WeavingWebSpiderNavigation(net.minecraft.entity.mob.MobEntity mobEntity, net.minecraft.world.World world)
      构建寻路
  • 方法详细资料

    • findPathTo

      public net.minecraft.entity.ai.pathing.Path findPathTo(net.minecraft.util.math.BlockPos target, int distance)
      查找路径
      覆盖:
      findPathTo 在类中 net.minecraft.entity.ai.pathing.MobNavigation
    • findPathTo

      public net.minecraft.entity.ai.pathing.Path findPathTo(net.minecraft.entity.Entity entity, int distance)
      查找路径
      覆盖:
      findPathTo 在类中 net.minecraft.entity.ai.pathing.MobNavigation
    • startMovingTo

      public boolean startMovingTo(net.minecraft.entity.Entity entity, double speed)
      开始移动到
      覆盖:
      startMovingTo 在类中 net.minecraft.entity.ai.pathing.EntityNavigation
    • tick

      public void tick()
      每 Tick 进行判断
      覆盖:
      tick 在类中 net.minecraft.entity.ai.pathing.EntityNavigation