public class TradeTask extends Task<VillagerEntity>
Task.Status| Constructor and Description |
|---|
TradeTask(float p_i50359_1_) |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
isTimedOut(long gameTime) |
protected void |
resetTask(ServerWorld worldIn,
VillagerEntity entityIn,
long gameTimeIn) |
protected boolean |
shouldContinueExecuting(ServerWorld worldIn,
VillagerEntity entityIn,
long gameTimeIn) |
protected boolean |
shouldExecute(ServerWorld worldIn,
VillagerEntity owner) |
protected void |
startExecuting(ServerWorld worldIn,
VillagerEntity entityIn,
long gameTimeIn) |
protected void |
updateTask(ServerWorld worldIn,
VillagerEntity owner,
long gameTime) |
protected boolean shouldExecute(ServerWorld worldIn, VillagerEntity owner)
shouldExecute in class Task<VillagerEntity>protected boolean shouldContinueExecuting(ServerWorld worldIn, VillagerEntity entityIn, long gameTimeIn)
shouldContinueExecuting in class Task<VillagerEntity>protected void startExecuting(ServerWorld worldIn, VillagerEntity entityIn, long gameTimeIn)
startExecuting in class Task<VillagerEntity>protected void resetTask(ServerWorld worldIn, VillagerEntity entityIn, long gameTimeIn)
resetTask in class Task<VillagerEntity>protected void updateTask(ServerWorld worldIn, VillagerEntity owner, long gameTime)
updateTask in class Task<VillagerEntity>protected boolean isTimedOut(long gameTime)
isTimedOut in class Task<VillagerEntity>