public class WalkTowardJobSiteTask extends Task<VillagerEntity>
Task.Status| Modifier and Type | Field and Description |
|---|---|
(package private) float |
speed |
requiredMemoryStates| Constructor and Description |
|---|
WalkTowardJobSiteTask(float speed) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
finishRunning(ServerWorld serverWorld,
VillagerEntity villagerEntity,
long long2) |
protected void |
keepRunning(ServerWorld serverWorld,
VillagerEntity villagerEntity,
long long2) |
protected boolean |
shouldKeepRunning(ServerWorld serverWorld,
VillagerEntity villagerEntity,
long long2) |
protected boolean |
shouldRun(ServerWorld serverWorld,
VillagerEntity villagerEntity) |
getStatus, isTimeLimitExceeded, run, stop, tick, toString, tryStartingprotected boolean shouldRun(ServerWorld serverWorld, VillagerEntity villagerEntity)
shouldRun in class Task<VillagerEntity>protected boolean shouldKeepRunning(ServerWorld serverWorld, VillagerEntity villagerEntity, long long2)
shouldKeepRunning in class Task<VillagerEntity>protected void keepRunning(ServerWorld serverWorld, VillagerEntity villagerEntity, long long2)
keepRunning in class Task<VillagerEntity>protected void finishRunning(ServerWorld serverWorld, VillagerEntity villagerEntity, long long2)
finishRunning in class Task<VillagerEntity>