Back to mods
Hatchable project artwork

Modrinth · Minecraft mod

Hatchable

Automatically hatches eggs or any configured item before they despawn.

Choose a version Pick your version below, then grab the matching file.

Quick answer

Which Hatchable release matches 24w33a?

Updated 28 days ago
Best match for your filters 1.1.0+mod
Game version 1.21, 1.21.1, 24w33a
Loader Fabric, Forge, NeoForge

Hatchable 1.1.0+mod targets 1.21, 1.21.1, 24w33a with Fabric, Forge, NeoForge. Installation on the client is optional. Installation on the dedicated server is optional. No extra mods listed for this file.

Where it goes

Is Hatchable required on the client, server, or both?

Installation on the client is optional. Installation on the dedicated server is optional.

Client Optional
Dedicated server Optional
Loader for this release Fabric, Forge, NeoForge
Required install it here Optional supported, not mandatory Not supported do not install here Source doesn’t say do not assume

The source marks this as usable on both the client and server.

What else does Hatchable 1.1.0+mod need?

1.1.0+mod on 24w33a. Every mod below is checked against that same setup.

No extra mods listed for this file

This file does not list any required mods. Do not add a library just because a different file uses it.

This file does not list any required or optional mods.

Before you install it

Add Hatchable without breaking your instance.

Built for Hatchable 1.1.0+mod on 24w33a. Pick another file and the loader, install side or required mods may change.

  1. 01

    Stick to this file

    Use 1.1.0+mod. It targets 1.21, 1.21.1, 24w33a with Fabric, Forge, NeoForge; another release may have different loader, side or dependency requirements.

  2. 02

    Bring the mods it needs

    This file does not list any required mods. Do not add a library just because a different file uses it.

  3. 03

    Put it on the correct side

    Installation on the client is optional. Installation on the dedicated server is optional.

  4. 04

    Pick the file you checked

    Use the “Get this file” button beside 1.1.0+mod. It opens that exact file at the source.

About this project

What does Hatchable add?

Hatchable

What it does

Hatchable automatically hatches dropped eggs shortly before they would despawn. By default, eggs hatch into baby chickens 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.

Default Behavior

By default:

  • 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:density_entities 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.

Customization

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

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

A rule can use:

  • 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.
  • entity_data for data merged into the spawned entity.
  • chance, minimum_item_age, entity_age, density_limit and density_range 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 entity_data compounds merge.

A successful hatch needs a final resolved entity.

Inherited Item Data

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

A matching minecraft:entity_data 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 entity_data can override inherited values.

Tags

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

Edit #hatchable:density_entities 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 controlled by Hatch Mappings, so custom items do not need to be added to #hatchable:eggs when a mapping already matches them.

Uninstallation

Use /function hatchable:uninstall to remove its persistent data if you ever need to remove the datapack.

Project description from Modrinth.

Pick your setup

Hatchable by Minecraft version and loader

Choose the version and loader you play, then open the matching release.

193 available setups

Showing the newest 12 of 41 game versions. Older files are in the list below.

Check the dependencies, then try the file in a copied instance before changing a world you care about.

Recent files

Hatchable versions and loaders

2 of 5 releases match
Clear filters

Looking for an older file? The official Modrinth project page is in Resources.