public class AdmireItemTimeLimitTask<E extends PiglinEntity> extends Task<E>
Task.Status| Modifier and Type | Field and Description |
|---|---|
private int |
cooldown |
private int |
timeLimit |
requiredMemoryStates| Constructor and Description |
|---|
AdmireItemTimeLimitTask(int timeLimit,
int cooldown) |
| 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, tryStartingpublic AdmireItemTimeLimitTask(int timeLimit,
int cooldown)
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>