public class FindInteractionAndLookTargetTask extends Task<LivingEntity>
Task.Status
Modifier and Type | Field and Description |
---|---|
private EntityType<?> |
field_220533_a |
private int |
field_220534_b |
private java.util.function.Predicate<LivingEntity> |
field_220535_c |
private java.util.function.Predicate<LivingEntity> |
field_220536_d |
Constructor and Description |
---|
FindInteractionAndLookTargetTask(EntityType<?> p_i50348_1_,
int p_i50348_2_) |
FindInteractionAndLookTargetTask(EntityType<?> p_i50347_1_,
int p_i50347_2_,
java.util.function.Predicate<LivingEntity> p_i50347_3_,
java.util.function.Predicate<LivingEntity> p_i50347_4_) |
Modifier and Type | Method and Description |
---|---|
private java.util.List<LivingEntity> |
func_220530_b(LivingEntity p_220530_1_) |
private boolean |
func_220532_a(LivingEntity p_220532_1_) |
boolean |
shouldExecute(ServerWorld worldIn,
LivingEntity owner) |
void |
startExecuting(ServerWorld worldIn,
LivingEntity entityIn,
long gameTimeIn) |
getStatus, isTimedOut, resetTask, shouldContinueExecuting, start, stop, tick, toString, updateTask
private final EntityType<?> field_220533_a
private final int field_220534_b
private final java.util.function.Predicate<LivingEntity> field_220535_c
private final java.util.function.Predicate<LivingEntity> field_220536_d
public FindInteractionAndLookTargetTask(EntityType<?> p_i50347_1_, int p_i50347_2_, java.util.function.Predicate<LivingEntity> p_i50347_3_, java.util.function.Predicate<LivingEntity> p_i50347_4_)
public FindInteractionAndLookTargetTask(EntityType<?> p_i50348_1_, int p_i50348_2_)
public boolean shouldExecute(ServerWorld worldIn, LivingEntity owner)
shouldExecute
in class Task<LivingEntity>
public void startExecuting(ServerWorld worldIn, LivingEntity entityIn, long gameTimeIn)
startExecuting
in class Task<LivingEntity>
private boolean func_220532_a(LivingEntity p_220532_1_)
private java.util.List<LivingEntity> func_220530_b(LivingEntity p_220530_1_)