Download Entity Numbering — Minecraft Mods — MetaMods
Entity Numbering

Entity Numbering

Active

Downloads

0

Last update

1 year ago

Versions

1.21 — 1.21.1
Server
Fabric
Game mechanics
Utils

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.

Entity numbering example

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

  1. Make sure you have fabric-api and Fabric loader version 0.16.0 or higher installed
  2. Download the .jar file of this mod
  3. Place the downloaded file in your Minecraft mods folder
  4. 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 system
  • enableDeathMessages - enable death notifications
  • boardcastNeedName - notify only about death of named entities
  • boardcastDistance - 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

  1. In the file .minecraft/config/entity_numbering.json, set enableNumbering to false
  2. Execute the command /resetname @e[tag=entity_numbering.named], make sure all named entities are affected (some may be in unloaded chunks)
  3. 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
  4. Close the game
  5. Delete the entity_numbering-x.x.x.jar file from the mods folder

Compatibility

The mod is compatible with Minecraft versions 1.21-1.21.1.

Other versions have not been tested.

Project members
sch246

sch246

Developer

Created: 21 Aug 2024

ID: 50783