r/MinecraftCommands • u/Reasonable-Sky6808 • 3d ago
Help | Bedrock What am I doing wrong?
Trying to remove a lot of blocks but execute just won't cooperate. Says can't execute fill as null. Tried changing at to as, reducing and increasing the coordinates nothing. I'm on the maximum sim distance too
6
Upvotes
9
u/DqwertyC Command Experienced 3d ago
You're using absolute coordinates instead of relative coordinates, so it's only checking from (-3, -3, -3) to (3, 3, 3) in the world, not around the snowball. If you add a tilde (~) in front of each number, it will use relative coordinates, and fill around the execution position:
1
u/__Stleko_1115__ 3d ago
execute at @e[type=snowball] run fill ~3 ~3 ~3 ~-3 ~-3 ~-3 air replace birch_log
1
u/Nokiojyn 3d ago
Try using @e[type=snowball,limit=1]
1
u/Ip_Amir_I 3d ago
Either it’s a ticking area issue or you need to specify to from @e[type=snowball] to @e[type=snowball,c=1]. Also your coordinates are to specific you need to add the ~3 ~3 ~3 ~-3 ~-3 ~-3 to make it relative to the snowball and not actually at those coordinates and everything in between