Class CustomGoal<T extends org.bukkit.entity.Mob>

java.lang.Object
com.github.darksoulq.abyssallib.world.entity.goals.CustomGoal<T>
All Implemented Interfaces:
com.destroystokyo.paper.entity.ai.Goal<T>

public abstract class CustomGoal<T extends org.bukkit.entity.Mob> extends Object implements com.destroystokyo.paper.entity.ai.Goal<T>
  • Constructor Details

    • CustomGoal

      public CustomGoal(Class<T> mobClass, String keyName, EnumSet<com.destroystokyo.paper.entity.ai.GoalType> types)
  • Method Details

    • getKey

      public com.destroystokyo.paper.entity.ai.GoalKey<T> getKey()
      Specified by:
      getKey in interface com.destroystokyo.paper.entity.ai.Goal<T extends org.bukkit.entity.Mob>
    • getTypes

      public EnumSet<com.destroystokyo.paper.entity.ai.GoalType> getTypes()
      Specified by:
      getTypes in interface com.destroystokyo.paper.entity.ai.Goal<T extends org.bukkit.entity.Mob>
    • requiresUpdateEveryTick

      public boolean requiresUpdateEveryTick()
    • isInterruptable

      public boolean isInterruptable()