cobblemon-whiteout-bunny-1.7.1-fabric-1.0.4.jar
Curse Maven Snippet
What's new
Part of the CobblemonBuns series by BunnySenpai
Version 1.7.1-fabric-1.0.4 (Enhanced)
Added - Complete Currency Penalty System
- Currency Penalty on ANY Death: New
currencyPenaltyOnAnyDeathconfig option (default:true)- Applies currency penalty for fall damage, mob attacks, drowning, fire, PvP, and all other vanilla deaths
- Separate from battle death penalty for granular control
- Double-Penalty Prevention: Smart tracking system prevents losing currency twice
- Time-based tracking for battle deaths
- Damage type detection for battle damage sources
- Belt-and-suspenders approach ensures no accidental double penalties
Changed
currencyPenaltyOnDeathdefault changed fromfalsetotrue- Currency system now fully uses command interface (removed JSON file reading)
- Improved logging for currency operations
Compatibility
- Tested with Cobblemon 1.7.1 through 1.7.3
- Works in both singleplayer and multiplayer
Technical Details
- Added
ServerLivingEntityEvents.AFTER_DEATHlistener for vanilla deaths ConcurrentHashMapfor thread-safe penalty tracking across multiple playersformatPlayerNameForCommand()helper for safe command construction- Custom
CommandSourceStackthat captures command output for balance queries
All Relations
- All Relations
- Embedded Library
- Optional Dependency
- Required Dependency
- Tool
- Incompatible
- Include
This mod has no related projects

