public class ExpirePOITask extends Task<LivingEntity>
Task.Status| Modifier and Type | Field and Description |
|---|---|
private MemoryModuleType<GlobalPos> |
field_220591_a |
private java.util.function.Predicate<PointOfInterestType> |
field_220592_b |
| Constructor and Description |
|---|
ExpirePOITask(PointOfInterestType p_i50338_1_,
MemoryModuleType<GlobalPos> p_i50338_2_) |
| Modifier and Type | Method and Description |
|---|---|
private boolean |
func_223019_a(ServerWorld p_223019_1_,
BlockPos p_223019_2_,
LivingEntity p_223019_3_) |
private boolean |
func_223020_a(ServerWorld p_223020_1_,
BlockPos p_223020_2_) |
protected boolean |
shouldExecute(ServerWorld worldIn,
LivingEntity owner) |
protected void |
startExecuting(ServerWorld worldIn,
LivingEntity entityIn,
long gameTimeIn) |
getStatus, isTimedOut, resetTask, shouldContinueExecuting, start, stop, tick, toString, updateTaskprivate final MemoryModuleType<GlobalPos> field_220591_a
private final java.util.function.Predicate<PointOfInterestType> field_220592_b
public ExpirePOITask(PointOfInterestType p_i50338_1_, MemoryModuleType<GlobalPos> p_i50338_2_)
protected boolean shouldExecute(ServerWorld worldIn, LivingEntity owner)
shouldExecute in class Task<LivingEntity>protected void startExecuting(ServerWorld worldIn, LivingEntity entityIn, long gameTimeIn)
startExecuting in class Task<LivingEntity>private boolean func_223019_a(ServerWorld p_223019_1_, BlockPos p_223019_2_, LivingEntity p_223019_3_)
private boolean func_223020_a(ServerWorld p_223020_1_, BlockPos p_223020_2_)