Class ItemClickEvent
java.lang.Object
dev.rono.igniscore.api.event.ItemClickEvent
- All Implemented Interfaces:
ItemEvent
Fired when a player uses a custom item.
actionToken() is the normalized YAML behavior token when configured,
or null when no behavior action applies to the interaction.
-
Constructor Summary
ConstructorsConstructorDescriptionItemClickEvent(IgnisPlayer player, ItemDefinition definition, IgnisItem item, IgnisInteraction interaction, IgnisBlock clickedBlock, String actionToken) -
Method Summary
-
Constructor Details
-
ItemClickEvent
public ItemClickEvent(IgnisPlayer player, ItemDefinition definition, IgnisItem item, IgnisInteraction interaction, IgnisBlock clickedBlock, String actionToken)
-
-
Method Details
-
player
-
definition
- Specified by:
definitionin interfaceItemEvent
-
item
-
interaction
-
clickedBlock
-
actionToken
-