TransWikia.com

How to /execute from nearest gold block

Arqade Asked on June 30, 2021

I want to /execute a command from the nearest gold block to a command block within a certain range. Is this possible and how can I do it?

One Answer

Does /execute positioned do what you want?

e.g. for a gold block at X=0 Y=64 Z=0:

execute positioned 0 64 0 run <command>

Answered by JamesTheAwesomeDude on June 30, 2021

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP