Elementium Sign in

Count nearby

How many entities of a kind are near a location, within some blocks.

Try it on your server

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

Example

Every minute → If Count nearby minecraft:zombie is less than 5 → Spawn an entity.

Also called

count, how many mobs, mob count, entities near

Works as a data pack?

Yes. A vanilla data pack does this exactly as the plugin does.

What you give it

What it gives back

Related

All Minecraft elements