George 30e680b650 Add VEGETATION_DIES world effect — trees and plants visibly die under bad conditions
WorldEffectType: new VEGETATION_DIES variant.

WorldEffectsModule: emits VEGETATION_DIES whenever soilQuality < 20 OR
pollutionScore > 30, mirroring VegetationModule's bad-conditions gate so
block changes stay in sync with the data-layer die-off. Intensity is the
max of the soil-shortage and pollution-excess fractions.

NeoForgeWorldEffectExecutor.killVegetation():
- Detects tree canopy by comparing MOTION_BLOCKING (includes leaves/logs)
  height vs MOTION_BLOCKING_NO_LEAVES (ground) height.
- When canopy is present: strips all leaf blocks downward from the canopy
  top; at intensity > 0.3 also removes upper trunk log sections, leaving
  bottom two blocks as a visible stump.
- When no canopy: clears surface plants (short grass, fern, tall grass,
  large fern, saplings, dandelion, poppy).

Previously the simulation correctly tracked vegetation pressure dropping
to zero but the Minecraft world remained a full forest, so there was no
visible feedback for degradation. /lw demo degrade now visibly kills the
forest canopy while the succession stage regresses.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-07 22:32:23 +01:00
2026-06-07 12:18:45 +01:00
2026-06-07 12:18:45 +01:00
2026-06-07 12:18:45 +01:00
2026-06-07 12:18:45 +01:00
2026-06-07 12:18:45 +01:00
2026-06-07 12:18:45 +01:00
2026-06-07 12:22:59 +01:00
2026-06-07 12:18:45 +01:00
2026-06-07 12:18:45 +01:00
2026-06-07 12:18:45 +01:00
S
Description
No description provided
42 MiB
Languages
Java 75%
HTML 24%
JavaScript 0.6%
CSS 0.4%