# Physis v0.1.0 — Changelog
## 🌼 New Feature: Golden Dandelion — Environmental Freeze
A new powerful flora item has been introduced: the **Golden Dandelion**. When placed, it creates a **10-block radius frozen zone** that completely halts all plant growth and propagation within its area of effect.
### Freeze Mechanics
- **Complete Growth Suppression** — All saplings within the frozen zone are prevented from growing into trees, even with Bone Meal.
- **Bone Meal Blocked** — Bone Meal has no effect on any plant, crop, or sapling inside the frozen area.
- **Vegetation Spread Halted** — Grass, flowers, bushes, moss, vines, and all other vegetation will no longer spread or propagate within the zone.
- **Mod-Driven Expansion Frozen** — The mod's own forest expansion, edge growth, and vegetation distribution systems fully respect the frozen zone.
### Visual & Audio Feedback
- **Placement Effects** — When placed near active flora, a spinning particle ring (`END_ROD`) animates around the 10-block perimeter, accompanied by a beacon deactivation sound.
- **Freeze Particles** — Snowflake and End Rod particles appear on a random sample of affected plants, indicating the freeze effect. Limited to 15 blocks max to maintain performance.
- **Unfreeze Particles** — Upon removal, Happy Villager and Composter particles bloom on affected flora, symbolizing the return of growth.
- **Sound Design** — Subtle beacon sounds play on placement and removal (volume 0.8), providing clear auditory feedback without being intrusive.
### Smart Flora Detection
- **Intelligent Scanning** — The system scans the 10-block radius for actual vegetation before activating effects. Placing the dandelion on barren terrain triggers no visual or audio feedback.
- **Tree Validation Integration** — Uses the mod's existing `TreeValidator` system (BFS algorithm) to distinguish real natural trees from player-built wooden structures. Wooden houses will not trigger the effect.
- **Self-Exclusion** — The Golden Dandelion itself is excluded from flora detection, preventing false positives.
### Exceptions (Intentional)
- **Leaf Litter** — Trees within the frozen zone will continue to drop leaf litter naturally.
- **Cherry Petals** — Cherry trees will still shed pink petals on the ground beneath them.
> These cosmetic drops are preserved to maintain visual atmosphere without affecting gameplay balance.
### Technical
- Extracted all Golden Dandelion logic into a dedicated `GoldenDandelionHandler.java` class for clean code separation.
- Added `BoneMealItemMixin` to intercept bone meal application at the engine level.
- Added `getValidTreeBlocks()` to `TreeValidator` for reusable tree block collection.
- Particle sampling uses Fisher-Yates shuffle for unbiased random selection.
- All area scans run only on placement/removal events — zero per-tick overhead.
Developer information
Projects on Modrinth are automatically available through a Maven repository for use with JVM build tools such as Gradle.
maven { name = "Modrinth"; url = "https://api.modrinth.com/maven" }