Class SplineFloatGoal

java.lang.Object
net.minecraft.world.entity.ai.goal.Goal
tech.anonymoushacker1279.immersiveweapons.entity.ai.goal.SplineFloatGoal

public class SplineFloatGoal extends net.minecraft.world.entity.ai.goal.Goal
  • Nested Class Summary

    Nested classes/interfaces inherited from class net.minecraft.world.entity.ai.goal.Goal

    net.minecraft.world.entity.ai.goal.Goal.Flag
  • Constructor Summary

    Constructors
    Constructor
    Description
    SplineFloatGoal(net.minecraft.world.entity.Mob entity, SplineFloatGoalConfig config, Predicate<net.minecraft.world.entity.Mob> canUseCondition)
    Constructor with custom configuration.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
     
    void
     

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

    adjustedTickDelay, canContinueToUse, getFlags, getServerLevel, getServerLevel, isInterruptable, reducedTickDelay, requiresUpdateEveryTick, setFlags, start, stop, toString

    Methods inherited from class Object

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

    • SplineFloatGoal

      public SplineFloatGoal(net.minecraft.world.entity.Mob entity, SplineFloatGoalConfig config, Predicate<net.minecraft.world.entity.Mob> canUseCondition)
      Constructor with custom configuration.
      Parameters:
      entity - The mob to control.
      config - Configuration for pathfinding behavior.
      canUseCondition - Additional condition for when the goal can be used.
  • Method Details

    • canUse

      public boolean canUse()
      Specified by:
      canUse in class net.minecraft.world.entity.ai.goal.Goal
    • tick

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