4

How to make a world border with commands?

Chikii2708/25/24 12:42 pm history
4 emeralds 111 2
12/8/2024 3:28 pm
Chikii270
Hiya, currently trying to figure out how to make an 11k by 11k world border. So far ive tried these:

1.
/effect @a[​x=0,y=0,z=0,rm=11000] fatal_poison 1 5

/title @a[​x=0,y=0,z=0,rm=10980] §4 WARNING - World Border

2.
/execute as @a run effect @a unless[​x=-10000,y=-110,z=-10000,dx=21000,dy=600,dz=21000] fatal_poison 1 5

/execute as @a run title @a unless[​x=-10000,y=-110,z=-10000,dx=20080,dy=580,dz=20080] §4 WARNING - World Border

The first cuts off several bases that are in the corner of the map, and the second doesnt work, it just gives poison to everyone inside the area. Can anyone help?
Posted by
Chikii270
Level 6 : Apprentice Peacock
9

Create an account or sign in to comment.

2

ADTminecraft
12/07/2024 4:54 pm
Level 2 : Apprentice Miner
some of these commands arent formatted correctly which could be causing some of the problems
2
Chikii270
12/08/2024 3:28 pm
She/Her • Level 6 : Apprentice Peacock
What would be the correct formatting? I’m not very experienced w command blocks. Also thanks for replying after months lol thought no one would help
1

Welcome