The NEW Modrinth Technologies™ website BETA is now live!!Learn moreTry it out
Despawning Eggs Hatch

Despawning Eggs Hatch

🥚 Chicken eggs on hay blocks hatch safely into chicks just before they despawn.

Server FoodGame Mechanics Mobs

829 downloads
10 followers
Created7 months ago
Updated17 days ago

External resources



Project members

Serilum

Owner


Technical information

License
ARR
Client side
optional
Server side
required
Project ID



Requires the library mod Collective.

     This mod is part of The Vanilla Experience.
Despawning Eggs Hatch is a minimalistic configurable mod which allows chicken eggs on the ground to hatch just before they despawn. New spawns will be limited to 50 by default, in order to prevent infinite chicken spawns. Items (and eggs) despawn after 6000 ticks, 5 minutes. By default a chicken will only spawn when the egg despawns when on top of a hay block. This prevents groups of wild chicken groups in loaded chunks from getting too big.


Configurable: ( how do I configure? )
eggOnlyHatchesWhenOnTopOfHayBlock (default = true): When enabled, an egg will only hatch when it is laid on top a hay block. This prevents wild chicken colonies from expanding without your knowledge.
eggWillHatchChance (default = 1.0, min 0, max 1.0): The chance an egg will hatch just before despawning if the entity limiter is not active.
onlyHatchIfLessChickensAroundThan (default = 50, min 0, max 1000): Prevents too many entities from hatching. A despawning egg will only hatch if there are less chickens than defined here in a radius of 'radiusEntityLimiterCheck' blocks around.
radiusEntityLimiterCheck (default = 32, min 1, max 256): The radius around the despawned egg for 'onlyHatchIfLessChickensAroundThan'.
newHatchlingIsBaby (default = true): If enabled, the newly hatched chicken is a small chick.


Before (with 'eggOnlyHatchesWhenOnTopOfHayBlock' disabled):


After:



A GIF showing the egg hatching (with the despawn timer set to 1 second for the example):


------------------

You may freely use this mod in any modpack, as long as the download remains hosted within the Modrinth ecosystem.

Serilum.com contains an overview and more information on all mods available.

Comments are disabled as I'm unable to keep track of all the separate pages on each mod.
For issues, ideas, suggestions or anything else there is the Github repo. Thanks!