Expand description
Vanilla turtle egg block behavior.
Turtle eggs are placed in clusters of one to four in a single block space. While sitting on sand they slowly crack (three stages) and then hatch, and they are trampled by most living entities that walk or fall onto them.
StructsΒ§
- Turtle
EggBlock - Behavior for vanilla turtle eggs.
ConstantsΒ§
- BASE_
HATCH_ πCHANCE - Base per-random-tick chance that an egg advances a cracking stage.
- EGGS π
- FALL_
TRAMPLE_ πODDS - One in this many chance to trample an egg by falling onto it.
- HATCH π
- HATCH_
WINDOW_ πEND - End (exclusive) of the pre-dawn window where eggs always advance.
- HATCH_
WINDOW_ πSTART - Start (inclusive) of the pre-dawn window where eggs always advance.
- MAX_
EGGS π - Maximum number of eggs that can occupy a single block space.
- MAX_
HATCH_ πLEVEL - Cracking stages a turtle egg passes through before it hatches.
- OVERWORLD_
TIMELINE_ πTAG - Dimension timeline tag that carries the day timeline. Only dimensions on this
tag (the overworld and its caves variant) apply the pre-dawn hatch boost;
nether and end eggs stay at the base chance, matching vanillaβs per-dimension
resolution of the
gameplay/turtle_egg_hatch_chanceattribute. - STEP_
TRAMPLE_ πODDS - One in this many chance to trample an egg while standing on it each tick.
- TICKS_
PER_ πDAY - Length of one full Minecraft day, in ticks.
- TURTLE_
EGG_ πPLACEMENT_ PARTICLE_ COUNT - Particle count for the βegg placed on sandβ effect.