public class FollowOwnerGoal extends Goal
Modifier and Type | Field and Description |
---|---|
private boolean |
field_226326_j_ |
private double |
followSpeed |
private float |
maxDist |
private float |
minDist |
private PathNavigator |
navigator |
private float |
oldWaterCost |
private LivingEntity |
owner |
private TameableEntity |
tameable |
private int |
timeToRecalcPath |
private IWorldReader |
world |
Constructor and Description |
---|
FollowOwnerGoal(TameableEntity p_i225711_1_,
double p_i225711_2_,
float p_i225711_4_,
float p_i225711_5_,
boolean p_i225711_6_) |
Modifier and Type | Method and Description |
---|---|
private int |
func_226327_a_(int p_226327_1_,
int p_226327_2_) |
private boolean |
func_226328_a_(int p_226328_1_,
int p_226328_2_,
int p_226328_3_) |
private boolean |
func_226329_a_(BlockPos p_226329_1_) |
private void |
func_226330_g_() |
void |
resetTask() |
boolean |
shouldContinueExecuting() |
boolean |
shouldExecute() |
void |
startExecuting() |
void |
tick() |
getMutexFlags, isPreemptible, setMutexFlags, toString
private final TameableEntity tameable
private LivingEntity owner
private final IWorldReader world
private final double followSpeed
private final PathNavigator navigator
private int timeToRecalcPath
private final float maxDist
private final float minDist
private float oldWaterCost
private final boolean field_226326_j_
public FollowOwnerGoal(TameableEntity p_i225711_1_, double p_i225711_2_, float p_i225711_4_, float p_i225711_5_, boolean p_i225711_6_)
public boolean shouldExecute()
shouldExecute
in class Goal
public boolean shouldContinueExecuting()
shouldContinueExecuting
in class Goal
public void startExecuting()
startExecuting
in class Goal
private void func_226330_g_()
private boolean func_226328_a_(int p_226328_1_, int p_226328_2_, int p_226328_3_)
private boolean func_226329_a_(BlockPos p_226329_1_)
private int func_226327_a_(int p_226327_1_, int p_226327_2_)