GTNewHorizons / GT-New-Horizons-Modpack

A big progressive questing modpack for Minecraft 1.7.10 balanced around the mod GregTech.
https://www.gtnewhorizons.com/
Other
1.01k stars 306 forks source link

Thaumic parts give wierd amount of mods #15519

Closed imTheSupremeOne closed 1 month ago

imTheSupremeOne commented 9 months ago

Your GTNH Discord Username

imthesupremeone

Your Pack Version

2.5.1

Your Server

Private

Java Version

Java 21

Type of Server

Don't know

Your Expectation

The same parts either don't stack or stack in a logical way

The Reality

x4 thaumic parts give +2 mods on a fresh axe x3 thaumic parts give +1 mod x2 thaumiv parts give 0 mod

We have x2 Thaum parts but 0 modifiers : image

The x3 Thaum parts give 1 mod : image

And x4 gives 2 : image

The thing that I can't exchange another thaumic part for netherrack may hint onto the reason of this bug : image

Your Proposal

Make it intuitive; also the thing that I can't exchange back parts on 2-mod thaumium to 1-mod may hints that there is some bug and modifiers are wasted...

Final Checklist

leumasme commented 8 months ago

TinkersConstruct code to handle thaumium: https://github.com/GTNewHorizons/TinkersConstruct/blob/2a6cd9ffe9140974c92a8aa1b69a5eb39b558051/src/main/java/tconstruct/tools/TinkerToolEvents.java#L138-L155

IguanaTweaksTConstruct code to handle replacing thaumium parts: https://github.com/GTNewHorizons/IguanaTweaksTConstruct/blob/bcc8d670becb2715ee9d3a119307ac86648e2108/src/main/java/iguanaman/iguanatweakstconstruct/replacing/ReplacementLogic.java#L281-L308

The Part Replacement logic for Thaumium is wrong (but that seems to be the only issue here, all your other described issues seem to stem from this and not knowing how it is supposed to work).

Repro:

leumasme commented 3 weeks ago

Keep open, this is still an issue (nightly 2024-09-24)

https://github.com/user-attachments/assets/538646a3-8857-4591-8d9c-a5e40d879736