mojira.dev
MC-85517

Prefilled Chest Command

Prefilled chest command doesn't works on these snapshot versions.

Comments 3

Did you used the id numbers or the id names (like "minecraft:diamond_sword")? Please give us some examples.
It doesn't work with id numbers anymore, but it works fine with id names:

/give @p chest 1 0 {BlockEntityTag: {Items: [{id:"minecraft:diamond_sword", Slot: 13, Count: 42}]}, display: {Name: "hey"}}

/setblock 94 4 -60 chest 0 replace {Items:[{id:35,Damage:11,Slot:0,Count:1},{id:35,Damage:14,Slot:1,Count:1},{id:35,Damage:13,Slot:2,Count:1},{id:35,Damage:1,Slot:3,Count:1},{id:35,Damage:12,Slot:4,Count:1},{id:35,Damage:4,Slot:5,Count:1},{id:35,Damage:10,Slot:6,Count:1},{id:35,Damage:6,Slot:7,Count:1}]}

I was using this command and it's perfectly runs on 15w32a.

The use of IDs instead of names is deprecated since 1.7

Yasin Ayas

(Unassigned)

Unconfirmed

Minecraft 15w32b, Minecraft 15w32c

Retrieved