类 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.PathfindPathTo(net.minecraft.entity.Entity entity, int distance) 查找路径net.minecraft.entity.ai.pathing.PathfindPathTo(net.minecraft.util.math.BlockPos target, int distance) 查找路径booleanstartMovingTo(net.minecraft.entity.Entity entity, double speed) 开始移动到voidtick()每 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
-
构造器详细资料
-
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
-