public class WantNewItemTask<E extends PiglinEntity> extends Task<E>
Task.Status
Modifier and Type | Field and Description |
---|---|
private int |
range |
requiredMemoryStates
Constructor and Description |
---|
WantNewItemTask(int range) |
Modifier and Type | Method and Description |
---|---|
protected void |
run(ServerWorld serverWorld,
E e,
long long2) |
protected boolean |
shouldRun(ServerWorld serverWorld,
E e) |
finishRunning, getStatus, isTimeLimitExceeded, keepRunning, shouldKeepRunning, stop, tick, toString, tryStarting
protected boolean shouldRun(ServerWorld serverWorld, E e)
shouldRun
in class Task<E extends PiglinEntity>
protected void run(ServerWorld serverWorld, E e, long long2)
run
in class Task<E extends PiglinEntity>