Task.Status
Modifier and Type | Field and Description |
---|---|
private float |
chance |
requiredMemoryStates
Constructor and Description |
---|
StayAboveWaterTask(float minWaterHeight) |
Modifier and Type | Method and Description |
---|---|
protected void |
keepRunning(ServerWorld serverWorld,
MobEntity mobEntity,
long long2) |
protected boolean |
shouldKeepRunning(ServerWorld serverWorld,
MobEntity mobEntity,
long long2) |
protected boolean |
shouldRun(ServerWorld serverWorld,
MobEntity mobEntity) |
finishRunning, getStatus, isTimeLimitExceeded, run, stop, tick, toString, tryStarting
protected boolean shouldRun(ServerWorld serverWorld, MobEntity mobEntity)
protected boolean shouldKeepRunning(ServerWorld serverWorld, MobEntity mobEntity, long long2)
shouldKeepRunning
in class Task<MobEntity>
protected void keepRunning(ServerWorld serverWorld, MobEntity mobEntity, long long2)
keepRunning
in class Task<MobEntity>