Task.Status
Modifier and Type | Field and Description |
---|---|
private BlockPos |
bedPos |
private float |
field_220470_a |
private int |
field_220472_c |
private int |
field_220473_d |
private int |
field_220474_e |
Constructor and Description |
---|
JumpOnBedTask(float p_i50362_1_) |
Modifier and Type | Method and Description |
---|---|
private boolean |
func_220462_f(ServerWorld p_220462_1_,
MobEntity p_220462_2_) |
private boolean |
func_220464_e(ServerWorld p_220464_1_,
MobEntity p_220464_2_) |
private boolean |
func_220465_d(ServerWorld p_220465_1_,
MobEntity p_220465_2_) |
private boolean |
func_220466_a(ServerWorld p_220466_1_,
BlockPos p_220466_2_) |
private void |
func_220467_a(MobEntity p_220467_1_,
BlockPos p_220467_2_) |
private boolean |
func_220468_c(ServerWorld p_220468_1_,
MobEntity p_220468_2_) |
private boolean |
func_220469_b(ServerWorld p_220469_1_,
MobEntity p_220469_2_) |
private java.util.Optional<BlockPos> |
getBed(MobEntity p_220463_1_) |
protected boolean |
isTimedOut(long gameTime) |
protected void |
resetTask(ServerWorld worldIn,
MobEntity entityIn,
long gameTimeIn) |
protected boolean |
shouldContinueExecuting(ServerWorld worldIn,
MobEntity entityIn,
long gameTimeIn) |
protected boolean |
shouldExecute(ServerWorld worldIn,
MobEntity owner) |
protected void |
startExecuting(ServerWorld worldIn,
MobEntity entityIn,
long gameTimeIn) |
protected void |
updateTask(ServerWorld worldIn,
MobEntity owner,
long gameTime) |
private final float field_220470_a
@Nullable private BlockPos bedPos
private int field_220472_c
private int field_220473_d
private int field_220474_e
protected boolean shouldExecute(ServerWorld worldIn, MobEntity owner)
shouldExecute
in class Task<MobEntity>
protected void startExecuting(ServerWorld worldIn, MobEntity entityIn, long gameTimeIn)
startExecuting
in class Task<MobEntity>
protected void resetTask(ServerWorld worldIn, MobEntity entityIn, long gameTimeIn)
protected boolean shouldContinueExecuting(ServerWorld worldIn, MobEntity entityIn, long gameTimeIn)
shouldContinueExecuting
in class Task<MobEntity>
protected boolean isTimedOut(long gameTime)
isTimedOut
in class Task<MobEntity>
protected void updateTask(ServerWorld worldIn, MobEntity owner, long gameTime)
updateTask
in class Task<MobEntity>
private boolean func_220469_b(ServerWorld p_220469_1_, MobEntity p_220469_2_)
private boolean func_220468_c(ServerWorld p_220468_1_, MobEntity p_220468_2_)
private boolean func_220465_d(ServerWorld p_220465_1_, MobEntity p_220465_2_)
private boolean func_220466_a(ServerWorld p_220466_1_, BlockPos p_220466_2_)
private boolean func_220464_e(ServerWorld p_220464_1_, MobEntity p_220464_2_)
private boolean func_220462_f(ServerWorld p_220462_1_, MobEntity p_220462_2_)