public class StartRidingTask<E extends LivingEntity> extends Task<E>
Task.Status
Modifier and Type | Field and Description |
---|---|
private float |
field_23132 |
requiredMemoryStates
Constructor and Description |
---|
StartRidingTask(float float2) |
Modifier and Type | Method and Description |
---|---|
private Entity |
getRideTarget(E entity) |
private boolean |
isRideTargetClose(E entity) |
protected void |
run(ServerWorld world,
E entity,
long time) |
protected boolean |
shouldRun(ServerWorld world,
E entity) |
finishRunning, getStatus, isTimeLimitExceeded, keepRunning, shouldKeepRunning, stop, tick, toString, tryStarting
protected boolean shouldRun(ServerWorld world, E entity)
shouldRun
in class Task<E extends LivingEntity>
protected void run(ServerWorld world, E entity, long time)
run
in class Task<E extends LivingEntity>
private boolean isRideTargetClose(E entity)