transformDamage() not working
septemberWaves opened this issue ยท 2 comments
Issue Description:
The item transformer ".transformDamage()" does not work.
What happens:
An item with the ".transformDamage()" transformer defined in the recipe gets consumed when the recipe is crafted, like any other crafting component. I have tested both with and without a damage amount defined in the brackets; both cases result in the entire item being consumed.
What you expected to happen:
An item with the ".transformDamage()" transformer defined in the recipe should only be damaged for one point of damage, or for the amount of damage defined inside the brackets.
Script used:
Note: I've only pasted the imports, and the recipe that causes the problem. The rest of the file is just removing and adding vanilla crafting table recipes; all of that functionality works flawlessly and the only problem is the item transformer failing to function.
Minetweaker.log file:
Affected Versions:
- Minecraft: 1.12.2
- Forge: 14.23.2.2654
- Crafttweaker: 1.12-4.1.6
Your most recent log file where the issue was present:
If this is the wrong log file (it's the most recent log file from the "logs" folder), let me know where to find the correct one and I will create a pastebin link for it.
this may be an issue with the IE hammer, they may use NBT for damage
try it with another item (like a diamond pickaxe)