Package net.minecraft.entity.ai.brain
Class WalkTarget
java.lang.Object
net.minecraft.entity.ai.brain.WalkTarget
public class WalkTarget extends Object
-
Field Summary
Fields Modifier and Type Field Description private intcompletionRangeprivate LookTargetlookTargetprivate floatspeed -
Constructor Summary
Constructors Constructor Description WalkTarget(LookTarget lookTarget, float speed, int completionRange)WalkTarget(BlockPos pos, float speed, int completionRange)WalkTarget(Vec3d pos, float speed, int completionRange) -
Method Summary
Modifier and Type Method Description intgetCompletionRange()LookTargetgetLookTarget()floatgetSpeed()
-
Field Details
-
lookTarget
-
speed
private final float speed -
completionRange
private final int completionRange
-
-
Constructor Details
-
WalkTarget
-
WalkTarget
-
WalkTarget
-
-
Method Details
-
getLookTarget
-
getSpeed
public float getSpeed() -
getCompletionRange
public int getCompletionRange()
-