Skip to content

Conversation

@JuiceyBeans
Copy link
Contributor

@JuiceyBeans JuiceyBeans commented Dec 23, 2025

What

Adds diamond tool + netherite template + netherite ingot as a smithing recipe for all GTToolTypes

Implementation Details

Since vanilla's smithing transform recipe copies all NBT from input to output item, smithed GT tools would keep their old stats, since we apply them using NBT.

I've implemented a mixin to check if the crafted item is an IGTTool. If so, it removes the GT.Tool tag and copies it over from a new tool stack. This should keep compat with any other mods doing funky stuff with SmithingTransformRecipe

Also added helpers for smithing transform recipes to VanillaRecipeHelper

Outcome

Netherite tools are now obtainable :hapybapycat:

Additional Information

image image image

Potential Compatibility Issues

Hopefully none!

@JuiceyBeans JuiceyBeans requested a review from a team as a code owner December 23, 2025 13:47
@JuiceyBeans JuiceyBeans changed the title Netherite tools Add recipes for netherite tools Dec 23, 2025
@Reabstraction Reabstraction added the Release: Major - 0.X.0 Releases focused on Content, changes to gameplay; While maintaining mostly API stability. label Dec 23, 2025
@JuiceyBeans
Copy link
Contributor Author

Drafting because vanilla smithing copies all NBT from input stack to output stack. Since our tool attributes are stored via NBT, this means that it keeps the same stats from diamond tools instead of the new ones

@JuiceyBeans JuiceyBeans marked this pull request as draft December 24, 2025 07:24
@JuiceyBeans JuiceyBeans marked this pull request as ready for review December 24, 2025 12:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

1.20.1 Release: Major - 0.X.0 Releases focused on Content, changes to gameplay; While maintaining mostly API stability.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants