Menu

1 / 5

How to See and Count Entities in Minecraft

DEV Community: java·Marco Starker·2 days ago
#C7Wek49I
#devtojava#devto#dev#minecraft#entities
Long article (821 words) — no AI summary yet.
Reading 0:00
15s threshold

In short

In Java Edition, the debug screen ( F3 ) shows the entity count: the line E: 23/180 means 23 entities in your field of view out of 180 loaded ones. Since Minecraft 1.21.9 this line is off by default. Turn it on with F3 + F6 . On top of that:

F3 + B shows the hitboxes of all entities around you.

/execute if entity @e[type=minecraft:zombie] counts all loaded zombies.

/effect give @e[type=minecraft:zombie,distance=..64] minecraft:glowing 60 makes them glow through walls.

For a whole server with a map and statistics in the browser I built minecraft-entity-view , but only for Minecraft 1.21.8.

What counts as an entity?

Entities are everything in the world that is not a block: mobs and animals, players, dropped items, experience orbs, arrows, boats, minecarts, armor stands and item frames.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.