Sprache

Water Pressure

Water Pressure

Modrinth

Adds water pressure, damaging players the deeper they dive without sufficient protection from armor

141 Downloads 2 Follower aktualisiert 14mo ago
neueste v1.0.2 Modrinth
Datapack 1.20 – 1.20.6 AdventureGame-mechanics

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

Versionen

Release
1.0.2
datapack · 1.20, 1.20.1, 1.20.2 · 14mo ago
- Added `vehicle_pressure_blacklist` entity tag, allowing defined vehicles to make the player immune to all pressure effects - Added support for…
115
Release
1.0.1
datapack · 1.20, 1.20.1, 1.20.2 · 15mo ago
- Improved Minecraft version compatibility for all 1.20.x versions - Made/added both `grass` and `short_grass` as not required in the `air` block tag to expand…
11
Release
1.0.0
datapack · 1.20, 1.20.1, 1.20.2 · 15mo ago
15

Kommentare 0

Noch keine Kommentare. Sei der Erste, der seine Meinung teilt.

Herunterladen Water Pressure

Dateien werden direkt von der Originalquelle bereitgestellt. Modgrid hostet oder verändert sie nicht.