Minecraft Blogs / Article

How to add or change a block in Suspicious Sand - Archeology in Minecraft

  • 4,956 views, 9 today
  • 6
  • 1
  • 4
ZverTNT - BlastersTNT's Avatar ZverTNT - BlastersTNT
Level 25 : Expert Miner
3
In order to add or change the item that the player digs out of suspicious sand, you need the use this command:
/data merge block 50 10 50 {item: {id: "sand"}}

Command decryption:
50 10 50 - position suspicious sand
sand - the item you want to put in the suspicious sand

Financial support:

new.donatepay.ru/@BlastersTNT
Tags

Create an account or sign in to comment.

1
01/09/2024 6:02 pm
Level 1 : New Miner
KrisTC
KrisTC's Avatar
I am using Java Minecraft version 1.20.4 and couldn't get that to work as written. I had to have a count as well.

/data merge block 50 10 50 {item: {id: "sand"}, Count:1b}
Note for people like me who are not experienced with commands you can add other NBT data too. For example, I wanted to hide a book with a clue in it:
/data merge block 50 10 50 {item: {id:"minecraft:written_book", Count: 1b,tag: { pages: ["This is the clue"], title: "Clue",resolved: 1b,author: "Name"}}}As others have eluded to you can also use the loot tables as described here: https://www.planetminecraft.com/blog/mapmaker-guide-1-20-how-to-get-and-use-suspicious-sand-and-suspicious-gravel/
1
07/08/2023 12:03 pm
Level 19 : Journeyman Skinner
Enderbrine0422
Enderbrine0422's Avatar
Does this work in bedrock, or just java?
1
03/11/2023 6:12 am
Level 40 : Master Dragon
Loupieur
Loupieur's Avatar
It's better to use loot tables
1
02/17/2023 8:50 am
Level 1 : New Crafter
Celesta Glacier
Celesta Glacier's Avatar
Bless god peoples who make guide like this. Thank you
Planet Minecraft

Website

© 2010 - 2024
www.planetminecraft.com

Welcome