Commit Graph
240 Commits
Author SHA1 Message Date
Martin Robertz 7462db3aa4 Merge remote-tracking branch 'felixfour/patch-1' into dev 1.5.3-pre 2025-12-21 23:12:07 +01:00
__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
Martin Robertz 5cd24e9f5e Merge remote-tracking branch 'felixfour/patch-1' into dev 2025-12-21 10:14:00 +01: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
Martin Robertz 765b36f5f0 update 1.5.1-pre 2025-11-14 21:42:07 +01: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) 1.5.0 2025-09-07 05:18:55 -04:00
Caedis e60a880efb Fix overenchanting (#36) 2025-09-06 20:23:10 +00:00
Dream Master f1c5c9fa28 update 1.4.10 2025-07-24 19:27:29 +07: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) 1.4.8 2025-07-17 23:46:52 +02:00
Martin Robertz 37f2b5e59d update 1.4.6 2025-06-08 10:48:12 +02:00
Nikolay S. 25c8aa8d5a Fix corrupted line in lang file. (#32) 2025-06-08 06:21:31 +00:00
Maya d7301fb209 update 1.4.5 2025-06-03 13:02:24 -06:00
koolkrafter5 4d88de25e8 Transparent Orb Tooltip (#31) 2025-06-03 13:01:56 -06:00
Maya b03552722d update 1.4.4 2025-05-30 23:46:47 -06:00
zyf051520 5524b3aa2a Fix FluidEvent usage (#30) 2025-05-30 23:46:38 -06:00
Maya 2af0ae88cc update 1.4.3 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
Maya 68f798f494 update 1.4.2 2025-02-07 12:35:45 -06:00
Ruling-0 6818ee6643 Move Transparent Orb Texture Metadata to NBT (#28) 2025-02-07 12:34:57 -06:00
Martin Robertz e6a2092fdf update 1.4.1 2025-01-18 22:25:07 +01:00
Ruling-0 4a6381d2f3 Fix enchantress ritual LP subtraction (#27) 2025-01-17 16:49:48 -06:00
Martin Robertz 85f5cb629f update 1.4.0 2024-12-30 21:18:32 +01:00
glowredman e3bdff4338 Add Localizations (#26) 1.3.5 2024-12-30 21:11:30 +01:00
Martin Robertz 963bbb4a26 update 1.3.4 2024-12-07 18:38:08 +01:00
reobf 2c84ea7fc8 Fix Transparent Orb tooltips and rendering on multiplayer (#25) 1.3.3 2024-12-07 09:24:58 +01:00
Martin Robertz 56589b6f0c update 1.3.2 2024-03-21 20:16:40 +01:00
Martin Robertz 71c1a9e477 Merge pull request #24 from kyoi-the-fox/master
add null checks for all sendPlayerInformation cases,to avoid crashes …
2024-03-20 21:13:46 +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
Martin Robertz a3725dbf46 Merge pull request #23 from kyoi-the-fox/master
add nullcheck to Enchant ritual lp requirement message to avoid crash…
2024-03-19 22:44:13 +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
Raven Szewczyk 702bc72d60 [ci skip] upgraded build system 2024-02-04 19:57:11 +00:00
Martin Robertz a4317d002c Merge pull request #22 from GTNewHorizons/jankins
[bs] update buildscripts for jankins
1.3.1
2024-01-09 19:27:36 +01:00
Martin Robertz 55874779ac Update dependencies.gradle 2024-01-09 19:17:00 +01:00
bombcar c0f85cecc2 update buildscripts for jankins 2024-01-08 17:22:42 -06:00
Raven Szewczyk 8c0d673996 [ci skip] upgraded build system 2024-01-08 21:24:15 +00:00
Martin Robertz 9c05bf6b45 update bs+deps 1.3.0 2023-12-24 17:37:08 +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