public class AvoidEntitiesGoal<T extends net.minecraft.entity.LivingEntity>
extends net.minecraft.entity.ai.goal.AvoidEntityGoal<T>
Constructor and Description |
---|
AvoidEntitiesGoal(net.minecraft.entity.CreatureEntity p_i46404_1_,
java.lang.Class<T> p_i46404_2_,
float p_i46404_3_,
double p_i46404_4_,
double p_i46404_6_) |
AvoidEntitiesGoal(net.minecraft.entity.CreatureEntity p_i48860_1_,
java.lang.Class<T> p_i48860_2_,
float p_i48860_3_,
double p_i48860_4_,
double p_i48860_6_,
java.util.function.Predicate<net.minecraft.entity.LivingEntity> p_i48860_8_) |
AvoidEntitiesGoal(net.minecraft.entity.CreatureEntity p_i48859_1_,
java.lang.Class<T> p_i48859_2_,
java.util.function.Predicate<net.minecraft.entity.LivingEntity> p_i48859_3_,
float p_i48859_4_,
double p_i48859_5_,
double p_i48859_7_,
java.util.function.Predicate<net.minecraft.entity.LivingEntity> p_i48859_9_) |
Modifier and Type | Method and Description |
---|---|
boolean |
canUse() |
canContinueToUse, start, stop, tick
public AvoidEntitiesGoal(net.minecraft.entity.CreatureEntity p_i46404_1_, java.lang.Class<T> p_i46404_2_, float p_i46404_3_, double p_i46404_4_, double p_i46404_6_)
public AvoidEntitiesGoal(net.minecraft.entity.CreatureEntity p_i48859_1_, java.lang.Class<T> p_i48859_2_, java.util.function.Predicate<net.minecraft.entity.LivingEntity> p_i48859_3_, float p_i48859_4_, double p_i48859_5_, double p_i48859_7_, java.util.function.Predicate<net.minecraft.entity.LivingEntity> p_i48859_9_)
public AvoidEntitiesGoal(net.minecraft.entity.CreatureEntity p_i48860_1_, java.lang.Class<T> p_i48860_2_, float p_i48860_3_, double p_i48860_4_, double p_i48860_6_, java.util.function.Predicate<net.minecraft.entity.LivingEntity> p_i48860_8_)
public boolean canUse()
canUse
in class net.minecraft.entity.ai.goal.AvoidEntityGoal<T extends net.minecraft.entity.LivingEntity>