Count entities in a world
How many mobs and other entities of a kind are alive in a world. Players are not counted.
A Minecraft element (a value) in World & blocks. Needs the Basic plan or higher to go live; building and testing are free.
Example
Every minute → Count entities in a world: minecraft:zombie → If over 100 → Remove some.
Also called
entity count, mob count, how many zombies, lag, cap
Works as a data pack?
No. This one needs the Elementium plugin on a Paper server.
What you give it
- World
- Type
What it gives back
- Count