Skip to content

Alliegaytor/water-resistance-potion

Repository files navigation

Water Resistance Potion

A minecraft fabric mod that adds a potion of water resistance which gives the effect "water resistance"—negating water damage that isn't drowning.

In vanilla the only usecase for granting an entity water protection is to allow mobs that are hurt by water (e.g. Endermen) to swim in it without taking damage; however, if the Origins mod is installed it will also protect the hydrophobic origins from water.

The potion allows this (non-expansive) list of entities to become immune to water damage:

  • Enderman
  • Blaze
  • Players of an Origin with the "origins:water_vulnerability" power

Brewing recipe:

In a brewing stand, combine an awkward potion with a sponge. To make the potion last longer, add redstone.

The potions are commonly found in the loot of shipwrecks, sometimes in ancient cities, and rarely among other places.

The potion crafting recipe can be changed (to any item in the game) in the mods config file and/or in its modmenu entry.

Supported Minecraft Versions

Minecraft Version Latest Mod Version Currently Supported
1.20.5-1.20.6 1.4.0
1.19.3-1.20.4 1.3.0
1.19.2 1.3.0+1.19.2 X

Older builds for Minecraft versions 1.16, 1.17, and 1.18 are available on Modrinth.

* Open an issue on github or codeberg and I'll most likely update it, but don't expect complete and timely support

Note: PRs updating other versions are more than welcome.

TODO

  • Add water resistance status effect to enchanted golden apples
  • Teach Blazes how to swim? / Decide if it's a feature that they can't swim
  • Error handling & debugging
  • Add potions to loot tables of some modded structures
  • Add support for popular Minecraft versions
    • 1.12.2 (ambitious)
    • 1.7.10 (very ambitious)
  • Localisations

Thanks <3

To these lovely contributors

  • unroman for Ukrainian translation

Useful projects

Thanks to Fallen_Breath for conditional-mixin, allowing this mod to conditionally apply mixins.

owo-lib for their nice simple config api.

License

This project is licensed as LGPL-3.0-only.