Skip to content

Improve GameRule API#13668

Open
Lulu13022002 wants to merge 2 commits intoPaperMC:mainfrom
Lulu13022002:feat/improve-gamerule-api
Open

Improve GameRule API#13668
Lulu13022002 wants to merge 2 commits intoPaperMC:mainfrom
Lulu13022002:feat/improve-gamerule-api

Conversation

@Lulu13022002
Copy link
Contributor

Partially replaces #7244

Getting a gamerule's default value shouldn't be tied to needing a world instance since it's the same without a world. Also, the methods to get the gamerule's value for a world and default world should be notnull.

Co-authored-by: Jake Potrebic <jake.m.potrebic@gmail.com>
@Lulu13022002 Lulu13022002 requested a review from a team as a code owner February 28, 2026 14:46
@github-project-automation github-project-automation bot moved this to Awaiting review in Paper PR Queue Feb 28, 2026
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.

3 participants