The tool (no matter what the tool is, a sword, pickaxe, etc) will disappear after only one use. I'm in minecraft 1.7.4 and running on a mac 10.7.5 with java 1.7.0_21
I've also tried using the latest snapshot 14w08a and I still have the issue.
When in creative mode, I can use the tool for mining without it breaking, but if I attack a mob it will disappear.
When I'm in survival, it will always disappear after one use no matter what that use was.
If I create a villager using a spawn egg (until I have one that will trade a tool) the tool works normally, with durability lowering after each use as it's supposed to. It only happens with summoned villagers and custom trading.
Am I the only one having this issue with summoned villager trading? Does anyone have any ideas?
UPDATE: I've now tried summoning a villager using the summon command without custom trading (until I received a villager that offered a tool) and traded for the tool and THAT works normally as well.
So the issue isn't even with the summon command, it's only when I use a custom recipe.
And Yes, I have tried adding all the other NBT keys, such as maxUses, uses, Count and so on. None of those seem to be required nor does there presence fix the problem.
Wow, I'm embarrassed.
Once again, I attempted to add the missing attributes of maxUses, uses and Count, and it worked.
After some tinkering I discovered that when you trade for a tool, if you don't have Count, it will appear to work, but cause the odd breaking-after-one-use issue.
I must have missed Count the first time I tried adding those keys.
Figures I spend days on the bug, then, right after I post the issue, I find the solution...
When I summon a villager with a custom trade recipe, such as:
/summon Villager ~ ~ ~ {Offers:{Recipes:[{buy:{id:2},sell:{id:257}}]}}
The tool (no matter what the tool is, a sword, pickaxe, etc) will disappear after only one use. I'm in minecraft 1.7.4 and running on a mac 10.7.5 with java 1.7.0_21
I've also tried using the latest snapshot 14w08a and I still have the issue.
When in creative mode, I can use the tool for mining without it breaking, but if I attack a mob it will disappear.
When I'm in survival, it will always disappear after one use no matter what that use was.
If I create a villager using a spawn egg (until I have one that will trade a tool) the tool works normally, with durability lowering after each use as it's supposed to. It only happens with summoned villagers and custom trading.
Am I the only one having this issue with summoned villager trading? Does anyone have any ideas?
UPDATE: I've now tried summoning a villager using the summon command without custom trading (until I received a villager that offered a tool) and traded for the tool and THAT works normally as well.
So the issue isn't even with the summon command, it's only when I use a custom recipe.
And Yes, I have tried adding all the other NBT keys, such as maxUses, uses, Count and so on. None of those seem to be required nor does there presence fix the problem.
Once again, I attempted to add the missing attributes of maxUses, uses and Count, and it worked.
After some tinkering I discovered that when you trade for a tool, if you don't have Count, it will appear to work, but cause the odd breaking-after-one-use issue.
I must have missed Count the first time I tried adding those keys.
Figures I spend days on the bug, then, right after I post the issue, I find the solution...