mojira.dev
MC-3444

The give command will stack any item

When specifying the quantity of items produced by the /give command, these items will be stacked, regardless of item type.

This will result in strange and normally unachievable behaviour. For example, the command will allow you to stack items such as doors, beds, armour, tools and potions. These can create problems, as brewing stands normally only allow 1 bottle per slot, but will brew the entire stack at once. With an anvil, a stack of tools or armour can be repaired using the experience of a single item.

UPDATE:
This can also result in invalid redstone signal strengths (see MC-8257 for details).

Linked issues

Attachments

Comments 55

I don't think this is a bug. I think of it as a feature to stock many items at once, especially in a dispenser. It's great for maps and would break many (and the creation of many) if removed or "fixed." I may be wrong.

I also don't think it's a bug, but a nice feature for map makers. Didn't even know it - Thanks!

The /give command is an op command... the OP is God over the world... God can do anything he wishes. He can stack items the way he sees fit. Hence I don't think it's a bug.

Still, people are able to get stacks of items (either from ops or from any other way like server mods) and they do weird things with brewing stand and furnances. Either (non-OP) people should be prevented completely from getting stacks of unstackable items or anvils/brewing stands should be adjusted to not do silly things with these stacks.

Allowing people to get item stacks (using the /give command for example) and not react correctly to these stacks at different locations is obviously a bug.

This is certainly a bug. It is not possible to stack items like this in the creative inventory. And anyone with a stack like this can transfer it to a chest, and then to someone else from there. Therefore, this is not op-exclusive.

45 more comments

sighs I guess we have to get used to /give and /summon instead of dispensers. And Luke, I don't think MCEdit would help.
Please keep this bug like you (as mojang) kept floating islands!

guys calm down. No functionality has been taken out of the game at all. You can still give stacks of 64 using /replaceitem. Now let's stop using this issue as a forum and just deal with it. It's not going to be reverted anyway.

It can? wow, i'll give it a try tomorrow thanks!

Or you could just use blockdata or replaceitem to refill the contents of a dispenser. Put the command in a command block on a clock, and there you go: infinite items in a dispenser. /give ignoring the stack limits caused other problems.

I have no idea why i didn't think of that... It's probably because those are new commands i think. Thanks guys! (BTW: i'm going to discontinue watching this issue now)

CubeTheThird

michael

Confirmed

/give, anvil, armor, brewing, enchant, experience, item, pile, potion, repair, stack

Minecraft 1.4.4, Minecraft 1.4.5, Minecraft 1.4.7, Snapshot 13w03a, Snapshot 13w05b, ..., Minecraft 14w02c, Minecraft 14w03b, Minecraft 14w04a, Minecraft 14w04b, Minecraft 1.7.9

Minecraft 14w32b

Retrieved