public class SwimmerPathNavigator extends PathNavigator
currentPath, entity, lastPosCheck, lastTimeoutCheck, lastTimeUpdated, maxDistanceToWaypoint, nodeProcessor, speed, ticksAtLastPos, timeoutCachedNode, timeoutLimit, timeoutTimer, totalTicks, tryUpdatePath, world
コンストラクタと説明 |
---|
SwimmerPathNavigator(MobEntity entitylivingIn,
World worldIn) |
修飾子とタイプ | メソッドと説明 |
---|---|
boolean |
canEntityStandOnPos(BlockPos pos) |
protected boolean |
canNavigate()
If on ground or swimming and can swim
|
protected void |
checkForStuck(Vec3d positionVec3)
Checks if entity haven't been moved when last checked and if so, clears current
net.minecraft.pathfinding.PathEntity |
protected Vec3d |
getEntityPosition() |
protected PathFinder |
getPathFinder(int p_179679_1_) |
protected boolean |
isDirectPathBetweenPoints(Vec3d posVec31,
Vec3d posVec32,
int sizeX,
int sizeY,
int sizeZ)
Checks if the specified entity can safely walk to the specified location.
|
protected void |
pathFollow() |
void |
setCanSwim(boolean canSwim) |
void |
tick() |
canUpdatePathOnTimeout, clearPath, func_220970_c, func_225463_a, func_225464_a, func_226335_a_, func_226336_g_, func_226337_n_, getCanSwim, getNodeProcessor, getPath, getPathToEntity, getPathToPos, getPathToPos, getTargetPos, isInLiquid, noPath, setPath, setSpeed, trimPath, tryMoveToEntityLiving, tryMoveToXYZ, updatePath
protected PathFinder getPathFinder(int p_179679_1_)
getPathFinder
クラス内 PathNavigator
protected boolean canNavigate()
canNavigate
クラス内 PathNavigator
protected Vec3d getEntityPosition()
getEntityPosition
クラス内 PathNavigator
public void tick()
tick
クラス内 PathNavigator
protected void pathFollow()
pathFollow
クラス内 PathNavigator
protected void checkForStuck(Vec3d positionVec3)
net.minecraft.pathfinding.PathEntity
checkForStuck
クラス内 PathNavigator
protected boolean isDirectPathBetweenPoints(Vec3d posVec31, Vec3d posVec32, int sizeX, int sizeY, int sizeZ)
isDirectPathBetweenPoints
クラス内 PathNavigator
public boolean canEntityStandOnPos(BlockPos pos)
canEntityStandOnPos
クラス内 PathNavigator
public void setCanSwim(boolean canSwim)
setCanSwim
クラス内 PathNavigator