跳到正文

Water Pressure

作者:RoarkCats

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

收藏

介绍

中文介绍正在准备中,下面暂时显示原文。

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

常见问题

Water Pressure 支持哪些 Minecraft 版本?

Water Pressure 支持 Minecraft Java 版 1.20–1.20.6,共 7 个版本,可用的加载器:Fabric / Forge / NeoForge / Quilt。下载时注意选择和你游戏版本一致的文件。

Water Pressure 怎么安装?

新建世界时在「数据包」里把下载的 .zip 拖进去;已有的存档,把文件放进存档目录下的 datapacks 文件夹,进游戏输入 /reload 即可生效。服务器同样放在世界目录的 datapacks 里。

评论

登录后评论和评分

RoarkCats 的其他作品

查看全部 →