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

    Constructors
    Constructor
    Description
    AvoidEntitiesGoal(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

    Modifier and Type
    Method
    Description
    boolean
     
    boolean
     

    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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • AvoidEntitiesGoal

      public AvoidEntitiesGoal(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

      public 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_)
    • AvoidEntitiesGoal

      public 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_)
  • Method Details

    • canUse

      public boolean canUse()
      Overrides:
      canUse in class net.minecraft.world.entity.ai.goal.AvoidEntityGoal<T extends net.minecraft.world.entity.LivingEntity>
    • canContinueToUse

      public boolean canContinueToUse()
      Overrides:
      canContinueToUse in class net.minecraft.world.entity.ai.goal.AvoidEntityGoal<T extends net.minecraft.world.entity.LivingEntity>