Started by
dudu44_game
on
Topic category: Help with Minecraft modding (Java Edition)
I'm interested in creating a weapon where the ammunition is its own durability. I'm having trouble finding the command that reduces the item's durability. I tried several approaches, but without success. Could you help me find this command so that my gun works correctly?
Item procedures -> Deal x damage to Provided itemstack. Use that to reduce your ammunition's durability. I think that's it