Hatchable

Automatically hatches eggs into their chicken variants or any configured item/entity before they despawn.

Редакция NLZONE · 2 мин чтения · 0 просмотров
Hatchable
Скачать Hatchable1.21 – 26w14a · с официальной страницы: modrinth.com
Перейти к загрузке

Что это

Automatically hatches eggs into their chicken variants or any configured item/entity before they despawn.

  • Тип: мод
  • Загрузчик: datapack, fabric, forge, neoforge, quilt
  • Версии Minecraft: 1.21 – 26w14a
  • Скачиваний на Modrinth: 831

Подробно

Hatchable automatically hatches dropped eggs shortly before they would despawn. By default, eggs hatch into their respective baby chicken variants when resting on blocks such as Hay, Mud, Packed Mud or Mud Bricks.

Its hatch mapping system can also make any configured item hatch into any configured entity.

Items are checked after 5900 ticks. Each egg has an 80% chance to hatch. Spawned chickens are babies. Hatching is blocked when 50 entities from #hatchable:densityentities are already within 20 blocks. All eggs hatch their respective chicken variant.

When the chance fails or the density limit is reached, that item disappears instead of hatching. Items in a stack are handled one at a time.

Use /function hatchable:config to configure:

Hatch chance. Minimum item age. Spawned entity age. Density limit and range. Ordered hatch mappings. Hatch particles and sound. Debug categories and message subscriptions.

Each global hatching value has a Force option. When enabled, mappings cannot override that value.

Settings are divided into General, Feedback and Debug screens. Each setting can be reset individually, or the entire configuration can be restored to its defaults.

Hatch Mappings are ordered rules that decide where, when and what hatches.

items for item IDs or item tags. hatchers for block IDs or block tags. predicate for an additional referenced predicate. entity for the entity type to spawn. entitydata for data merged into the spawned entity. chance, minimumitemage, entityage, densitylimit and densityrange for rule-specific behavior.

Every selector present in a rule must match. Matching rules compose from top to bottom: later scalar values take priority, while entitydata compounds merge.

A successful hatch needs a final resolved entity.

Hatchable can copy compatible data from the item into the entity it creates.

A matching minecraft:entitydata component can provide base summon data. Entity-specific components can also carry variants, sound variants, collars, colors, sizes and patterns into the final entity.

Composed mapping data is applied afterward, so entitydata can override inherited values.

Edit #hatchable:hatchers to change the default blocks on which items can hatch.

Edit #hatchable:densityentities to change which nearby entities count toward the density limit.

The #hatchable:eggs, #hatchable:chicken/eggs and chicken-variant tags organize the default mappings. Hatch eligibility itself is co

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

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

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

Редакция NLZONE

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

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

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

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