Beta Optional buttonsThe buttons the callback should be called for. If undefined, the callback will be called for all buttons.
Optional stateThe state the callback should be called for. If undefined, the callback will be called for all button states.
An interface that is passed into @minecraft/Server.PlayerButtonInputAfterEventSignal.subscribe that filters out which events are passed to the provided callback.