KubeJS (Old)

KubeJS (Old)

3M Downloads

Tinker's construct 3 1.18.2: custom damagable melting recipes being treated as regular melting recipes

AncientShotgun opened this issue ยท 0 comments

commented

Minecraft Version

1.18.2

KubeJS Version

kubejs-forge-1802.5.5-build.569

Rhino Version

rhino-forge-1802.2.1-build.255

Architectury Version

architectury-4.11.93-forge

Forge/Fabric Version

Forge 40.2.9

Describe your issue

Additional info that might be helpful: Tinker's Construct v3.6.4.113

Context: Tinker's Construct allows you to recycle metal and gem tools, weapons and armor you no longer need. There is a special recipe type for this called damagable_melting, which causes the material gained as a result of recycling to be scaled depending upon the durability damage the input tool it came from had suffered at the time. I have added several custom recipes with event.custom() to extend this behaviour to cover certain tools and armors from the Create Crafts and Additions mod (I have included a copy of these scripts in this comment).

My issue? The tool recycling recipes, which I have explicitly coded as damagable_melting, are being treated as regular melting recipes: The tools that I have extended this coverage to with the scripts register as being unable to be melted unless they are undamaged. Vanilla tools have no problem being recycled correctly, so it must be either KubeJS or some other mod.
melting_create_sa_tools_armors.zip

Thanks in advance for your help.

Crash report/logs

No response