Commit Graph

86 Commits

Author SHA1 Message Date
9f797a9112 Adjusted default config value. 2026-01-18 02:52:54 +01:00
05192b2601 Fixed charge going below 0 when reviving more expensive targets with dynamic cost. Fixing tooltip cost appearing in red when the target's cost is more than the max charge capacity but the totem can revive more expensive targets. 2026-01-18 02:48:22 +01:00
c21ba74432 Using config for getting totem max durability for tooltip. 2026-01-18 02:36:43 +01:00
ed3dcc3d1e Checking config for unbreakable status to make tooltips more accurate in menus such as the creative menu. 2026-01-18 02:21:02 +01:00
07184045e4 Rebalanced default configs. Displaying static cost in tooltip. 2026-01-18 02:18:15 +01:00
6bb74b3635 Updated totem tooltip to display N/A for cost when the target is also N/A. 2026-01-18 00:52:36 +01:00
8b296c6750 Changed diamond totem default config to allow reviving across dimensions. 2026-01-18 00:49:04 +01:00
85b67a1a8d Switched rarities of Iron and Straw totems to be consistent in regard to progression. 2026-01-18 00:46:24 +01:00
8dbeb36d13 Updated item constructors to simplify usage. 2026-01-18 00:41:24 +01:00
ef50e0084c Updated totem tooltip to display general durability information. 2026-01-18 00:35:15 +01:00
27634a9bdf Updated config comments. 2026-01-18 00:18:48 +01:00
7afc1956bb Reworked durability configs to be dynamically set during inventory tick update whenever a config change is detected. Added unbreakable text to totem tooltip. Fixed server world crashing when reviving player due to closing level (try-with-resources). 2026-01-18 00:00:36 +01:00
5a9fd203d3 Bumped version number. 2026-01-14 02:23:06 +01:00
b4d6a9dba1 Ensuring target costs at least 1 charge when using dynamic cost. 2026-01-14 01:52:09 +01:00
9afca9c3b9 Extracted general methods from LangAsset into ComponentHelper class. 2026-01-14 01:07:20 +01:00
b0c5e9ba3d Converted charge item tooltip to use lang file. Improved tooltip to display corresponding totem's name. 2026-01-14 01:04:50 +01:00
859775d7b5 Inverted colors to improve readability of messages. 2026-01-14 00:44:46 +01:00
984f5ca8d6 Improved look of tooltips. Changed colors to improve readability. Implemented helper method for adding indent to components. 2026-01-14 00:43:46 +01:00
11e6aee70e Reworked tooltip for totems to look better and be translatable via lang files. Implemented helper method for creating text components displaying keybind keys. 2026-01-14 00:10:47 +01:00
8bc56f76de Removed hard coded lang string reference. 2026-01-12 22:20:55 +01:00
684cb23f74 Ported cycle totem message to lang file. 2026-01-12 22:19:00 +01:00
24d21126b0 Implemented LangAsset enum to declare translatable keys for strings. Moved message strings for reviving functionality into lang file. 2026-01-12 22:15:41 +01:00
925f244cc0 Removed old networking code. 2026-01-12 04:37:21 +01:00
dbabba477a CycleTarget method now returns message component. Implemented totem functionality without any extra networking. 2026-01-12 04:36:44 +01:00
5b2771c1f7 Fixed advanced tooltip key press check. Removed old broken mod key mappings. 2026-01-12 03:57:26 +01:00
b03aa3e0ed Fixed totem data not saving or synchronizing on a dedicated server. 2026-01-12 03:40:41 +01:00
4bb8e9dca0 Removed the need for template files. Replaced logo file with png as jpg seems to not work with NeoForge. 2026-01-12 01:22:46 +01:00
06ef028b6c Updated mods.toml. 2026-01-11 01:19:49 +01:00
6eabe7b3c5 Updated gitignore. Updated mod id across project. Fixed gradle not replacing properties in mods.toml. 2026-01-11 01:18:18 +01:00
8abbf5384e WIP: Temporarily disabling old networking code. 2026-01-11 00:40:15 +01:00
1c45352037 Ported charge items. Implemented property helper. Made netherite charges fire-resistant. 2026-01-11 00:25:55 +01:00
935ccd14bb Implemented new methods for each totem item. Implemented helper for generating item properties, now also adding totem data to the item. 2026-01-11 00:20:54 +01:00
0f35787a53 WIP use method. Fixed remaining methods. 2026-01-11 00:00:30 +01:00
4c6d9b4b14 Ported totem tooltip. Implemented helpers for getting target UUID from totem data. 2026-01-10 19:51:56 +01:00
af097ffdf5 Extracted code into method. 2026-01-10 19:27:17 +01:00
300e0a940a Rewrote TotemItem methods to simplify usage and keep functionality within the same class. 2026-01-10 19:24:37 +01:00
b400f4334a WIP: Logic cleanup. 2026-01-09 07:05:33 +01:00
39f8544e08 WIP: Converting methods to utilize Optionals. 2026-01-09 05:55:38 +01:00
f41bead3d2 Included charge in totem data. 2026-01-09 05:40:01 +01:00
56f274a81b WIP: Included target deaths in data component. 2026-01-09 05:26:42 +01:00
91f3f9dbdd WIP: Included target name in data component. 2026-01-09 05:20:04 +01:00
7421a5a18d WIP: Included target UUID in data component. 2026-01-09 05:14:49 +01:00
f6e47d78e1 WIP: Creating DataComponent for totem items. 2026-01-09 05:01:09 +01:00
2f1a9793a3 Ported datagens. 2026-01-09 01:01:53 +01:00
2bfe6b72e5 Ported registers. 2026-01-09 00:45:40 +01:00
e8b0b1987b Removed old metadata. 2026-01-09 00:38:33 +01:00
2262cc5952 Ported config. 2026-01-09 00:37:25 +01:00
9a0415effd Ported remainder of main class. 2026-01-09 00:08:13 +01:00
681ebeeeb7 Ported side proxy. 2026-01-09 00:02:21 +01:00
aff7f9ae54 Ported gradle and metadata to NeoForge. 2026-01-08 23:36:45 +01:00