
Replenishing Flora
Every 10 ticks, grass patches have a 2% chance to plant biome-specific small flora (e.g., grass, berries) on empty blocks. Trees also run a 1% chance every...
00—FreeneoforgeServer1.21.1mod
- Replenishing Flora now runs as a dedicated-server mod (mod id
replenishingflora). Every 10 ticks it rolls two lightweight actions: a 2% roll to enrich grass and a 1% roll to seed saplings. - Grass enrichment: picks a random nearby surface around an online player; if the top block is grass with air above, it places biome-appropriate small flora using the biome’s flower features/grass bonemeal placement, with a taiga-only chance to drop a sweet berry bush.
- Sapling seeding: picks a nearby surface around a player and, when the spot is clear, places a sapling that matches the biome’s native tree configuration (log type → sapling mapping), caching selections per biome to stay fast.
- No client-side code or custom registry entries were added; assets folder remains empty to stay server-only.
- Notes/limits: effects only run while players are present and sample the top motion-blocking surface near them; biomes without detectable tree features fall back to oak saplings.