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

[In Dev] Minecraft 1.21.5(?) snapshot evolution #2578

Open
wants to merge 8 commits into
base: api-15
Choose a base branch
from

Conversation

gabizou
Copy link
Member

@gabizou gabizou commented Feb 2, 2025

Just to keep track of all the breaking changes occurring in the API until the next Minecraft release where we can call a new major version of the API

It appears to be a new flag for supporting structure placement while
preventing block entities performing "break" operations.
Because Mojang is clearly breaking more things with these snapshots that
require us to make backwards incompatible changes to the API, notably
static fields being renamed as references.
Additions:
- TestBlock and TestBlockEntity kinds as per the inclusion of the
  GameTest Framework.
- TestBlockMode is a new property kind that can be retrieved from a
  TestBlock BlockState.
- EquipmentGroups.SADDLE is now added as the engine is enabling further
  data driven determinism on what entities can be saddled
- EquipmentTypes.SADDLE as per above
- PigTypes added for the new variants of Pigs that can exist
- EntityTypeTags.CAN_EQUIP_SADDLE for finding out if an EntityType can
  equip a saddle item

Deprecations:
- Saddleable is now marked for removal, while still currently supported,
  it will be phased out of guarantees. Plugin developers are encouraged
  to use the existing methods of retrieval.

See https://minecraft.wiki/w/Java_Edition_25w03a
Mainly event generation changes

Signed-off-by: Gabriel Harris-Rouquette <[email protected]>
Signed-off-by: Gabriel Harris-Rouquette <[email protected]>
Breaking changes:
- CatTypes are now World Registry Scoped, so no longer defaulted
- FrogTypes are now World Registry Scoped
- EntityTypes.POTION is removed, now split in LINGERING_POTION and
  SPLASH_POTION
- DamageTypeTags.BYPASSES_SHIELD is renamed BYPASSES_BLOCKING
Breaking Changes
- Raids no longer have a ServerWorld link

Additions
- Mainly new type entries and tag entries are updated
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.

1 participant