Acid Rain
The modification offers interesting gameplay mechanics for survival and events, increasing environmental challenge complexity. Players begin taking damage from acid rain or when immersed in water.
Key Features
- Acid rain and water damage - Players receive constant damage during rain or while submerged in water
- Customizable parameters - Damage amount and application interval can be adjusted via control commands
- Armor bypass - Damage penetrates standard protection, though protection enchantments remain effective
- Difficulty adaptation - Like mob damage, injuries increase based on world difficulty level
- No knockback - Received damage doesn't cause repelling effect
- Slight exhaustion - Each damage instance includes minor hunger depletion (0.1 hunger unit)
- Immediate impact - Damage applies constantly, regardless of other injuries such as fire damage
Available Commands
Operator privileges are required (access level 2 or higher):
-
/acid on [interval] [damage]- Activates acid rain and water damageinterval- Time in ticks between damage instances (default 10 ticks, or 0.5 seconds)damage- Amount of damage dealt per session (default 1.0 unit)- Example:
/acid on 20 0.5enables system dealing 0.5 damage every second
-
/acid off- Completely deactivates acid rain mechanics -
/acid status- Displays current activity settings: system on/off, damage value and time interval
Technical Details
The modification uses its own damage type and registers ServerTickEvents.END_SERVER_TICK handler that processes all active players in each playable server world every game tick.
Code Examples
// Setting damage application interval
int damageInterval = 10; // default 10 ticks
float damageAmount = 1.0f; // standard damage
Developer's note: This part shows the mod's basic configurations
Planned Enhancements
- Adding configuration file for default damage settings
- Creating special acid precipitation visualization effects
- Including mobs as factors experiencing acid impact
- Setting separate rain and water parameters
- Multi-language support for options and interface
- Expanding character death messages list
- Individual activation for different worlds
- System setting preservation between game launches