Download Despawning Eggs Hatch (Legacy Fabric) — Minecraft Mods — MetaMods

Despawning Eggs Hatch (Legacy Fabric)

Active

Downloads

2

Last update

1 year ago
Client
Adventure

Despawning Eggs Hatch (Legacy Fabric) - Chicken Eggs Hatch Before Despawning

This mod is a simple yet functional addition that allows chicken eggs to hatch into chicks right before they disappear from the world. It requires the Collective (Fabric) library mod and Fabric API to work.

Main Features

The mod prevents infinite chicken breeding by limiting the maximum number of new spawns to 50 by default. Eggs despawn after 6000 ticks (5 minutes), and it's at this moment that hatching can occur. By default, a chick only appears if the egg is placed on a hay bale, which prevents uncontrolled growth of wild chicken populations in loaded chunks.

Configuration

eggOnlyHatchesWhenOnTopOfHayBlock (default = true): When enabled, an egg will only hatch when placed on a hay bale. This prevents unexpected expansion of wild chicken colonies.

eggWillHatchChance (default = 1.0, min 0, max 1.0): The chance that an egg will hatch before despawning if the entity limiter is not active.

onlyHatchIfLessChickensAroundThan (default = 50, min 0, max 1000): Prevents too many entities from spawning. An egg will only hatch if there are fewer chickens than specified here within the 'radiusEntityLimiterCheck' blocks radius.

radiusEntityLimiterCheck (default = 32, min 1, max 256): The radius around the despawning egg for checking 'onlyHatchIfLessChickensAroundThan'.

newHatchlingIsBaby (default = true): When enabled, the hatched chick will be a small baby chicken.

Visual Examples

Before (with 'eggOnlyHatchesWhenOnTopOfHayBlock' disabled): Before

After: After

Animated demonstration of egg hatching (despawn timer set to 1 second for the example): Hatching GIF

This is the version for Legacy Fabric 1.16 and 1.17. New files and updates have been moved to the main project page.

Project members
Serilum

Serilum

Created: 2 Oct 2022

ID: 38879