public class Path
extends java.lang.Object
Constructor and Description |
---|
Path(java.util.List<PathPoint> p_i51804_1_,
BlockPos p_i51804_2_,
boolean p_i51804_3_) |
Modifier and Type | Method and Description |
---|---|
java.util.List<PathPoint> |
func_215746_d() |
void |
func_215747_b(int p_215747_1_) |
float |
func_224769_l() |
BlockPos |
func_224770_k() |
boolean |
func_224771_h() |
PathPoint[] |
getClosedSet() |
int |
getCurrentPathIndex() |
int |
getCurrentPathLength() |
Vec3d |
getCurrentPos() |
PathPoint |
getFinalPathPoint() |
PathPoint[] |
getOpenSet() |
PathPoint |
getPathPointFromIndex(int index) |
Vec3d |
getPosition(Entity entityIn) |
Vec3d |
getVectorFromIndex(Entity entityIn,
int index) |
void |
incrementPathIndex() |
boolean |
isFinished() |
boolean |
isSamePath(Path pathentityIn) |
static Path |
read(PacketBuffer buf) |
void |
setCurrentPathIndex(int currentPathIndexIn) |
void |
setPoint(int index,
PathPoint point) |
java.lang.String |
toString() |
public void incrementPathIndex()
public boolean isFinished()
@Nullable public PathPoint getFinalPathPoint()
public PathPoint getPathPointFromIndex(int index)
public java.util.List<PathPoint> func_215746_d()
public void func_215747_b(int p_215747_1_)
public void setPoint(int index, PathPoint point)
public int getCurrentPathLength()
public int getCurrentPathIndex()
public void setCurrentPathIndex(int currentPathIndexIn)
public Vec3d getCurrentPos()
public boolean isSamePath(@Nullable Path pathentityIn)
public boolean func_224771_h()
public PathPoint[] getOpenSet()
public PathPoint[] getClosedSet()
public static Path read(PacketBuffer buf)
public java.lang.String toString()
toString
in class java.lang.Object
public BlockPos func_224770_k()
public float func_224769_l()