Class TargetNearestGoalInFieldOfView

java.lang.Object
net.minecraft.world.entity.ai.goal.Goal
com.pixelmonmod.pixelmon.ai.TargetGoal
com.pixelmonmod.pixelmon.ai.TargetNearestGoal
com.pixelmonmod.pixelmon.ai.TargetNearestGoalInFieldOfView

public class TargetNearestGoalInFieldOfView extends TargetNearestGoal
  • 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 com.pixelmonmod.pixelmon.ai.TargetGoal

    shouldCheckSight, targetDistance, taskOwner
  • Constructor Summary

    Constructors
    Constructor
    Description
    TargetNearestGoalInFieldOfView(net.minecraft.world.entity.Mob entity, float targetRange, boolean shouldCheckSight)
     
    TargetNearestGoalInFieldOfView(net.minecraft.world.entity.Mob entity, float targetRange, boolean shouldCheckSight, boolean mustReach)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Returns whether the EntityAIBase should begin execution.
    void
    setTargetDistance(float targetDistance)
     
    void
    Execute a one shot task or start executing a continuous task

    Methods inherited from class com.pixelmonmod.pixelmon.ai.TargetNearestGoal

    canContinueToUse, stop, tick

    Methods inherited from class com.pixelmonmod.pixelmon.ai.TargetGoal

    isSuitableTarget

    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

    • TargetNearestGoalInFieldOfView

      public TargetNearestGoalInFieldOfView(net.minecraft.world.entity.Mob entity, float targetRange, boolean shouldCheckSight)
    • TargetNearestGoalInFieldOfView

      public TargetNearestGoalInFieldOfView(net.minecraft.world.entity.Mob entity, float targetRange, boolean shouldCheckSight, boolean mustReach)
  • Method Details