Class WalkTarget
- java.lang.Object
-
- net.minecraft.entity.ai.brain.memory.WalkTarget
-
public class WalkTarget extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description private int
closeEnoughDist
private float
speedModifier
private IPosWrapper
target
-
Constructor Summary
Constructors Constructor Description WalkTarget(BlockPos p_i50302_1_, float p_i50302_2_, int p_i50302_3_)
WalkTarget(IPosWrapper p_i50304_1_, float p_i50304_2_, int p_i50304_3_)
WalkTarget(Vector3d p_i50303_1_, float p_i50303_2_, int p_i50303_3_)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getCloseEnoughDist()
float
getSpeedModifier()
IPosWrapper
getTarget()
-
-
-
Field Detail
-
target
private final IPosWrapper target
-
speedModifier
private final float speedModifier
-
closeEnoughDist
private final int closeEnoughDist
-
-
Constructor Detail
-
WalkTarget
public WalkTarget(BlockPos p_i50302_1_, float p_i50302_2_, int p_i50302_3_)
-
WalkTarget
public WalkTarget(Vector3d p_i50303_1_, float p_i50303_2_, int p_i50303_3_)
-
WalkTarget
public WalkTarget(IPosWrapper p_i50304_1_, float p_i50304_2_, int p_i50304_3_)
-
-
Method Detail
-
getTarget
public IPosWrapper getTarget()
-
getSpeedModifier
public float getSpeedModifier()
-
getCloseEnoughDist
public int getCloseEnoughDist()
-
-