Count nearby
How many entities of a kind are near a location, within some blocks.
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
- Near
- Within
What it gives back
- Count