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

Configurable Water Protection #711

Open
wants to merge 1 commit into
base: 1.20.4/dev
Choose a base branch
from

Conversation

sisby-folk
Copy link

@sisby-folk sisby-folk commented Nov 24, 2023

Let's try this one more time!

This PR adds a new block to origins_server.json that allows individual toggling of water protection appearing in the enchanting table, on treasure books, and on treasure gear.

By default, water protection only appears on treasure books - this prevents origins from changing game balance even when human is selected (by reducing the odds to get useful enchantments at the table and on loot gear)

It also adds an option to disable the registration of the water protection enchantment entirely - this is a utility option for modpackers that don't use the water_vulnerability power at all, intended to allow them to ensure that water protection is completely unobtainable - and doesn't appear in recipe viewers or the creative screen.
If toggled by an unaware user, this option will naturally prevent them from joining origins servers due to the registry mismatch, and could potentially cause a crash via an origins addon (though a nullable annotation was added to prevent this into the future) - however, I think the tradeoffs are worth it in this case.

@sisby-folk sisby-folk changed the title configurable Water Protection Configurable Water Protection Nov 24, 2023
@eggohito eggohito added this to the 1.13.x milestone Dec 22, 2023
@eggohito eggohito changed the base branch from 1.20 to 1.20.4/dev May 17, 2024 04:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants