Elementium Sign in

Find the nearest block

Look around a location for the nearest block of a type. Ties go to the lowest x, then y, then z.

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 uses a command → Find the nearest minecraft:diamond_ore within 10 → Teleport them there.

Also called

find block, nearest ore, locate block, search, scan around

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