
Water Pressure
Adds water pressure, damaging players the deeper they dive without sufficient protection from armor
- Загрузки
- 149
- Подписчики
- 2
- Обновлён
- 31 марта 2025 г.
- Лицензия
- Apache-2.0
Опубликован 24 марта 2025 г.
Water Pressure
A simple but fleshed out datapack that adds water pressure, damaging players the deeper they dive without sufficient protection from armor! Dynamically detects water depth in any pool based on the number of water blocks above the player.
Pressure Effects
Pressure damage and effects are applied as the player decends past their limits set by the offset and their armor
| Depth | Dmg | Effects (Cumulative) |
|---|---|---|
| >= 1 | 1 | Difficulty swimming |
| >= 6 | 2 | Nausea |
| >= 11 | 3 | |
| >= 16 | 4 | Blindness |
| >= 26 | 5 |
Config
Several config options are made available to the player through scoreboard commands
- Show Settings:
/scoreboard objectives setdisplay sidebar watpr - Change Setting:
/scoreboard players set $offset watpr 20 - Hide Settings:
/scoreboard objectives setdisplay sidebar
| Setting | Description | Default | Values |
|---|---|---|---|
| $offset | Depth in blocks before pressure is applied | 16 | -1000 ~ 1000 |
| $armor_mult | Armor offset multiplier percentage | 150 | >= 0 |
| $toughness_mult | Armor Toughness offset multiplier percentage | 250 | >= 0 |
| $total_mult | Total multiplier percentage for armor/toughness | 115 | >= 0 |
| $damage_diff_scaling | Toggles damage difficulty scaling (If enabled, disables damage in peaceful) |
1 | 0 ~ 1 |
You can also add to the vehicle_pressure_blacklist by modifying the file in data/watpr/tags/entity_types/
License
- This project is licensed under the Apache License 2.0. See the LICENSE file for details.
- This project can be packaged into any server or modpack you'd like
Ченджлог
1.0.2Релиз1.20.4, 1.20.5, 1.20.6 · 31 марта 2025 г.
- Added
vehicle_pressure_blacklistentity tag, allowing defined vehicles to make the player immune to all pressure effects - Added support for
alexscaves:submarineif present
1.0.1Релиз1.20.4, 1.20.5, 1.20.6 · 27 марта 2025 г.
- Improved Minecraft version compatibility for all 1.20.x versions
- Made/added both
grassandshort_grassas not required in theairblock tag to expand compatibility - Added the
fluidskey to thewaterpredicate, keeping thefluidkey to expand compatibility - Updated
pack.mcmetawith compatible formats
Комментарии
Загружаем…