Skip to content

feat(minecraft): Update to 1.21.6#4209

Closed
gabizou wants to merge 20 commits into
api-15from
update/1.21.6
Closed

feat(minecraft): Update to 1.21.6#4209
gabizou wants to merge 20 commits into
api-15from
update/1.21.6

Conversation

@gabizou
Copy link
Copy Markdown
Member

@gabizou gabizou commented Apr 20, 2025

SpongeAPI | Sponge

This is the culminating changes required for what we assume to become 1.21.6.
Each commit should contain a description of the underlying changes/compromises to support running the game in SpongeVanilla.

Typically, it will be not expected for SpongeNeo or SpongeForge to be updated as fast.

Follows most of the API additions.
SpongeVanilla's client ui is definitely broken for the plugins screen.
I'm unsure of the damage injections, something to look at fixing likely in api-15 as well.

Signed-off-by: Gabriel Harris-Rouquette <gabizou@me.com>
gabizou and others added 19 commits April 22, 2025 16:49
Signed-off-by: Gabriel Harris-Rouquette <gabizou@me.com>
Mainly additions/changes from the previous snapshot.

See: https://minecraft.wiki/w/Java_Edition_25w17a
Notable changes:
- ArmorStands have proper accessors
- TrialSpawnerData has a "component" for all the configs
- Gson component serialization apparently is inlined.. will need to verify
  that Adventure's components still will function
- All read/write to Compounds is now routed through interfaces ValueInput/Output.
  - This requires further thought for how Sponge serializes its custom data, we
    will need to update the overall implementation to better support these interfaces
    moving forward.
Notable changes:
- EntityReferences abound, they're resolvable within the scope of a world that
  is being asked
- Method rename for ServerPlayer.serverLevel() -> level().

See: https://minecraft.wiki/w/Java_Edition_25w19a
Notable Changes:
- CommandsMixin needs a re-examination. It appears suggestion providers
are moved to a different section, for now sponge commands do not get
sent over to the client, but they still function on the server side.

See: https://minecraft.wiki/w/Java_Edition_25w20a
Little changes overall from api-15.
Small changes to leash sound registered names.

See: https://minecraft.wiki/w/Java_Edition_25w21a
Notable Changes:
- Mojang removed further customization of packet sending, so Sponge's
handling of custom packets ought to be the same, but it's otherwise
untested.

See: https://minecraft.wiki/w/Java_Edition_1.21.6_Pre-Release_1
Notable change:
- Addition of Sound category that isn't yet represented in Adventure, so
 we delegate it to Master for now.

See https://minecraft.wiki/w/Java_Edition_1.21.6_Pre-Release_3
# Conflicts:
#	SpongeAPI
#	gradle/verification-metadata.xml
#	src/mixins/java/org/spongepowered/common/mixin/core/commands/CommandsMixin.java
#	vanilla/src/mixins/java/org/spongepowered/vanilla/mixin/core/commands/CommandsMixin_Vanilla.java
Signed-off-by: Gabriel Harris-Rouquette <gabizou@me.com>
Highly experimental. It appears some registry handling is broken so it's
not guaranteed to function with plugins using certain World related
registries as early as server load.
@gabizou
Copy link
Copy Markdown
Member Author

gabizou commented Jun 19, 2025

Closing as api-16 branch is now available.

@gabizou gabizou closed this Jun 19, 2025
@gabizou gabizou deleted the update/1.21.6 branch June 19, 2025 05:52
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