public class GoalGetToBlock extends java.lang.Object implements Goal, IGoalRenderPos
Constructor and Description |
---|
GoalGetToBlock(net.minecraft.util.math.BlockPos pos) |
Modifier and Type | Method and Description |
---|---|
net.minecraft.util.math.BlockPos |
getGoalPos() |
double |
heuristic(int x,
int y,
int z)
Estimate the number of ticks it will take to get to the goal
|
boolean |
isInGoal(int x,
int y,
int z)
Returns whether or not the specified position
meets the requirement for this goal based.
|
java.lang.String |
toString() |
public GoalGetToBlock(net.minecraft.util.math.BlockPos pos)
public net.minecraft.util.math.BlockPos getGoalPos()
getGoalPos
in interface IGoalRenderPos
public boolean isInGoal(int x, int y, int z)
Goal
public double heuristic(int x, int y, int z)
Goal
public java.lang.String toString()
toString
in class java.lang.Object