Paper
Paper copied to clipboard
Add BlockPressChangeEvent
Adds Event to detect Presses and Releases of Buttons&Pressure Plates.
I know button press can be detected via InteractEvents, but my main motivation was the Release part, which does not have any event. So if you deem it to be too much, I can rework it into something like BlockReleasedEvent or BlockRevertedToDefaultEvent...
Not really commenting on the merits of this event, but you can check for the pressing and releasing of pressure plates and buttons using BlockRedstoneEvent
, can't you?
Not really commenting on the merits of this event, but you can check for the pressing and releasing of pressure plates and buttons using
BlockRedstoneEvent
, can't you?
Yes, you can... Again, the pressing Part is there for sole parity/symmetry of the event... also as opposed to BlockRedstoneEvent, which is called for dozens other cases, this is only for the presses...
Edit, too late, can't read. You are right I probably could check it via that event, but my stance on generality still stands...