Перейти к содержимому
Mineforgian

Entity Numbering

adds cumulative numbering to entities in Minecraft by species and provides death message broadcasting functionality.

Загрузки
220
Подписчики
0
Обновлён
22 августа 2024 г.
Лицензия
MIT

Опубликован 19 августа 2024 г.

Entity Numbering Mod

Repository: https://github.com/sch246/entity_numbering

Overview

Entity Numbering Mod is a Fabric mod that adds cumulative numbering to entities in Minecraft by species and provides death message broadcasting functionality.

https://cdn.modrinth.com/data/zl0e8ZO7/images/6e587b61fddaa7a47fa2012c3dc4699a61151330.png

Features

  • Adds unique numbering to entities in the game (can be disabled)
    • Named entities will have the tag: entity_numbering.named, which can also be used to prevent entities from being named
  • Broadcasts entity death messages (can be disabled)
  • Customizable death message broadcast range
  • Customizable separator between entity name and number
  • Special handling for zombies infecting villagers and creeper explosions
  • Added the resetname command to clear names

Known Issues

  • It affects all unnamed living entities in the world, as I currently don't know how to distinguish between pre-existing entities and newly spawned ones

Installation

  1. Make sure you have fabric-api and Fabric loader installed, with loader version >=0.16.0
  2. Download the .jar file of this mod
  3. Place the downloaded .jar file into your Minecraft mods folder
  4. Launch the game!

Configuration

The mod's configuration file should be located at .minecraft/config/entity_numbering.json. You can modify the following settings as needed:

{
  "enableNumbering": true,
  "enableDeathMessages": true,
  "boardcastNeedName": true,
  "boardcastDistance": 128,
  "nameSeparator": " #"
}
  • enableNumbering: Whether to enable entity numbering feature
  • enableDeathMessages: Whether to enable death message broadcasting
  • boardcastNeedName: Whether to broadcast death messages only for named entities
  • boardcastDistance: The range of death message broadcasting (in blocks)
  • nameSeparator: The separator between entity name and number

For debugging purposes, you can open /saves/<world_name>/data/entity_counter.json to modify the current number count for each type of entity

Uninstallation

  • Modify .minecraft/config/entity_numbering.json and set enableNumbering to false
  • Run /resetname @e[tag=entity_numbering.named], make sure all named entities are affected (some entities might be in unloaded chunks)
  • Run /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 a custom name
  • Close the game
  • Delete the entity_numbering-x.x.x.jar file from the mods folder

Compatibility

This mod is compatible with Minecraft version 1.21-1.21.1.

Other versions have not been tested.

Contributions

Issues and pull requests are welcome.

License

This project is licensed under the MIT License.

Ченджлог

1.2.1Релиз1.21, 1.21.1 · 22 августа 2024 г.

Changes

Discovered a mistake in the mod's license name. It should be MIT instead of GPL 3.0.

1.2.0Релиз1.21, 1.21.1 · 20 августа 2024 г.

Added Features

  • Creeper explosions now also have death message broadcasts

Changes

  • Removed unnecessary classes
  • Some minor optimizations
  • Modified the README
1.1.0Релиз1.21, 1.21.1 · 19 августа 2024 г.

Changelog

  • Named entities will now have the tag: entity_numbering.named. This tag can also be used to prevent entities from being automatically named.
  • Added the command resetname <target>, which can be used to clear names.
1.0.1Релиз1.21, 1.21.1 · 19 августа 2024 г.

Features

  • Adds unique numbering to entities in the game (can be disabled)
  • Broadcasts entity death messages (can be disabled)
  • Customizable death message broadcast range
  • Customizable separator between entity name and number
  • Special handling for zombies infecting villagers

Known Issues

  • It affects all unnamed living entities in the world, as I currently don't know how to distinguish between pre-existing entities and newly spawned ones

Комментарии

Загружаем…