-
-
Notifications
You must be signed in to change notification settings - Fork 216
feat(minecraft): Update to 1.21.11 #4244
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
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Introduced updates to reflect changes in Minecraft's codebase, particularly around permissions, world rules, and API adaptations. Adjusted permission levels to integrate with new PermissionLevel and PermissionSet systems while incorporating various minor fixes and deprecations. See: https://minecraft.wiki/w/Java_Edition_25w41a
Updated Minecraft version to 25w42a, incorporating upstream changes related to environment attribute mapping, biome attributes, and world rules. Adjusted various APIs and mixins to support new attribute-based configurations.
Breaking changes: - GameRules are now registered and have therefor real IDs, so all field names are changed Notable Additions: - Added Parched - Added CamelHusk See https://minecraft.wiki/w/Java_Edition_25w44a
Breaking changes: - Keys.FIXED_TIME doesn't apply to DimensionType anymore, it now applies to Level, but we don't have any handling for things like that yet. See SpongePowered/SpongeAPI#2608 Notable additions: - Timelines are a thing, we may want to wrap a phase around them to handle any kind of events through them or link them as a Cause. Notable Changes: - ResourceLocation -> Identiifer - net.minecraft.Util -> net.minecraft.util.Util - critereon -> criterion See https://minecraft.wiki/w/Java_Edition_25w45a
- Added `spear_mobs` trigger. - Added `netherite_horse_armor` item type. - Added `spawns_coral_variant_zombie_nautilus` biome tag. - Removed `without_patrol_spawns` biome tag. See https://minecraft.wiki/w/Java_Edition_25w45a
Notable Changes: - AbstractMount for carrier handling for Horses and Nautili(sp?) See https://minecraft.wiki/w/Java_Edition_25w46a
Notable Changes: - Entity classes were reshuffled in packages Additions: - Added sound event See https://minecraft.wiki/w/Java_Edition_1.21.11_Pre-Release_1
Notable Changes: - Minor package class shuffles - Updated verification metadata See https://minecraft.wiki/w/Java_Edition_1.21.11_Pre-Release_2
Notable Changes: - Updated to the stable release of 1.21.11 See https://minecraft.wiki/w/Java_Edition_1.21.11
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
SpogneAPI | Sponge
This pull request updates Sponge to align with recent changes in Minecraft's permissions and command infrastructure, particularly focusing on replacing integer-based permission levels with the new
PermissionLevelandPermissionSetabstractions. Additionally, it updates several APIs and accessors to reflect upstream changes, and ensures compatibility with the latest Minecraft snapshot.Migration to new permission system and Minecraft version:
PermissionLevelandPermissionSet, including command sources, player permissions, and login bypass logic. This affects method signatures, field types, and invoker/accessor interfaces throughout the codebase. [1] [2] [3] [4] [5] [6] [7] [8] [9]25w41aingradle.propertiesto track the latest snapshot.API and accessor updates for upstream changes:
ServerLeveltoBaseCommandBlockAccessor::invoker$createSource, and updatingTradeOfferGeneratorWrapper::getOfferto accept aServerLevelparameter. [1] [2]ZombifiedPiglinAccessorto usepersistentAngerEndTime(along) instead of the previousremainingPersistentAngerTime(anint), and updated related data provider logic. [1] [2]Game rules and world data improvements:
GameRules.RULE_PVPinstead of relying on a server method, ensuring consistency with Minecraft's rule system.These changes collectively modernize the permissions and command handling in Sponge, ensuring compatibility with the latest Minecraft server internals and improving maintainability going forward.