public class EntityPathNavigateDrone extends net.minecraft.pathfinding.FlyingPathNavigator implements IPathNavigator
| Constructor and Description |
|---|
EntityPathNavigateDrone(EntityDrone droneEntity,
net.minecraft.world.World world) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canMoveDirectly(net.minecraft.util.math.vector.Vector3d p_75493_1_,
net.minecraft.util.math.vector.Vector3d p_75493_2_,
int p_75493_3_,
int p_75493_4_,
int p_75493_5_) |
protected boolean |
canUpdatePath() |
net.minecraft.pathfinding.Path |
createPath(net.minecraft.util.math.BlockPos pos,
int p2) |
net.minecraft.pathfinding.Path |
createPath(net.minecraft.entity.Entity par1Entity,
int p2)
Returns the path to the given EntityLiving
|
protected net.minecraft.pathfinding.PathFinder |
createPathFinder(int r) |
protected net.minecraft.util.math.vector.Vector3d |
getTempMobPos() |
boolean |
hasNoPath() |
boolean |
isDone() |
boolean |
isGoingToTeleport() |
boolean |
moveTo(net.minecraft.entity.Entity p_75497_1_,
double p_75497_2_) |
boolean |
moveTo(net.minecraft.pathfinding.Path pathentityIn,
double speedIn)
Override to prevent MobEntity#updateEntityActionState() assigning a path with a higher speed.
|
boolean |
moveToEntity(net.minecraft.entity.Entity entity) |
boolean |
moveToXYZ(double x,
double y,
double z) |
void |
teleport() |
void |
tick() |
isStableDestination, setCanOpenDoors, setCanPassDoorscanFloat, createPath, createPath, createPath, createPath, doStuckDetection, followThePath, getNodeEvaluator, getPath, getTargetPos, hasDelayedRecomputation, isInLiquid, isInProgress, isStuck, moveTo, recomputePath, recomputePath, resetMaxVisitedNodesMultiplier, setCanFloat, setMaxVisitedNodesMultiplier, setSpeedModifier, stop, trimPathpublic EntityPathNavigateDrone(EntityDrone droneEntity, net.minecraft.world.World world)
public boolean moveTo(net.minecraft.entity.Entity p_75497_1_,
double p_75497_2_)
moveTo in class net.minecraft.pathfinding.PathNavigatorpublic net.minecraft.pathfinding.Path createPath(net.minecraft.entity.Entity par1Entity,
int p2)
createPath in class net.minecraft.pathfinding.FlyingPathNavigator@Nullable
public net.minecraft.pathfinding.Path createPath(net.minecraft.util.math.BlockPos pos,
int p2)
createPath in class net.minecraft.pathfinding.PathNavigatorpublic boolean isGoingToTeleport()
isGoingToTeleport in interface IPathNavigatorpublic boolean isDone()
isDone in class net.minecraft.pathfinding.PathNavigatorpublic void tick()
tick in class net.minecraft.pathfinding.FlyingPathNavigatorpublic void teleport()
public boolean moveToXYZ(double x,
double y,
double z)
moveToXYZ in interface IPathNavigatorpublic boolean moveToEntity(net.minecraft.entity.Entity entity)
moveToEntity in interface IPathNavigatorpublic boolean moveTo(net.minecraft.pathfinding.Path pathentityIn,
double speedIn)
moveTo in class net.minecraft.pathfinding.PathNavigatorpublic boolean hasNoPath()
hasNoPath in interface IPathNavigatorpublic boolean canMoveDirectly(net.minecraft.util.math.vector.Vector3d p_75493_1_,
net.minecraft.util.math.vector.Vector3d p_75493_2_,
int p_75493_3_,
int p_75493_4_,
int p_75493_5_)
canMoveDirectly in class net.minecraft.pathfinding.FlyingPathNavigatorprotected net.minecraft.pathfinding.PathFinder createPathFinder(int r)
createPathFinder in class net.minecraft.pathfinding.FlyingPathNavigatorprotected net.minecraft.util.math.vector.Vector3d getTempMobPos()
getTempMobPos in class net.minecraft.pathfinding.FlyingPathNavigatorprotected boolean canUpdatePath()
canUpdatePath in class net.minecraft.pathfinding.FlyingPathNavigator