Commit Graph
118 Commits
Author SHA1 Message Date
__felix__ 6ab4e6111e spotless 2025-12-21 15:49:42 -05:00
__felix__ d54a3f5149 actually get the enchantment data from id 2025-12-21 15:31:12 -05:00
__felix__ b72c3b4a85 Much better solution: divide the level by the max level, so that Efficiency V, Fortune III, and Silk Touch are all the same cost, and the scale used is the same as the average max enchantment (3^2 * 0.25 = 2.25) (the 0.75 added is from the 3 added to the original term) 2025-12-20 18:43:55 -05:00
__felix__ b33164295f Fixed overflow from int multiplication; switched algorithm to more of a linear polynomial while staying close to the original curve (so that enchantments like Silk Touch I aren't weirdly cheap compared to Efficiency V) 2025-12-20 18:28:29 -05:00
__felix__ 3ffbe656f3 fix zero LP cost ritual in the weight = 15 case, and make LP multiplier scale more smoothly with weight (similar to how weight actually works) 2025-12-20 18:08:27 -05:00
__felix__ 3ab4120f7e Remove tooExpensive 2025-12-20 17:58:21 -05:00
__felix__ 9d5c169391 actually make tooExpensive work 2025-12-19 23:59:21 -05:00
__felix__ de458608c3 Allow individual books up to max int, add "Too expensive" if multiple heavy books are used 2025-12-19 23:55:54 -05:00
__felix__ c58273ead4 fix lp wrapping around to "low" positives 2025-12-19 04:37:09 -05:00
__felix__ c2f5e77fa8 i woke up in a cold sweat this morning and shouted "I FORGOT TO FIX THE GENERICS!" 2025-11-05 13:12:26 -05:00
__felix__ 58ed77b09c fix negative LP cost for enchantress + spotlessApply on the ench level fix 2025-11-04 22:32:19 -05:00
__felix__ d826972d4b fix negative enchantment levels 2025-11-04 21:07:56 -05:00
koolkrafter5 190b2e1767 Revert "Fix overenchanting (#36)" (#37) 2025-09-07 05:18:55 -04:00
Caedis e60a880efb Fix overenchanting (#36) 2025-09-06 20:23:10 +00:00
koolkrafter5andgithub-actions[bot] 25057df508 Compacter NPE Bugfix (#33)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-07-18 16:41:02 +07:00
boubou19 0c7780a6d5 Speed up forge event registration (#35) 2025-07-17 23:46:52 +02:00
Nikolay S. 25c8aa8d5a Fix corrupted line in lang file. (#32) 2025-06-08 06:21:31 +00:00
koolkrafter5 4d88de25e8 Transparent Orb Tooltip (#31) 2025-06-03 13:01:56 -06:00
zyf051520 5524b3aa2a Fix FluidEvent usage (#30) 2025-05-30 23:46:38 -06:00
Maya 2af0ae88cc update 2025-05-06 17:08:38 -05:00
Ruling-0 69b43bc147 Guard against divide by 0 (#29) 2025-05-06 17:06:15 -05:00
Ruling-0 6818ee6643 Move Transparent Orb Texture Metadata to NBT (#28) 2025-02-07 12:34:57 -06:00
Ruling-0 4a6381d2f3 Fix enchantress ritual LP subtraction (#27) 2025-01-17 16:49:48 -06:00
glowredman e3bdff4338 Add Localizations (#26) 2024-12-30 21:11:30 +01:00
reobf 2c84ea7fc8 Fix Transparent Orb tooltips and rendering on multiplayer (#25) 2024-12-07 09:24:58 +01:00
Kyōi fe80535093 changed null check to an early return 2024-03-20 20:11:41 +01:00
Kyōi 853e7fc105 Revert "add null checks for all sendPlayerInformation cases,to avoid crashes if ritual owner is not online and"
This reverts commit 2740db5376.
2024-03-20 20:10:11 +01:00
Kyōi 2740db5376 add null checks for all sendPlayerInformation cases,to avoid crashes if ritual owner is not online and
1. Altar is missing
2. Pedestals are missing
3. Item to enchant is missing
4. Enchantment books are missing
5. Not enough LP in the network to enchant items
6. Enchantment type can not be applied on item
2024-03-20 12:38:10 +01:00
Kyoi 0990a3ebb9 add nullcheck to Enchant ritual lp requirement message to avoid crashing server if ritual owner is not online
fixes https://github.com/GTNewHorizons/GT-New-Horizons-Modpack/issues/15445
2024-03-19 20:41:50 +01:00
Martin Robertz 9382615940 Merge pull request #21 from kamenskyi/add_ru_lang_file
Upload ru_RU.lang
2023-12-24 17:11:57 +01:00
kamenskyi 556cd906d0 Upload ru_RU.lang
add ru lang file
2023-12-24 18:50:23 +03:00
Zereff06 285d124223 replace wildcard imports 2023-12-08 21:02:45 +02:00
Zereff06 38a3d200af bs 2023-12-08 21:02:45 +02:00
Zereff06 7ba95b7228 buff for the glass daggers.
For the daggers of sacrifice and for the sacrificial dagger
2023-12-08 21:02:45 +02:00
GitHub GTNH Actions 138b280b34 spotlessApply 2023-06-06 19:58:00 +02:00
Wilhelm Schuster 925fa9423b Add null checks to Ritual Stone tooltip builder 2023-06-06 19:47:59 +02:00
Gofer2x 0c6a662c74 fix ethereal blood stone -> broken potentia craft 2023-05-14 15:38:55 +02:00
Jason Mitchell 555f44ae6d [ci skip] spotlessApply with the new settings 2023-01-28 19:14:51 -08:00
Raven Szewczyk 79369d2685 Don't resize the potions array if already large - for Java 12+ compat 2023-01-24 10:10:49 +00:00
miozune 932ec20cfb updateBuildScript & spotlessApply 2022-11-01 11:09:22 +09:00
miozune 91e16818d5 Fix NPE with Portable Altar tooltip 2022-11-01 11:06:17 +09:00
miozune e3431e30d3 Add AppleCore compatibility 2022-06-04 16:58:47 +09:00
MuXiu1997andKiwi e18f63f5bd Update en_US.lang
Co-authored-by: Kiwi <[email protected]>
2022-05-06 12:02:18 +08:00
MuXiu1997andKiwi 7d81548dac Update zh_CN.lang
Context: https://github.com/GTNewHorizons/GT-New-Horizons-Modpack/issues/10229

Co-authored-by: Kiwi <[email protected]>
2022-04-29 18:32:53 +08:00
MuXiu1997 9fd86d1856 Update en_US.lang
Context: https://github.com/GTNewHorizons/GT-New-Horizons-Modpack/issues/10229
2022-04-29 16:39:26 +08:00
Pnc6lx 3d22df5fe5 delete comma 2022-03-17 14:27:36 +08:00
Pnc6lx 14ac181ef3 update to fit blood magic change 2022-03-17 14:25:38 +08:00
glowredman de76084ffe Fix modName in mcmod.info 2022-02-15 20:24:50 +00:00
Glease 8045c33e23 Fix incorrect auto boxing 2022-02-09 11:06:06 +08:00
bombcar 1e607d9243 update build script 2022-02-05 10:42:23 -06:00