public class AdmireItemTask<E extends PiglinEntity> extends Task<E>
Task.Status
Modifier and Type | Field and Description |
---|---|
private int |
duration |
requiredMemoryStates
Constructor and Description |
---|
AdmireItemTask(int duration) |
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>