Elementium Sign in

Distance

How many blocks apart two locations are, in a straight line. Empty when they're in different worlds.

Try it on your server

A Minecraft element (a value) in World & blocks. Needs the Basic plan or higher to go live; building and testing are free.

Example

When a player moves to another block → If Distance from spawn is more than 100 → Show an action bar line.

Also called

how far, range, between, near

Works as a data pack?

No. This one needs the Elementium plugin on a Paper server.

What you give it

What it gives back

Related

All Minecraft elements