v1.0.3
Gameplay bug fixes from #11. Thanks to @Towboy22 for the report.
Fixed
- Dying mobs can no longer be re-hit, and no longer dupe their drops. A mob's death was reprocessed every tick it kept taking damage during its ~1s death animation, re-rolling its loot (and slime splits / raid
bad_omen) each time. Damage is now rejected once an entity enters its death animation, so loot drops exactly once. - Tree leaves drop saplings, sticks and apples when they decay. Leaf decay was destroying the block without rolling its drop table; it now uses the normal natural-break path, matching what breaking leaves by hand already dropped.
Added
- Sleep overlay. Sleeping in a bed now fades the screen to black with a "Sleeping…" prompt instead of freezing silently; press Sneak or Esc to leave the bed.
- Entity contact shadows. A soft dark disc is projected onto the ground beneath living entities — including your own player in third person — fading out as they leave the ground.
- Offhand item use + shield blocking. Right-click now falls back to the offhand item when the main hand does nothing (food, shields, torches, throwables, …), and raising a shield negates frontal melee, projectile and explosion damage.
All 456 golden tests pass; the entity goldens were re-baselined for the no-dupe death behavior.