KubeJS

KubeJS

69M Downloads

Crafting with Unbreakable Tinkers' Construct tools.

KodYazanDruid opened this issue ยท 2 comments

commented

Minecraft Version

1.18.2

KubeJS Version

kubejs-forge-1802.5.5-build.562

Rhino Version

rhino-forge-1802.2.1-build.255

Architectury Version

architectury-4.10.88-forge

Forge/Fabric Version

Forge - 40.2.0

Describe your issue

.damageIngredient() function can damage Tinkers' Construct Unbreakable tools.

This is the recipe script.
image

And this is after crafting.
image

Crash report/logs

No response

commented

I believe this on how Tinkers implements their unbreaking.
They still allow some things to damage it, like pig irons tasty trait, so they don't just block all damage.

Best solution would probably to make a customIngredientAction and check the tool for unbreaking before damaging.

commented

Having a look at the code, it doesn't look like it is possible to not damage tinkers tools without explicit tinkers support, which would belong in an addon.