Are you looking for how to use /setblock with blocks with data? See this post.

How do I get a block with data in my inventory so I can place it myself? In Java Edition, these commands work:

give @s chest{BlockEntityTag:{Items:[{id:"diamond",count:10b}]}}
give @s sign{BlockEntityTag:{Text1:"{\"text\":\"foo\",\"bold\":true}"}}

How can I do this in Bedrock Edition, where there is no access to NBT tags from commands?


On a computer, you can do this with the “pick block” control, which defaults to the middle mouse button. Put your crosshair over the block you want to get and then press Ctrl + pick block, which will put that block with its data into your inventory. Of course, this will only work in creative mode.

Unfortunately, this cannot be done on touch devices without “Full Keyboard Gameplay” enabled, as there is no “pick block” control.

For more information on the “pick block” control, see Controls on the Minecraft wiki.

| improve this answer | |
  • What is the default "pick block" key/button? – fasterthanlight Aug 13 at 2:04
  • Whoops! xD Ok, so how can I do this on a iPad-connected keyboard? – fasterthanlight Aug 13 at 2:05

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.