mojira.dev
MC-91864

cannot put items in crafting table using command block

when I use a command with /setblock to make a chest with items in it using this command:

/setblock ~ ~1 ~ chest 0 replace {Items:[{id:41,Count:64,Slot:0},{id:41,Count:64,Slot:1},{id:41,Count:64,Slot:2},{id:41,Count:64,Slot:3},{id:41,Count:64,Slot:4},{id:41,Count:64,Slot:5},{id:41,Count:64,Slot:6},{id:41,Count:64,Slot:7},{id:41,Count:64,Slot:8},{id:41,Count:64,Slot:8}]}

then it spawns a chest with 9 stacks of gold blocks in it but then when I replace the 'chest' in the command with a crafting table like so:

/setblock ~ ~1 ~ crafting_table 0 replace {Items:[{id:41,Count:64,Slot:0},{id:41,Count:64,Slot:1},{id:41,Count:64,Slot:2},{id:41,Count:64,Slot:3},{id:41,Count:64,Slot:4},{id:41,Count:64,Slot:5},{id:41,Count:64,Slot:6},{id:41,Count:64,Slot:7},{id:41,Count:64,Slot:8},{id:41,Count:64,Slot:8}]}

then it just spawns a crafting table with no items in it,

is this a bug or is it meant to be?
I think its a bug because a chest and a crafting table are both blocks that can hold items in them

here are some screenshots i took

Attachments

Comments 4

Crafting tables have no inventory.

oh sorry i didn't know that, but shouldn't crafting tables have an inventory? i mean you can put items in them!

@Nika Lany No, they don't store the items, as they will drop when you close the crafting screen.

ok I understand that now

I_Like_Trains_27

(Unassigned)

Unconfirmed

Minecraft 1.8.8

Retrieved