๐ฆ Entity-Related
There are several commands that can be helpful for tracking, counting, and cleaning up entities in your world.
Tracking and Investigating Entity Counts
To profile entity lag, please refer to the โจ Spark Report and Profiler page.
For a quick count of entities in your current world or nearby area:
- Count All Entities in Current World:
/countentities - Count Entities in a Radius:
/countentities <radius>- Example:
/countentities 50
This displays a sorted breakdown of nearby entities grouped by their types (e.g.zombie,item_frame,minecart).
- Example:
Killing and Cleaning Up Entities
To clear lag-causing entities or remove glitched visual displays:
- Standard Target Kill:
/kill <selector> - Kill All Non-Stacked Mobs:
/killall <type> [radius]
Used to clean up non-stacked mobs of a specific type in a radius. - Kill Stacked Merged Mobs:
/mergedmob killall <mob> [radius]
Used to manually kill a stack of merged mobs. Mobs should usually auto-clear every 15 minutes. - Remove Entities in Radius:
/remove <entity> <radius>ho
Removes specified entities in a radius. Example:/remove boat 25. - Extinguish Fire:
/extinguish [radius]
Removes fire in a radius around you. - Clean Up Item Displays (Hologram blocks/Visuals):
Removes custom item display entities within a specific block range:
/killitemdisplays <radius>- Example:
/killitemdisplays 15
Note: Only use this if custom display models are glitched or need immediate clearance, as it permanently removes the display entities.
- Example: