Commit Graph

14 Commits

Author SHA1 Message Date
oglass 5c23713c03
Use PlayerInstanceEvent instead of PlayerEvent (#2102) 2024-04-24 16:27:42 +00:00
TheMode 16e4b61eb7 Fix unused imports 2021-07-29 00:02:43 +02:00
TheMode 2d8474282b Made Event an interface 2021-06-02 08:17:03 +02:00
TheMode 02fe4c65a2 Use traits for events 2021-06-02 07:09:15 +02:00
themode 5224eecdd1 Event unification (type-specific event, CancellableEvent is now an interface) 2020-12-16 03:21:59 +01:00
KrystilizeNevaDies 8a2e69f709 Change PlayerSpawnEvent too use player instead of entity 2020-12-14 12:52:51 +10:00
Felix Cravic ac8ba3ab10 Fixed ItemDropEvent and PickupItemEvent constructor + changed PlayerInit event registration to use the global event handler 2020-12-11 04:34:08 +01:00
themode f328a9cb2b Added a few constructors to specify the instance directly 2020-10-31 01:38:57 +01:00
themode 27e0b86cb5 Added annotations for all events 2020-10-24 16:33:13 +02:00
themode 3464d27ab1 Added entity in EntitySpawnEvent 2020-09-26 21:24:10 +02:00
Felix Cravic 4f788b9b8d Cleanup 2020-07-24 16:11:48 +02:00
Felix Cravic 1bcd0c474f Added event comments 2020-05-30 22:32:12 +02:00
jglrxavpok 8281f1c0fd Added isFirstSpawn() to PlayerSpawnEvent 2020-05-08 18:03:39 +02:00
jglrxavpok 9d9c158af0 Added event callbacks to Instance, and organized events into packages 2020-05-07 15:46:21 +02:00