Possible to put stacked sword in the anvil
The bug
You can put stacked items that normally aren't stackable into the anvil, expected it to just put one item into the anvil. (Video by Capitão Black Shot)
How to reproduce
- Give yourself 64 swords, and one enchanted sword.
/summon minecraft:item ~ ~ ~ {Item:{id:"diamond_sword",Count:64b}} /give @p diamond_sword{Enchantments:[{id:sharpness,lvl:3},{id:fire_aspect,lvl:1},{id:looting,lvl:3},{id:sweeping,lvl:3},{id:unbreaking,lvl:1}]} - Put the illegal stacked item in the anvil.
→
Puts the 64 swords in the anvil, should put only one as its not stackable - Put the enchanted sword in the second anvil slot.
→
It valids the process; you can apply the enchantments to the 64 swords.
- Won't Fix
Ovalbruno de jesus lino
- 11
- 14
- Confirmed
- UI
1.4.2 - 21w11a
1.4.2 1.4.4 1.4.7 13w05b 1.5 1.7.4 14w03b 14w05b 14w06b 14w07a 14w08a 1.7.5 14w11b 1.7.9 14w17a 1.13.2 18w48a 18w48b 18w49a 18w50a 19w02a 19w03a 19w03b 19w03c 19w04b 19w05a 19w06a 19w07a 19w11b 19w12b 1.14 1.14.1-pre1 1.14.3 1.14.4-pre5 1.14.4 1.15-pre1 1.15-pre6 1.15.1 1.15.2 20w15a 1.16-rc1 1.16 1.16.1 20w30a 1.16.2-pre1 1.16.2-rc1 1.16.2 1.16.3-rc1 1.16.3 1.16.4 20w46a 20w49a 20w51a 21w03a 1.16.5 21w05a 21w05b 21w06a 21w07a 21w11a
Created Issue:
Possible to put swords stacked on the anvil!
Summary!
- What I expected to happen was ...: *
Do not be put Possible tools and items of combat stacked on the anvil!
nor enchant so many swords with an enchanted sword!
- What really happened was ...: *
in the table and not enchant Possible colocar tools and items of combat stacked! more on the anvil and it undermines posivel in multiplayer server!
- Steps to reproduce: *
Give 64 swords then immediately grab a sword and enchanted junter not enchanted swords with sword that will charm you and you will see that Possible join a charm and a sword swords are stacked!Watch the video below demonstrating the bug!
media bug!
http://www.youtube.com/watch?v=qrGR1x--vrI&feature=youtu.be
sorry for my english horrible!Environment
all
is duplicated by
relates to
is duplicated by
Summary!
- What I expected to happen was ...: *
Do not be put Possible tools and items of combat stacked on the anvil!
nor enchant so many swords with an enchanted sword!
- What really happened was ...: *
in the table and not enchant Possible colocar tools and items of combat stacked! more on the anvil and it undermines posivel in multiplayer server!
- Steps to reproduce: *
Give 64 swords then immediately grab a sword and enchanted junter not enchanted swords with sword that will charm you and you will see that Possible join a charm and a sword swords are stacked!Watch the video below demonstrating the bug!
media bug!
http://www.youtube.com/watch?v=qrGR1x--vrI&feature=youtu.be
sorry for my english horrible!The bug
You can put stacked items that normally aren't stackable into the anvil, expected it to just put one item into the anvil. (Video by Capitão Black Shot)
How to reproduce
- Give yourself 64 swords, and one enchanted sword.
/summon minecraft:item ~ ~ ~ {Item:{id:"diamond_sword",Count:64b}} /give @p diamond_sword{Enchantments:[{id:sharpness,lvl:3},{id:fire_aspect,lvl:1},{id:looting,lvl:3},{id:sweeping,lvl:3},{id:unbreaking,lvl:1}]}- Put the illegal stacked item in the anvil.
→Puts the 64 swords in the anvil, should put only one as its not stackable
- Put the enchanted sword in the second anvil.
→It valids the proces, you can apply the enchantments to the 64 swords.
Possible to put swords stacked on the anvil!Possible to put stacked sword in the anvil
relates to
The bug
You can put stacked items that normally aren't stackable into the anvil, expected it to just put one item into the anvil. (Video by Capitão Black Shot)
How to reproduce
- Give yourself 64 swords, and one enchanted sword.
/summon minecraft:item ~ ~ ~ {Item:{id:"diamond_sword",Count:64b}} /give @p diamond_sword{Enchantments:[{id:sharpness,lvl:3},{id:fire_aspect,lvl:1},{id:looting,lvl:3},{id:sweeping,lvl:3},{id:unbreaking,lvl:1}]}- Put the illegal stacked item in the anvil.
→Puts the 64 swords in the anvil, should put only one as its not stackable
- Put the enchanted sword in the second anvil.
→It valids the proces
,you can apply the enchantments to the 64 swords.The bug
You can put stacked items that normally aren't stackable into the anvil, expected it to just put one item into the anvil. (Video by Capitão Black Shot)
How to reproduce
- Give yourself 64 swords, and one enchanted sword.
/summon minecraft:item ~ ~ ~ {Item:{id:"diamond_sword",Count:64b}} /give @p diamond_sword{Enchantments:[{id:sharpness,lvl:3},{id:fire_aspect,lvl:1},{id:looting,lvl:3},{id:sweeping,lvl:3},{id:unbreaking,lvl:1}]}- Put the illegal stacked item in the anvil.
→Puts the 64 swords in the anvil, should put only one as its not stackable
- Put the enchanted sword in the second anvil slot.
→It valids the process; you can apply the enchantments to the 64 swords.
This is because tools and armour cannot be stacked. To achieve this, you would have to either use a mod, or edit the game files.
You can also get a stack of swords by using
/give NAME 276 64
so I guess this bug should be reopened. Also, changing the anvil code to prevent stacked repairs or to calculate the correct cost should be quite trivial.
Jonathan, you are right. Reopened
However, its not a bad idea to rename a stack of blocks cheaply; forcing users to individually rename dirt for example in an adventure map would be tedious for map makers, I have no idea why you would want a stack of swords unless they were all the same, again this is only relevant for map makers who would be the only people to use this.
The issue here is not to put stacked items on the anvil per se, it's using normally *un*stackable items as a stack on the anvil.
In the case of repairs, it repairs only the top item in a stack (which is the only one damaged), and in the case of naming or enchanting stacks, it isn't possible legitimately, and it can be used to name or enchant stacks of swords (or other unstackable items) in an adventure or PvP map. I would use it to mass produce enchanted or named items that don't normally stack by /give-ing myself a stack of the items and enchanting the stack of them or naming the stack and distributing them. Correct me if I'm wrong.
We found another issue with stacked items (tools and weapons) going into an anvil. One of the players on our server was able to enchant an entire stack of 64 picks with a single enchanted book.
Still a concern in 1.7.5 and 1.8
Confirmed for 14w17a
Is this still a concern in the current Minecraft version 1.8.1 Prerelease 3 / Launcher version 1.5.3 or later? If so, please update the affected versions in order to best aid Mojang ensuring bugs are still valid in the latest releases/pre-releases.
No response for over a year.
Can confirm for 1.14.1pre1
Affects 1.16 Release Candidate 1
Can confirm in 20w51a.
Can confirm in 21w03a.
Can confirm in 21w05a.
Can confirm in 21w05b.
Can confirm in 21w06a.
Can confirm in 21w07a.
Can confirm in 1.16.5 and 21w11a.