Class PlayerDialogActionEvent
java.lang.Object
fr.fidorial.event.player.PlayerDialogActionEvent
- All Implemented Interfaces:
Event, PlayerEvent
Fired when a player presses a dialog button carrying a
custom or
dynamic custom action.- Since:
- 0.1.0
- Since Minecraft:
- 1.21.6
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
PlayerDialogActionEvent
- Parameters:
player- the player who pressed the buttonid- the identifier declared on the actionresponse- the values submitted alongside it- Since:
- 0.1.0
-
-
Method Details
-
player
- Specified by:
playerin interfacePlayerEvent
-
id
Returns the identifier the action was declared with.- Returns:
- the identifier the action was declared with
- Since:
- 0.1.0
-
response
Returns the input values the player submitted, empty for a static custom action.- Returns:
- the input values the player submitted, empty for a static custom action
- Since:
- 0.1.0
-