public class ForgetBellRingTask extends Task<LivingEntity>
Task.Status
Modifier and Type | Field and Description |
---|---|
private int |
distance |
private int |
hiddenTicks |
private int |
maxHiddenTicks |
requiredMemoryStates
Constructor and Description |
---|
ForgetBellRingTask(int maxHiddenSeconds,
int distance) |
Modifier and Type | Method and Description |
---|---|
protected void |
run(ServerWorld world,
LivingEntity entity,
long time) |
finishRunning, getStatus, isTimeLimitExceeded, keepRunning, shouldKeepRunning, shouldRun, stop, tick, toString, tryStarting
private final int distance
private final int maxHiddenTicks
private int hiddenTicks
protected void run(ServerWorld world, LivingEntity entity, long time)
run
in class Task<LivingEntity>