auto-replanter-1.1.0.jar
Curse Maven Snippet
What's new
Changelog
All notable changes to this project will be documented in this file.
[1.1.0] - 2025-08-08
Added
- Sneak Mode Control: New
sneakModeconfiguration option that controls when auto-replanting occurs based on player sneak state"ALWAYS"(default): Auto-replanting works regardless of sneak state - maintains backward compatibility"ONLY_SNEAKING": Auto-replanting only works while the player is sneaking - provides precise control over when crops are replanted"ONLY_STANDING": Auto-replanting only works while the player is NOT sneaking - allows disabling auto-replanting by holding sneak
- Invalid sneak mode values automatically fall back to
"ALWAYS"behavior for stability
Benefits
- Precision Farming: Use
"ONLY_SNEAKING"to prevent accidental replanting when walking through farms - Selective Harvesting: Use
"ONLY_STANDING"to easily disable auto-replanting when relocating crops or harvesting without replanting - Backward Compatibility: Existing configurations continue to work with
"ALWAYS"as the default behavior
Technical Details
- Sneak state is checked during the
PlayerBlockBreakEvents.BEFOREevent - Configuration validation ensures only valid sneak mode strings are accepted
- No performance impact - sneak checking is lightweight and only occurs during crop breaking
[1.0.0] - Previous Release
Added
- Initial release with automatic crop replanting
- Dual tool validation system (tag-based and item-specific)
- Configurable tool requirements and damage
- Support for modded crops extending
CropBlock - Comprehensive configuration system
This mod has no additional files

