public class CreateBabyVillagerTask extends Task<VillagerEntity>
Task.Status
Modifier and Type | Field and Description |
---|---|
private long |
field_220483_a |
Constructor and Description |
---|
CreateBabyVillagerTask() |
Modifier and Type | Method and Description |
---|---|
private void |
func_220477_a(ServerWorld p_220477_1_,
VillagerEntity p_220477_2_,
BlockPos p_220477_3_) |
private boolean |
func_220478_b(VillagerEntity p_220478_1_) |
private java.util.Optional<BlockPos> |
func_220479_b(ServerWorld p_220479_1_,
VillagerEntity p_220479_2_) |
private java.util.Optional<VillagerEntity> |
func_220480_a(VillagerEntity p_220480_1_,
VillagerEntity p_220480_2_) |
private boolean |
func_223520_a(VillagerEntity p_223520_1_,
BlockPos p_223520_2_) |
private void |
func_223521_a(ServerWorld p_223521_1_,
VillagerEntity p_223521_2_,
VillagerEntity p_223521_3_) |
private VillagerEntity |
getBreedTarget(VillagerEntity p_220482_1_) |
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 updateTask(ServerWorld worldIn, VillagerEntity owner, long gameTime)
updateTask
in class Task<VillagerEntity>
private void func_223521_a(ServerWorld p_223521_1_, VillagerEntity p_223521_2_, VillagerEntity p_223521_3_)
protected void resetTask(ServerWorld worldIn, VillagerEntity entityIn, long gameTimeIn)
resetTask
in class Task<VillagerEntity>
private VillagerEntity getBreedTarget(VillagerEntity p_220482_1_)
private boolean func_220478_b(VillagerEntity p_220478_1_)
private java.util.Optional<BlockPos> func_220479_b(ServerWorld p_220479_1_, VillagerEntity p_220479_2_)
private boolean func_223520_a(VillagerEntity p_223520_1_, BlockPos p_223520_2_)
private java.util.Optional<VillagerEntity> func_220480_a(VillagerEntity p_220480_1_, VillagerEntity p_220480_2_)
private void func_220477_a(ServerWorld p_220477_1_, VillagerEntity p_220477_2_, BlockPos p_220477_3_)