Class BleakExcitedAtBrightGoal

java.lang.Object
net.minecraft.world.entity.ai.goal.Goal
net.minecraft.world.entity.ai.goal.MoveToBlockGoal
com.blamejared.the_breach.world.entity.ai.goal.BleakExcitedAtBrightGoal

public class BleakExcitedAtBrightGoal extends net.minecraft.world.entity.ai.goal.MoveToBlockGoal
  • 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.MoveToBlockGoal

    blockPos, mob, nextStartTick, speedModifier, tryTicks, verticalSearchStart
  • Constructor Summary

    Constructors
    Constructor
    Description
    BleakExcitedAtBrightGoal(Bleak bleak, double speedModifier)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    double
     
    protected net.minecraft.core.BlockPos
     
    protected boolean
    isValidTarget(net.minecraft.world.level.LevelReader level, net.minecraft.core.BlockPos pos)
     
    protected int
    nextStartTick(net.minecraft.world.entity.PathfinderMob mob)
     
    void
     
    void
     
    void
     

    Methods inherited from class net.minecraft.world.entity.ai.goal.MoveToBlockGoal

    canContinueToUse, canUse, findNearestBlock, isReachedTarget, moveMobToBlock, requiresUpdateEveryTick, shouldRecalculatePath

    Methods inherited from class net.minecraft.world.entity.ai.goal.Goal

    adjustedTickDelay, getFlags, getServerLevel, getServerLevel, isInterruptable, reducedTickDelay, setFlags, toString

    Methods inherited from class Object

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

    • BleakExcitedAtBrightGoal

      public BleakExcitedAtBrightGoal(Bleak bleak, double speedModifier)
  • Method Details

    • start

      public void start()
      Overrides:
      start in class net.minecraft.world.entity.ai.goal.MoveToBlockGoal
    • stop

      public void stop()
      Overrides:
      stop in class net.minecraft.world.entity.ai.goal.Goal
    • tick

      public void tick()
      Overrides:
      tick in class net.minecraft.world.entity.ai.goal.MoveToBlockGoal
    • getMoveToTarget

      protected net.minecraft.core.BlockPos getMoveToTarget()
      Overrides:
      getMoveToTarget in class net.minecraft.world.entity.ai.goal.MoveToBlockGoal
    • acceptedDistance

      public double acceptedDistance()
      Overrides:
      acceptedDistance in class net.minecraft.world.entity.ai.goal.MoveToBlockGoal
    • nextStartTick

      protected int nextStartTick(net.minecraft.world.entity.PathfinderMob mob)
      Overrides:
      nextStartTick in class net.minecraft.world.entity.ai.goal.MoveToBlockGoal
    • isValidTarget

      protected boolean isValidTarget(net.minecraft.world.level.LevelReader level, net.minecraft.core.BlockPos pos)
      Specified by:
      isValidTarget in class net.minecraft.world.entity.ai.goal.MoveToBlockGoal