ALL Death Messages

Category-based death messages for every entity.

Редакция NLZONE · 2 мин чтения · 1 просмотр
ALL Death Messages
Скачать ALL Death Messages1.19.4 – 26.3 · с официальной страницы: modrinth.com
Перейти к загрузке

Что это

Category-based death messages for every entity.

  • Тип: мод
  • Загрузчик: fabric
  • Версии Minecraft: 1.19.4 – 26.3
  • Скачиваний на Modrinth: 7 129

Подробно

Overview Enables death messages for several categories of mobs, and add colours to their names in death messages. Messages use the same texts as vanilla death messages.

For each category, separate kill and death gamerules are generated.

Custom mob categories must be defined in a config file. There is currently no config screen.

Built-in categories based on mob properties. Custom categories are based on entity types.

A death message will appear if its victim belongs to an enabled death rule, or if any of its recent assailant has an enabled kill rule. A mob may belong to multiple categories; it will trigger a death message if any of them has its rule enabled.

Built-in categories - all: Applies to everything. When enabled, this overrules all other categories. - player: Players are excluded from every other built-in categories below. - named: Mobs that have been given a custom name. - tamed: Includes both tamed pets and tamed mounts. Messages will still be broadcast to all players regardless of ownership. - ephemeral/persistent: Mobs that will/won't naturally despawn. - passive/hostile: Mobs that are allowed/disallowed in Peaceful difficulty.

Custom categories Custom categories are defined in .minecraft/config/alldeath-rules.json.

Each key in the root object is used as a category name. The associated value is an array of strings, representing the entity types that can trigger the gamerule.

This example is provided as the default config file: json { "utility": [ "minecraft:allay", "minecraft:irongolem", "minecraft:snowgolem", "minecraft:villager", "minecraft:wanderingtrader" ], "boss": [ "minecraft:enderdragon", "minecraft:elderguardian", "minecraft:warden", "minecraft:wither" ] }

Mob names in death messages can have different colours and styling applied. Styles can be based on the same categories used in gamerules (both built-in and user-defined), or can be based on anonymous lists of entity types that don't correspond to any gamerule.

The way styles are applied is similar to CSS stylesheets, except in Json and in reverse order. When multiple styles match a mob, they will all be combined, and the topmost style takes priority in case of conflicts.

Styles are defined in the config file .minecraft/config/alldeath-styles.json, as an array of Json Object. Each object may contain the following properties: - (Mandatory) rule: The mobs that will have the style applied - If it is a string, it will be treated as the name of a mob category. (Either built-in or custom.) - If it

Как установить

Скачайте файл на официальной странице ниже и положите его в папку mods (для модов) или plugins (для плагинов) вашего сервера или клиента. Для модов нужен совместимый загрузчик. Версия должна совпадать с версией Minecraft.

Текст подготовлен автоматически из описания на Modrinth и ждёт проверки редакцией.

Редакция NLZONE

Пишем о серверах, модах и играх, в которые играем сами. Нашли ошибку — напишите нам, исправим.

Комментарии 0

Комментарии к этому материалу отключены.

Читайте также