Interface Actionable

All Known Subinterfaces:
Interactable
All Known Implementing Classes:
Definition, EffectObject, Entity, InterfaceComponent, Item, ItemDefinition, Npc, NpcDefinition, ObjectDefinition, PathingEntity, Pickable, Player, Projectile, SceneObject, TransformableDefinition

public interface Actionable
  • Method Details

    • getRawActions

      String[] getRawActions()
    • getActions

      List<String> getActions()
    • containsAction

      default boolean containsAction(Predicate<String> predicate)
      Parameters:
      predicate - The predicate used to test the actions
      Returns:
      true if any of the actions satisfy the predicate
    • containsAction

      default boolean containsAction(String action)
      Parameters:
      action - The action to check for
      Returns:
      true if this Actionable contains the specified action