

You will see the message " Block placed" appear in the lower left corner of the game window to indicate that the setblock command has completed.Ĭongratulations, you have learned how to use the /setblock command in Minecraft.In Java Edition, dungeons generate naturally in the Overworld at any altitude (provided it is next to a cave) regardless of whether "Generate structures" world creation option has been toggled off for said world. See a list of all Minecraft Item Names and DataValues. Itemįor the replacement block, we use a name of planks and a DataValue of 2 to represent a birch wood plank. This is the block that is 1 block East, 0 blocks downward, and 1 block South of where the command is run. This /setblock command would replace the block at ~1 ~0 ~1 with a birch plank. As you are typing, you will see the command appear in the lower left corner of the game window. In this example, we will replace a block with a birch wood plank using the following command: /setblock ~1 ~0 ~1 planks 2


