public class BegGoal extends Goal
| Modifier and Type | Field and Description |
|---|---|
private EntityPredicate |
field_220688_f |
private float |
minPlayerDistance |
private PlayerEntity |
player |
private int |
timeoutCounter |
private WolfEntity |
wolf |
private World |
world |
| Constructor and Description |
|---|
BegGoal(WolfEntity wolf,
float minDistance) |
| Modifier and Type | Method and Description |
|---|---|
private boolean |
hasTemptationItemInHand(PlayerEntity player) |
void |
resetTask() |
boolean |
shouldContinueExecuting() |
boolean |
shouldExecute() |
void |
startExecuting() |
void |
tick() |
getMutexFlags, isPreemptible, setMutexFlags, toStringprivate final WolfEntity wolf
private PlayerEntity player
private final World world
private final float minPlayerDistance
private int timeoutCounter
private final EntityPredicate field_220688_f
public BegGoal(WolfEntity wolf, float minDistance)
public boolean shouldExecute()
shouldExecute in class Goalpublic boolean shouldContinueExecuting()
shouldContinueExecuting in class Goalpublic void startExecuting()
startExecuting in class Goalprivate boolean hasTemptationItemInHand(PlayerEntity player)