v2.0.1 - Hotfix
Curse Maven Snippet
What's new
What's Changed in v2.0.1
🥾 Path Collision & Surface Tracking Fixes
- Sub-Block Y-Offset Collision (
getOnPos): Fixed an issue where walking on non-full blocks (likedirt_pathwith its 15/16 height or sinking blocks likemud) checked the foundation block underneath instead of the path itself. - Decay Lifetime Refresh: Walking over existing dirt paths now reliably refreshes their lifetime on every step, ensuring heavily trafficked roads never unexpectedly decay back to grass under your feet.
- Sub-Surface Trampling Prevention: Eliminated an issue where walking along established paths would unintentionally trample the dirt block beneath the road into an invisible second path layer.
⏳ Chunk Unload Decay Preservation
- Persistent World Memory: Paths in unloaded chunks are now preserved in dimension
SavedDatauntil reloaded, rather than being prematurely discarded. - Natural Wilderness Restoration: Abandoned roads in remote outposts or unvisited dimensions will now properly decay and revert to their natural ground block once you return to the area, rather than freezing into permanent dirt paths forever.
⚡ Roadway Precedence & Safety Guards
- Explicit Conversion Override: If both a self-mapping rule (e.g.
gravel -> gravel) and an explicit conversion rule (e.g.gravel -> dirt_path) are declared, the explicit transformation cleanly takes precedence. - Speed-Only Roadway Immunity: Added an architectural guard ensuring self-mapped roadways (such as gravel, cobblestone, or stone bricks) are permanently immune to being converted into dirt paths through external mod interactions or edge-case calls.
🎨 In-Game GUI Polish & International Usability
- International Decimal Input: The master speed multiplier input now supports both period (
0.2) and comma (0,2) decimal separators, eliminating silent input drops on international keyboard layouts (German, French, Turkish, Spanish, etc.). - Direct Input Synchronization: Clicking directly into either the source or target text box in the Conversions Screen automatically syncs that slot with the Block Palette, making block selection faster and more intuitive.
🧪 Stability & Automated GameTests
NBT Serialization Null-Safety: Added fallback null-safety during dimension data serialization to safeguard world saves against corrupted or missing target block entries.
Expanded GameTest Suite: Added an 8th in-engine automated GameTest (
selfMappedBlockIsPathBlock) to continuously verify self-mapped road recognition and path conversion immunity.**Bump gradle/actions from 6.3.0 to 6.4.0 by @dependabot[bot] in https://github.com/ahm3tak1f616/Safepaths/pull/11
📦 Download & Installation
- Minecraft Version:
1.21.1 - Mod Loader:
NeoForge 21.1.235+ - File:
safepaths-2.0.1.jar
Full Changelog: https://github.com/ahm3tak1f616/Safepaths/compare/v2.0.0...v2.0.1
This mod has no additional files