53 Commits

Author SHA1 Message Date
b26f628b58 Merge pull request 'ci/15-update_archive_name' (#16) from ci/15-update_archive_name into 1.20.1
Reviewed-on: #16
1.20.1/v1.0.1
2025-05-26 18:30:42 +00:00
64c6da0b2e Bumped version number. 2025-05-26 19:30:00 +01:00
ac459e9c58 Updated archive name to include the Minecraft version. 2025-05-26 19:28:40 +01:00
11ccd940da Merge pull request 'bug/13-cache_used_despite_config' (#14) from bug/13-cache_used_despite_config into 1.20.1
Reviewed-on: #14
2025-05-26 18:17:37 +00:00
ef99967059 Moved more similar code to utility method. 2025-05-26 19:15:38 +01:00
eba233a983 Unified cache implementation. Using references in events. 2025-05-26 18:58:20 +01:00
dbe3f19790 Using config option for saving to cache. 2025-05-26 18:56:43 +01:00
efe3e54c62 Merge pull request 'feat/11-mod_name' (#12) from feat/11-mod_name into 1.20.1
Reviewed-on: https://gitea.local.micle.dev/minecraft-mods/xp_tools/pulls/12
1.20.1/v1.0.0
2025-05-25 19:43:41 +00:00
5b4c6de50b Updated mod name. 2025-05-25 20:42:28 +01:00
ac72d72846 Merge pull request 'feat/9-icon' (#10) from feat/9-icon into 1.20.1
Reviewed-on: https://gitea.local.micle.dev/minecraft-mods/xp_tools/pulls/10
2025-05-25 19:37:32 +00:00
1b83686246 Updated icon image to include text. 2025-05-25 20:35:24 +01:00
803bac732f Updated logo file path. 2025-05-25 19:41:46 +01:00
33557def9b Added icon image. 2025-05-25 19:41:27 +01:00
0e8e29c951 Merge pull request 'bug/7-dedicated_server_loading_client_classes' (#8) from bug/7-dedicated_server_loading_client_classes into 1.20.1
Reviewed-on: https://gitea.local.micle.dev/minecraft-mods/xp_tools/pulls/8
2025-05-25 00:52:26 +00:00
feda359615 Changed displayTest setting to IGNORE_SERVER_VERSION. 2025-05-25 01:50:55 +01:00
2417852c5c Marked methods for CLIENT dist only. 2025-05-25 01:48:50 +01:00
ff396c8ee4 Merge pull request 'feat/5-handle_xp_from_entities' (#6) from feat/5-handle_xp_from_entities into 1.20.1
Reviewed-on: https://gitea.local.micle.dev/minecraft-mods/xp_tools/pulls/6
2025-05-25 00:15:30 +00:00
06a26771ee Improved cache config option description. Disabled cache by default. 2025-05-25 01:13:26 +01:00
fd0845c946 Added extra debugging info. 2025-05-25 01:07:20 +01:00
a1c7e317c4 Split some common code from event handlers into new class OperationUtils. 2025-05-25 00:47:42 +01:00
a99a36496a Implemented logic for entity killing. 2025-05-25 00:24:13 +01:00
aedc41b4ec Fixed comment. 2025-05-25 00:23:44 +01:00
008960ba57 Added entity kill operation cache. 2025-05-25 00:13:13 +01:00
d0e1eb1a2f Updated config comment to mention tags. 2025-05-25 00:10:14 +01:00
e4a1a08cf5 Added config options for operations. 2025-05-24 23:51:25 +01:00
0a828367ee Created event handler. 2025-05-24 23:34:52 +01:00
c8846be855 Merge pull request 'feat/3-handle_xp_from_block_breaking' (#4) from feat/3-handle_xp_from_block_breaking into 1.20.1
Reviewed-on: https://gitea.local.micle.dev/minecraft-mods/xp_tools/pulls/4
2025-05-24 21:58:37 +00:00
07919c19a1 Moved operation classes into new package. 2025-05-24 22:53:39 +01:00
b287f43e74 Added config for extra debugging. 2025-05-24 22:47:44 +01:00
042ebf10dc Added config option for using the cache. 2025-05-24 22:44:07 +01:00
20a56f83e0 Implemented cache for fetching operations. 2025-05-24 22:13:40 +01:00
43a5eef628 Made members final. 2025-05-24 21:19:26 +01:00
43fb2f9a0a Using global operations. 2025-05-24 20:52:10 +01:00
ea813acb2f Changed toString logic. 2025-05-24 20:51:49 +01:00
3ae20d2416 Fixed global operations and now sorting them. 2025-05-24 20:51:17 +01:00
bdf1a5baa2 Changed config option for no xp to a global operations list. 2025-05-24 20:28:48 +01:00
0c9cee8b19 Created data classes for GlobalOperationItem. 2025-05-24 20:18:46 +01:00
3ee1bfa9e6 Getting default xp drop amount, applying all operations on it and setting the event xp drops. 2025-05-24 19:59:24 +01:00
f3e9854aea Sorting operations by priority. 2025-05-24 19:36:42 +01:00
b8d8af67f2 Collecting all relevant operations for broken block. 2025-05-24 19:27:15 +01:00
e796927bf0 Created toString and EnumUtils class to fix case dependent casting string to enum. 2025-05-24 19:26:40 +01:00
b5ddcc9e22 Fixed config reload event not being subscribed. 2025-05-24 18:50:44 +01:00
4425974fe1 Changed overrides into operations. Added priority and isLast values to operations. 2025-05-24 18:23:26 +01:00
ec5f9a7dae Created classes for holding override data. Updated config to generate the list of override items. 2025-05-24 17:44:24 +01:00
802321e9a2 Created config options for block breaking. 2025-05-24 16:33:57 +01:00
5e110dd3c8 Created base config class. 2025-05-24 05:52:51 +01:00
c09b1b4dc9 Create base event handler for block break event. Made LOGGER public. 2025-05-24 05:23:16 +01:00
a41561b7a3 Merge pull request 'feat/1-main_and_proxy_classes' (#2) from feat/1-main_and_proxy_classes into 1.20.1
Reviewed-on: https://gitea.local.micle.dev/minecraft-mods/xp_tools/pulls/2
2025-05-24 03:39:06 +00:00
7ef84de2b5 Remade Main class and created Proxy interface and implementation. 2025-05-24 04:35:44 +01:00
0ef1b70ecd Removed template Config class. Cleaned up Main class. 2025-05-24 03:31:25 +01:00