Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix mana bottle effects #4548

Merged

Conversation

TheRealWormbo
Copy link
Collaborator

Fixes #4523:

  • placing water no longer deletes blocks; replaceable blocks are replaced, waterloggable blocks are waterlogged, or water is potentially placed one block higher
  • dropping the entire inventory as the last use of the bottle no longer drops a single-use mana bottle in addition to also giving the player an empty bottle

- placing water no longer deletes blocks; replaceable blocks are replaced, waterloggable blocks are waterlogged, or water is potentially placed one block higher
- dropping the entire inventory as the last use of the bottle no longer drops a single-use mana bottle in addition to also giving the player an empty bottle

Also refactored the implementation to be a bit more modular.
@TheRealWormbo TheRealWormbo force-pushed the 1.20-mana-bottle-water-fix branch from dd731cd to ae257f5 Compare March 22, 2024 20:01
@TheRealWormbo TheRealWormbo merged commit e119ab6 into VazkiiMods:1.20.x Mar 22, 2024
1 check passed
@TheRealWormbo TheRealWormbo deleted the 1.20-mana-bottle-water-fix branch March 22, 2024 20:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

Mana in a Bottle effect replaces any block with water
1 participant