Commit Graph

36 Commits

Author SHA1 Message Date
9ba56d55ee Moved more similar code to utility method. 2025-05-26 19:15:38 +01:00
40f2a491b1 Unified cache implementation. Using references in events. 2025-05-26 18:58:20 +01:00
e4c444c6f8 Using config option for saving to cache. 2025-05-26 18:56:43 +01:00
2bd31412ef Marked methods for CLIENT dist only. 2025-05-25 01:48:50 +01:00
be1c5588c3 Improved cache config option description. Disabled cache by default. 2025-05-25 01:13:26 +01:00
93403d17a5 Added extra debugging info. 2025-05-25 01:07:20 +01:00
308c74ef0d Split some common code from event handlers into new class OperationUtils. 2025-05-25 00:47:42 +01:00
f938b99056 Implemented logic for entity killing. 2025-05-25 00:24:13 +01:00
ddcd52ae30 Fixed comment. 2025-05-25 00:23:44 +01:00
1d57d19f5a Added entity kill operation cache. 2025-05-25 00:13:13 +01:00
9b2e8287eb Updated config comment to mention tags. 2025-05-25 00:10:14 +01:00
539d18243d Added config options for operations. 2025-05-24 23:51:25 +01:00
fdf92b7616 Created event handler. 2025-05-24 23:34:52 +01:00
7d044fb8bd Moved operation classes into new package. 2025-05-24 22:53:39 +01:00
5c9a62f035 Added config for extra debugging. 2025-05-24 22:47:44 +01:00
09c25d0d15 Added config option for using the cache. 2025-05-24 22:44:07 +01:00
23e6dc34bf Implemented cache for fetching operations. 2025-05-24 22:13:40 +01:00
618e90676e Made members final. 2025-05-24 21:19:26 +01:00
287b0aabdb Using global operations. 2025-05-24 20:52:10 +01:00
a4b1ac4ae2 Changed toString logic. 2025-05-24 20:51:49 +01:00
41cc0e7854 Fixed global operations and now sorting them. 2025-05-24 20:51:17 +01:00
ac7221f58e Changed config option for no xp to a global operations list. 2025-05-24 20:28:48 +01:00
47af1179b1 Created data classes for GlobalOperationItem. 2025-05-24 20:18:46 +01:00
067397731a Getting default xp drop amount, applying all operations on it and setting the event xp drops. 2025-05-24 19:59:24 +01:00
605da72293 Sorting operations by priority. 2025-05-24 19:36:42 +01:00
ea10abdb78 Collecting all relevant operations for broken block. 2025-05-24 19:27:15 +01:00
fd2fff708d Created toString and EnumUtils class to fix case dependent casting string to enum. 2025-05-24 19:26:40 +01:00
9a32c94128 Fixed config reload event not being subscribed. 2025-05-24 18:50:44 +01:00
384d6166e9 Changed overrides into operations. Added priority and isLast values to operations. 2025-05-24 18:23:26 +01:00
6a25c2c962 Created classes for holding override data. Updated config to generate the list of override items. 2025-05-24 17:44:24 +01:00
55427d2a4b Created config options for block breaking. 2025-05-24 16:33:57 +01:00
6ea0946135 Created base config class. 2025-05-24 05:52:51 +01:00
3f7d678ad8 Create base event handler for block break event. Made LOGGER public. 2025-05-24 05:23:16 +01:00
fd63741d62 Remade Main class and created Proxy interface and implementation. 2025-05-24 04:35:44 +01:00
dd4dab0b60 Removed template Config class. Cleaned up Main class. 2025-05-24 03:31:25 +01:00
3cdc7e2523 Initial commit. 2025-05-24 02:32:28 +01:00