A guide to understanding how to use dx dy or dz commands to set an exact radius for Minecraft Bedrock edition.
How To Effect An Exact Area In Minecraft
This command is brilliant for getting and exact area of which to effect a player or entity or even block in Minecraft. You can of course set a radius command however this effects blocks in a circular motion around the spot rather than an exact area which you want it to effect. For instance a square, rectangle or other shapes.
Understanding What X Y Z Coordinates Mean
First lets understand the coordinates as you will need to know this before using the dx dy dz in Minecraft to show an excite area.
In bedrock edition you need to switch on your coordinates so you can see where your players coordinates are. You can do this by your pause menu, or you can use the command.
/gamerule showcoordinates true
Once you have them enabled you can see exactly where your player is stood. On the top left you will see 3 numbers for example you might see.
120 60 -190
It goes in this order X Y Z So 120 is on the X axis, 60 is on the Y axis (height) and -190 is on the Z axis.
Now you can identify exactly where your player is on my map. So lets find out how to use this with dx dy dz to effect a specific area.
Using Your DX DY DZ To Plan Radius
So for example lets say green is the X and yellow is Z. The Y is the height of the player so I won’t include it in this map. Lets say the height (Y) is 50 as an example.
The red dot is sitting on X=5 the Y=50 and Z=3 this gives you your exact location.
Now lets say you want to make a cube to the right of where your stood to cover this area (picture below)
So let’s say you want to give an effect at everyone in this area? Lets find out by doing an effect command.
Lets start the command with /effect @a and now we have to specify the exact location to effect the player.
First we need our coordinates where we start (the red dot) so /effect @a [x=5,y=50,z=3.…..
Now we follow it with the distances away or from the original position. So dx is how far up or down from where we started. If you count up it counts 3 blocks away from the red starting square
Just be aware that if it went downward on the map you would be going in minus, so -1 -2 -3 ect.
Now lets figure out our DY, this is simply the height so lets say we want it to effect everyone from the Block where your feet are to your head. So 3 blocks height should do that. dy=3
Now lets update the command. /effect @a [x=5,y=50,z=3,dx=3,dy=3,dx=?
For the last part we need to figure out what the dx is. As you can see we move in a positive direction 4 blocks to the right.
And again to clarify if it were going toward the left it would be in the minus so -4. How ever we were 4 blocks to the right so dz=4.
/effect @a [x=5,y=50,z=3,dx=3,dy=3,dz=4]
Now for this command lets finish it off with a command to give someone slowness in this area.
/effect @a [x=5,y=50,z=3,dx=3,dy=3,dz=4] slowness 10 10
Now anyone in this area will be effected with slowness for 10 seconds for 10 strength.
You can also effect a different number of people by adding a player count. Leaving it empty will effect everyone but for example if you want it to be for only one person you can finish it with c=1
/effect @a [x=5,y=50,z=3,dx=3,dy=3,dz=4c=1]
Other Examples For The Radius Commands
You can also use this give people items within an area:
/give @a [x=5,y=50,z=3,dx=3,dy=3,dz=4] stone 5
You can use this to teleport players when they reach specific areas:
/tp @a [x=5,y=50,z=3,dx=3,dy=3,dz=4] 100 60 120
Check Out Some Of Our Other Blogs
- How To Use the /alwaysday command in Minecraft: Bedrock EditionEasy Minecraft tutorial for the /alwaysday command in bedrock edition. What Is The /alwaysday command used for? This bedrock command is used to keep the daytime cycle frozen. In Minecraft …
- How To Install Forge 1.19 | Minecraft TutorialsWith the new Minecraft 1.19 version released its time to update the our forge and install forge 1.19 to get all the latest mods and Modpacks. How To Add Mods …
- How to Create Custom Commands in Multicrafthttps://www.seekahost.co/how-to-create-custom-commands-in-multicraft/ Learn how to easily create custom commands that players can type in game using multicraft. Tutorial from SeekaHost Minecraft server hosting company showing you how to use the multicraft …
- How To Setup A Forge Server With Mods and Install The Mods on Your Pchttps://www.seekahost.co/how-to-setup-a-forge-server-with-mods/ A complete guide on how to install modded server and add mods to it so you can join and play with your friends read more… Key Features: How to …
- Setting Up Your Cross Platform Server With SeekaHosthttps://www.seekahost.co/setup-cross-platform-server/ Final setup steps to configuring your cross platform server with SeekaHost Minecraft to play with both Bedrock and Java players. Using our new 1 click installation you can have …