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

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

public final class LookGoal<T extends org.bukkit.entity.Mob> extends AlienBehavior<T>
  • Constructor Details

    • LookGoal

      public LookGoal(@Nonnull Class<T> entityClass, @Nonnull T mob)
  • Method Details

    • shouldActivate

      public boolean shouldActivate()
    • start

      public void start()
    • stop

      public void stop()
    • tick

      public void tick()
    • getTypes

      @Nonnull 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>
      Specified by:
      getTypes in class AlienBehavior<T extends org.bukkit.entity.Mob>