Links
Tags
Creators
Details
0.1.0
Compatibility
Changes
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
TreeValidatorsystem (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.javaclass for clean code separation. - Added
BoneMealItemMixinto intercept bone meal application at the engine level. - Added
getValidTreeBlocks()toTreeValidatorfor 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.
Projects on Modrinth are automatically available through a Maven repository for use with JVM build tools such as Gradle. To learn more about the Modrinth Maven API, click here.
Note: When available, you should use the creator's maven repo instead as it will have transitive dependency information that the Modrinth Maven API does not. You may also end up with duplicate dependencies if you use a mix of Modrinth and non-Modrinth Maven repositories for your dependencies, because the group identifier will be different when served through the Modrinth Maven API.
Maven coordinates:
Version ID:
build.gradle:
repositories {
exclusiveContent {
forRepository {
maven {
name = "Modrinth"
url = "https://api.modrinth.com/maven"
}
}
// forRepositories(fg.repository) // Uncomment when using ForgeGradle
filter {
includeGroup "maven.modrinth"
}
}
}
// Standard Gradle dependency
dependencies {
implementation "maven.modrinth:Gtb9Gop8:QlILX1q3"
}
// Legacy Loom dependency
dependencies {
modImplementation "maven.modrinth:Gtb9Gop8:QlILX1q3"
}

