I'm trying to create my own minecraft server and I need barrier blocks to prevent players from going to certain places. I already know how to get command blocks but I don't know the command to get barrier blocks.
Minecraft – How to get barrier blocks in bedrock edition
minecraft-bedrock-editionminecraft-commands
Best Answer
Use this command:
For some reason the namespaced ID of barriers isn't listed on its own wiki page, so I went to the list of Bedrock Edition data values to find it.