Let turtles lay eggs that hatch into baby turtles

A bred turtle now carries an egg instead of the baby appearing at once.
She walks home, digs into sand for a while and lays a turtle egg there.
A hatching egg gives one baby turtle per egg with the egg as its home,
and a baby that grows up drops a scute.
This commit is contained in:
Kacpherek
2026-10-26 14:39:16 +01:00
parent b78daab11c
commit bd59cdc25c
8 changed files with 318 additions and 3 deletions
+7
View File
@@ -68,6 +68,7 @@ pub mod tame;
pub mod trader;
pub mod transport_items;
pub mod trial_spawner;
pub mod turtle;
pub mod undead;
pub mod vex;
pub mod villager;
@@ -1151,6 +1152,12 @@ pub enum MobEvent {
DigParticles {
at: [f64; 3],
},
/// `LevelEvent.PARTICLES_DESTROY_BLOCK` (2001) at `pos` for the block at
/// `block`: a turtle's digging.
BlockBreakEffect {
pos: [i32; 3],
block: [i32; 3],
},
/// `Warden.applyDarknessAround`: darkness for survival players nearby.
Darkness {
at: [f64; 3],