Nbt Crafting (Fabric)

Nbt Crafting (Fabric)

630k Downloads

suludom tools get deleted when used in a reminder

Nathan22211 opened this issue ยท 0 comments

commented

Version
mc 20w11a
NBT crafting 2.0.0 alpha.26
Describe the bug
when using suludom tools in a remainder like this "item": "suludom:generic_axe", "remainder": { "item": "suludom:generic_axe", "data": { "Damage": "$ i1.Damage + 1" } the tool still gets deleted
To Reproduce

  1. use this json { "type": "minecraft:crafting_shapeless", "ingredients": [ { "item": "minecraft:oak_log" }, { "item": "suludom:generic_axe", "remainder": { "item": "suludom:generic_axe", "data": { "Damage": "$ i1.Damage + 1" } } } ], "result": { "item": "minecraft:oak_planks", "count": 6 } } make sure the suludom axe you use was created in the tool table
  2. Bug appears

Expected behavior
the ax should be left with one less durability

Log
Nothing important seems to be here. the bug's right in the players face

Additional context
I thought this was due to the advancement method that some data packs use for NBT crafting output being reused to give a loot table. but it's clear it's a problem with the recipe itself and not that.