

Entity Numbering
This Fabric mod introduces a unique entity numbering system in Minecraft, assigning each mob an individual number based on its species. Additionally, the mod provides entity death notification functionality.
Main Features
- Entity numbering system - automatic assignment of unique numbers to all mobs in the game (feature can be disabled)
- Special tag - named entities receive the
entity_numbering.named
tag, which can also be used to exclude specific entities from the numbering system - Death notifications - broadcasting of entity death messages (configurable)
- Flexible configuration - adjustable notification range and custom separator between entity name and number
- Special cases - special handling for zombies infecting villagers and creeper explosions
- Reset command - added
/resetname
command for clearing names
Technical Features
The mod affects all unnamed living entities in the world, as there is currently no way to distinguish between pre-existing and newly spawned mobs.
Installation
- Make sure you have fabric-api and Fabric loader version 0.16.0 or higher installed
- Download the .jar file of this mod
- Place the downloaded file in your Minecraft
mods
folder - Launch the game!
Configuration
The mod's configuration file is located at .minecraft/config/entity_numbering.json
. The following settings are available:
{
"enableNumbering": true,
"enableDeathMessages": true,
"boardcastNeedName": true,
"boardcastDistance": 128,
"nameSeparator": " #"
}
enableNumbering
- enable entity numbering systemenableDeathMessages
- enable death notificationsboardcastNeedName
- notify only about death of named entitiesboardcastDistance
- message broadcast range (in blocks)nameSeparator
- separator between entity name and number
For debugging purposes, you can open the file /saves/<world_name>/data/entity_counter.json
and modify current number counters for each entity type.
Uninstallation
- In the file
.minecraft/config/entity_numbering.json
, setenableNumbering
tofalse
- Execute the command
/resetname @e[tag=entity_numbering.named]
, make sure all named entities are affected (some may be in unloaded chunks) - Execute the command
/execute as @e[tag=entity_numbering.named] unless data entity @s CustomName run tag @s remove entity_numbering.named
to remove the tag from entities without custom names - Close the game
- Delete the
entity_numbering-x.x.x.jar
file from themods
folder
Compatibility
The mod is compatible with Minecraft versions 1.21-1.21.1.
Other versions have not been tested.