Commit Graph

24 Commits

Author SHA1 Message Date
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
5a897d1f93 Updated display name. 2025-05-24 03:25:54 +01:00
7e0de0437e Cleaned up Gradle settings and changed mappings to ParchmentMC. 2025-05-24 03:23:55 +01:00
f487eff301 Initial commit. 2025-05-24 02:32:28 +01:00