@minecraft/server / PlayerButtonInputAfterEvent
Class: PlayerButtonInputAfterEvent ​
Defined in: @minecraft/server/index.d.ts:17090
Event data for when a player presses a button.
Properties ​
button ​
readonlybutton:InputButton
Defined in: @minecraft/server/index.d.ts:17097
Remarks ​
The button this event is about.
newButtonState ​
readonlynewButtonState:ButtonState
Defined in: @minecraft/server/index.d.ts:17103
Remarks ​
The state that this button transferred to.
player ​
readonlyplayer:Player
Defined in: @minecraft/server/index.d.ts:17109
Remarks ​
The player that performed the input event.