Package com.pixelmonmod.pixelmon.ai
Class AvoidEntitiesGoal<T extends net.minecraft.world.entity.LivingEntity>
java.lang.Object
net.minecraft.world.entity.ai.goal.Goal
net.minecraft.world.entity.ai.goal.AvoidEntityGoal<T>
com.pixelmonmod.pixelmon.ai.AvoidEntitiesGoal<T>
public class AvoidEntitiesGoal<T extends net.minecraft.world.entity.LivingEntity>
extends net.minecraft.world.entity.ai.goal.AvoidEntityGoal<T>
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.world.entity.ai.goal.Goal
net.minecraft.world.entity.ai.goal.Goal.Flag
-
Field Summary
Fields inherited from class net.minecraft.world.entity.ai.goal.AvoidEntityGoal
avoidClass, avoidPredicate, maxDist, mob, path, pathNav, predicateOnAvoidEntity, toAvoid
-
Constructor Summary
ConstructorDescriptionAvoidEntitiesGoal
(net.minecraft.world.entity.PathfinderMob p_i46404_1_, Class<T> p_i46404_2_, float p_i46404_3_, double p_i46404_4_, double p_i46404_6_) AvoidEntitiesGoal
(net.minecraft.world.entity.PathfinderMob p_i48860_1_, Class<T> p_i48860_2_, float p_i48860_3_, double p_i48860_4_, double p_i48860_6_, Predicate<net.minecraft.world.entity.LivingEntity> p_i48860_8_) AvoidEntitiesGoal
(net.minecraft.world.entity.PathfinderMob p_i48859_1_, Class<T> p_i48859_2_, Predicate<net.minecraft.world.entity.LivingEntity> p_i48859_3_, float p_i48859_4_, double p_i48859_5_, double p_i48859_7_, Predicate<net.minecraft.world.entity.LivingEntity> p_i48859_9_) -
Method Summary
Methods inherited from class net.minecraft.world.entity.ai.goal.AvoidEntityGoal
start, stop, tick
Methods inherited from class net.minecraft.world.entity.ai.goal.Goal
adjustedTickDelay, getFlags, isInterruptable, reducedTickDelay, requiresUpdateEveryTick, setFlags, toString
-
Constructor Details
-
AvoidEntitiesGoal
-
AvoidEntitiesGoal
-
AvoidEntitiesGoal
-
-
Method Details
-
canUse
public boolean canUse()- Overrides:
canUse
in classnet.minecraft.world.entity.ai.goal.AvoidEntityGoal<T extends net.minecraft.world.entity.LivingEntity>
-
canContinueToUse
public boolean canContinueToUse()- Overrides:
canContinueToUse
in classnet.minecraft.world.entity.ai.goal.AvoidEntityGoal<T extends net.minecraft.world.entity.LivingEntity>
-