![stacc-api](https://media.forgecdn.net/avatars/thumbnails/769/674/256/256/638107262164848436.png)
You can fully repair a billion almost-broken diamond helmets with only 5 diamonds
James103 opened this issue ยท 1 comments
Stacc 1.16.1 5
Minecraft 1.16.1
See #5
In an anvil, you can fully repair a billion diamond helmets, each with 1 durability left, at a cost of just 5 diamonds and 5 XP levels. To reproduce:
/give @p minecraft:diamond_helmet{Damage:362} 1000000000
/give @p diamond 999
/give @p anvil
- Place down the anvil.
- Open the anvil interface.
- Place the 1 billion diamond helmets in the "target" slot as a single stack, and place 5 diamonds in the "sacrifice" slot.
- Look at the result. Expected: No change / rejected (the total durability on the diamond helmets is 363 billion, but a diamond only repairs 90, or an average of 0.00000009 durability across all diamond helmets). Actual: All 1 billion diamond helmets are fully repaired.
Additional steps to reproduce:
/give @p minecraft:diamond_helmet{Damage:362} 100
/give @p diamond 100
/give @p anvil
- Place down the anvil.
- Open the anvil interface.
- Place the 100 diamond helmets in the "target" slot as a single stack, and place the 100 diamonds in the "sacrifice" slot.
- Look at the result. Expected: Diamond helmets repaired to 25% durability, all diamonds are consumed. Actual: Diamond helmets fully repaired, leaving 95 diamonds in the "sacrifice" slot.
- Repeat until step 6, but give yourself 150 diamonds instead.
- Look at the result. Expected: Diamond helmets repaired to 37.5% durability, all diamonds are consumed. Actual: Diamond helmets fully repaired, leaving 145 diamonds in the "sacrifice" slot.
In both cases, the XP cost to repair is 5 XP levels.