Minecraft – Use armor stand location on bedrock

minecraft-bedrock-editionminecraft-commands

As you know, you can teleport to an armor stand with /tp @s [type=armor_stand] (or something along the lines of that.)

But, I'm trying to use the armor stand location in a /fill command where I use it as the "to" section (e.g. /fill ~ ~ ~ [armor stand location here])

I'm on bedrock and I'm not sure how to use it.

Best Answer

There are a few ways you can do it, I'm going to try to not be confusing and I'll explain each step.

3x3x3 fill of a type of block:

/execute @e[type=armor_stand] ~ ~ ~ <gets armor stands coorinates>

/execute @e[type=armor_stand] ~ ~ ~ fill ~-1 ~ ~-1 ~1 ~3 ~1 -{block of choice}-
<fills x-1 y-0 z-1 and x+1 y+3 z+1 with block of choice>

Fill from the armor stand to a certain point:

/execute @e[type=armor_stand] ~ ~ ~ fill ~ ~ ~ -{x}- -{y}- -{z}- -{block of choice}-

If you're attempting to make a tool to fill from one stand to another that I don't think is even possible. Hope this helped ;)

Related Topic