Interface Interactable
- All Superinterfaces:
Actionable
- All Known Implementing Classes:
EffectObject, Entity, InterfaceComponent, Item, Npc, PathingEntity, Pickable, Player, Projectile, SceneObject
-
Nested Class Summary
Nested classes/interfaces inherited from interface Actionable
Actionable.Query<Q> -
Method Summary
Modifier and TypeMethodDescriptiondefault MenuActiondefault booleandefault booleanIterates through @actions and returns true if the interaction was successfuldefault booleanMethods inherited from interface Actionable
containsAction, containsAction, getActions, getRawActions, getSubMenuActions
-
Method Details
-
interact
Iterates through @actions and returns true if the interaction was successful- Parameters:
actions- The actions to check- Returns:
trueif the interaction was successful
-
interact
- Parameters:
action- The action to interact with- Returns:
trueif the interaction was successful
-
interact
-
actionOf
-
actionOf
-