public class ProxyPathNavigator
extends net.minecraft.pathfinding.PathNavigator
Constructor and Description |
---|
ProxyPathNavigator(net.minecraft.entity.MobEntity entity,
net.minecraft.world.World world,
net.minecraft.pathfinding.PathNavigator proxiedNavigator) |
Modifier and Type | Method and Description |
---|---|
boolean |
canFloat() |
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_) |
boolean |
canUpdatePath() |
net.minecraft.pathfinding.Path |
createPath(net.minecraft.util.math.BlockPos p_179680_1_,
int p_179680_2_) |
net.minecraft.pathfinding.Path |
createPath(net.minecraft.entity.Entity p_75494_1_,
int p_75494_2_) |
net.minecraft.pathfinding.Path |
createPath(java.util.Set<net.minecraft.util.math.BlockPos> p_241390_1_,
int p_241390_2_) |
net.minecraft.pathfinding.Path |
createPath(java.util.Set<net.minecraft.util.math.BlockPos> p_225464_1_,
int p_225464_2_,
boolean p_225464_3_,
int p_225464_4_) |
net.minecraft.pathfinding.Path |
createPath(java.util.stream.Stream<net.minecraft.util.math.BlockPos> p_225463_1_,
int p_225463_2_) |
net.minecraft.pathfinding.PathFinder |
createPathFinder(int p_179679_1_) |
void |
doStuckDetection(net.minecraft.util.math.vector.Vector3d p_179677_1_) |
void |
followThePath() |
net.minecraft.pathfinding.NodeProcessor |
getNodeEvaluator() |
net.minecraft.pathfinding.Path |
getPath() |
net.minecraft.util.math.BlockPos |
getTargetPos() |
net.minecraft.util.math.vector.Vector3d |
getTempMobPos() |
boolean |
hasDelayedRecomputation() |
boolean |
isDone() |
boolean |
isInLiquid() |
boolean |
isInProgress() |
boolean |
isStableDestination(net.minecraft.util.math.BlockPos p_188555_1_) |
boolean |
isStuck() |
boolean |
moveTo(double p_75492_1_,
double p_75492_3_,
double p_75492_5_,
double p_75492_7_) |
boolean |
moveTo(net.minecraft.entity.Entity p_75497_1_,
double p_75497_2_) |
boolean |
moveTo(net.minecraft.pathfinding.Path p_75484_1_,
double p_75484_2_) |
void |
recomputePath() |
void |
recomputePath(net.minecraft.util.math.BlockPos p_220970_1_) |
void |
resetMaxVisitedNodesMultiplier() |
void |
setCanFloat(boolean p_212239_1_) |
void |
setMaxVisitedNodesMultiplier(float p_226335_1_) |
void |
setProxiedNavigator(net.minecraft.pathfinding.PathNavigator proxiedNavigator) |
void |
setSpeedModifier(double p_75489_1_) |
void |
stop() |
void |
tick() |
void |
trimPath() |
public ProxyPathNavigator(net.minecraft.entity.MobEntity entity, net.minecraft.world.World world, net.minecraft.pathfinding.PathNavigator proxiedNavigator)
public void setProxiedNavigator(net.minecraft.pathfinding.PathNavigator proxiedNavigator)
public net.minecraft.pathfinding.PathFinder createPathFinder(int p_179679_1_)
createPathFinder
in class net.minecraft.pathfinding.PathNavigator
public net.minecraft.util.math.vector.Vector3d getTempMobPos()
getTempMobPos
in class net.minecraft.pathfinding.PathNavigator
public boolean canUpdatePath()
canUpdatePath
in class net.minecraft.pathfinding.PathNavigator
public 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.PathNavigator
public void resetMaxVisitedNodesMultiplier()
resetMaxVisitedNodesMultiplier
in class net.minecraft.pathfinding.PathNavigator
public void setMaxVisitedNodesMultiplier(float p_226335_1_)
setMaxVisitedNodesMultiplier
in class net.minecraft.pathfinding.PathNavigator
public net.minecraft.util.math.BlockPos getTargetPos()
getTargetPos
in class net.minecraft.pathfinding.PathNavigator
public void setSpeedModifier(double p_75489_1_)
setSpeedModifier
in class net.minecraft.pathfinding.PathNavigator
public boolean hasDelayedRecomputation()
hasDelayedRecomputation
in class net.minecraft.pathfinding.PathNavigator
public void recomputePath()
recomputePath
in class net.minecraft.pathfinding.PathNavigator
@Nullable public net.minecraft.pathfinding.Path createPath(java.util.stream.Stream<net.minecraft.util.math.BlockPos> p_225463_1_, int p_225463_2_)
createPath
in class net.minecraft.pathfinding.PathNavigator
@Nullable public net.minecraft.pathfinding.Path createPath(java.util.Set<net.minecraft.util.math.BlockPos> p_241390_1_, int p_241390_2_)
createPath
in class net.minecraft.pathfinding.PathNavigator
@Nullable public net.minecraft.pathfinding.Path createPath(net.minecraft.util.math.BlockPos p_179680_1_, int p_179680_2_)
createPath
in class net.minecraft.pathfinding.PathNavigator
@Nullable public net.minecraft.pathfinding.Path createPath(net.minecraft.entity.Entity p_75494_1_, int p_75494_2_)
createPath
in class net.minecraft.pathfinding.PathNavigator
@Nullable public net.minecraft.pathfinding.Path createPath(java.util.Set<net.minecraft.util.math.BlockPos> p_225464_1_, int p_225464_2_, boolean p_225464_3_, int p_225464_4_)
createPath
in class net.minecraft.pathfinding.PathNavigator
public boolean moveTo(double p_75492_1_, double p_75492_3_, double p_75492_5_, double p_75492_7_)
moveTo
in class net.minecraft.pathfinding.PathNavigator
public boolean moveTo(net.minecraft.entity.Entity p_75497_1_, double p_75497_2_)
moveTo
in class net.minecraft.pathfinding.PathNavigator
public boolean moveTo(@Nullable net.minecraft.pathfinding.Path p_75484_1_, double p_75484_2_)
moveTo
in class net.minecraft.pathfinding.PathNavigator
@Nullable public net.minecraft.pathfinding.Path getPath()
getPath
in class net.minecraft.pathfinding.PathNavigator
public void tick()
tick
in class net.minecraft.pathfinding.PathNavigator
public void followThePath()
followThePath
in class net.minecraft.pathfinding.PathNavigator
public void doStuckDetection(net.minecraft.util.math.vector.Vector3d p_179677_1_)
doStuckDetection
in class net.minecraft.pathfinding.PathNavigator
public boolean isDone()
isDone
in class net.minecraft.pathfinding.PathNavigator
public boolean isInProgress()
isInProgress
in class net.minecraft.pathfinding.PathNavigator
public void stop()
stop
in class net.minecraft.pathfinding.PathNavigator
public boolean isInLiquid()
isInLiquid
in class net.minecraft.pathfinding.PathNavigator
public void trimPath()
trimPath
in class net.minecraft.pathfinding.PathNavigator
public boolean isStableDestination(net.minecraft.util.math.BlockPos p_188555_1_)
isStableDestination
in class net.minecraft.pathfinding.PathNavigator
public net.minecraft.pathfinding.NodeProcessor getNodeEvaluator()
getNodeEvaluator
in class net.minecraft.pathfinding.PathNavigator
public void setCanFloat(boolean p_212239_1_)
setCanFloat
in class net.minecraft.pathfinding.PathNavigator
public boolean canFloat()
canFloat
in class net.minecraft.pathfinding.PathNavigator
public void recomputePath(net.minecraft.util.math.BlockPos p_220970_1_)
recomputePath
in class net.minecraft.pathfinding.PathNavigator
public boolean isStuck()
isStuck
in class net.minecraft.pathfinding.PathNavigator