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

java.lang.Object
io.github.addoncommunity.galactifun.api.aliens.behaviors.AlienBehavior<T>
All Implemented Interfaces:
com.destroystokyo.paper.entity.ai.Goal<T>
Direct Known Subclasses:
FleeGoal, LookGoal

public abstract class AlienBehavior<T extends org.bukkit.entity.Mob> extends Object implements com.destroystokyo.paper.entity.ai.Goal<T>
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected final org.bukkit.entity.Mob
     
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    protected
    AlienBehavior(Class<T> mobClass, org.bukkit.NamespacedKey key, org.bukkit.entity.Mob mob)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    com.destroystokyo.paper.entity.ai.GoalKey<T>
     
    abstract EnumSet<com.destroystokyo.paper.entity.ai.GoalType>
     

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface com.destroystokyo.paper.entity.ai.Goal

    shouldActivate, shouldStayActive, start, stop, tick
  • Field Details

    • mob

      protected final org.bukkit.entity.Mob mob
  • Constructor Details

    • AlienBehavior

      protected AlienBehavior(Class<T> mobClass, org.bukkit.NamespacedKey key, org.bukkit.entity.Mob mob)
  • Method Details

    • getKey

      @Nonnull 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

      @Nonnull public abstract 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>