Skip to content

Add WorldDifficultyChangeEvent #12471

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

Open
wants to merge 7 commits into
base: main
Choose a base branch
from

Conversation

NonSwag
Copy link
Contributor

@NonSwag NonSwag commented Apr 24, 2025

I added a WorldDifficultyChangeEvent to allow cancellation and tracking of difficulty changes
My specific usecase for this is to set the difficulty of specific other worlds to the same when changed via command/API

@NonSwag NonSwag requested a review from a team as a code owner April 24, 2025 15:03
@github-project-automation github-project-automation bot moved this to Awaiting review in Paper PR Queue Apr 24, 2025
@NonSwag NonSwag requested a review from lynxplay April 24, 2025 15:25
@Doc94
Copy link
Contributor

Doc94 commented Apr 24, 2025

Why is this a feature?

@lynxplay
Copy link
Contributor

Merger can fix it hopefully 😅 or nonswag gets to it.

@NonSwag
Copy link
Contributor Author

NonSwag commented Apr 24, 2025

Why is this a feature?

I added a description

@NonSwag
Copy link
Contributor Author

NonSwag commented Apr 24, 2025

Merger can fix it hopefully 😅 or nonswag gets to it.

the var thing? i already "fixed" that

@lynxplay
Copy link
Contributor

Your changes to mojang internals are in feature patches instead of the per-file patches.

@NonSwag NonSwag force-pushed the difficulty-change-event branch from 2d6b3c6 to 2e39f47 Compare April 24, 2025 17:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Awaiting review
Development

Successfully merging this pull request may close these issues.

6 participants