fix(deps): update dependency net.minestom:minestom to v2026.07.22-26.2#92
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
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.
This PR contains the following updates:
2026.07.12-26.2→2026.07.22-26.2Release Notes
minestom/minestom (net.minestom:minestom)
v2026.07.22-26.2Compare Source
This release continues the registry work introduced in 26.2. Registry backed protocol objects now expose their data directly, and new registry access APIs prepare Minestom for further registry cleanup. Compatibility bridges remain in place so projects can migrate gradually. Though they will be removed in the future.
This release also fixes races during login and chunk loading, and corrects the motion blocking heightmap for fluid and nonstandard block states.
Registry Access
RegistryDatais now deprecated. Data belonging to blocks, materials, entity types, attributes, potion effects, villager professions, block sound types, and other static protocol objects can be read directly from those objects (#3292).For example:
The old
registry()accessors remain available for now, but are deprecated for removal.StaticProtocolObjectnow has an explicitregistryKey()accessor #3293. Static protocol objects still implementRegistryKeyin this release, but that inheritance will be removed in a future release. Code that needs a key should begin requesting it explicitly:Tool#isCorrectForDropsandTool#getSpeednow have overloads which accept aRegistryKey<Block>. TheirBlockoverloads are deprecated.The registries for the current server process are now available through
MinecraftServer.getRegistries()andServerProcess#registries()(#3294). This avoids retrieving the entire server process when only its registries are needed:Generated registry keys and tags now use deterministic ordering (#3291).
BuiltinRegistries.BIOMEis also the new name for the biomeregistry key. The old
BuiltinRegistries.WORLDGEN_BIOMEfield remains as a deprecated compatibility alias.Migration Notes
Most migrations are direct replacements:
registry()with the matching accessor on the protocol object. For example,block.registry().hardness()becomesblock.hardness()andentityType.registry().eyeHeight()becomesentityType.eyeHeight().Block#isAir,Block#isSolid,Block#isLiquid, andBlock#isFluidwithair,solid,liquid, andfluid. The old names are deprecated.Material#isArmorwithMaterial#armorandAttribute#isSyncedwithAttribute#synced.block.registry().isBlockEntity()withblock.blockEntityType() != null. Replaceblock.registry().blockEntity()andblock.registry().blockEntityId()withblock.blockEntityType(), then usekey()orid()on the null checked result when needed.block.registry().getBlockSoundType()withblock.blockSoundType().entityType.registry().entityAttachments(name)withentityType.entityAttachments(name). The new method returnsList<Vec>instead of raw coordinate lists. Code using the old singularentityAttachment(name)method should select the first entry when present.StaticProtocolObject#registryKey()anywhere a static protocol object is being used as a registry key.BuiltinRegistries.WORLDGEN_BIOMEwithBuiltinRegistries.BIOME.ServerFlag.INSIDE_TEST,DataComponentPredicate.Damage.CODEC, and theFilteredTextfieldsSTRING_NETWORK_TYPE,STRING_CODEC,COMPONENT_NETWORK_TYPE, andCOMPONENT_CODEC. Code can no longer replace these values. Start the JVM with-Dminestom.inside-test=truewhen the test flag is required, and store custom codecs or network types in project owned fields instead. Though this migration is unlikely to affect you.Networking
The final
GameProfile, including changes made byAsyncPlayerPreLoginEvent, is now published to the connection before the login success packet is sent (#3300). This fixes a race where an immediate client acknowledgement could be handled beforePlayerSocketConnection#gameProfile()exposed the final profile.Worlds and Blocks
ChunkLoader#loadChunkare now documented as part of the loader contract.MotionBlockingHeightmapnow follows the block registry'sblocksMotionandfluidproperties (#3305). Kelp is one concrete case fixed by this change: it contains fluid but is not solid, is not a liquid block, and has nowaterloggedproperty, so the previous predicate ignored it. Kelp placed at Y=45 now correctly sets the motion blocking height to 45. Waterlogged states are also included, while solid blocks such as cobwebs and bamboo saplings that do not block motion are excluded.Development
Error Prone and a wider set of javac lints are now enforced during builds, alongside updated style and incremental import checks (#3301,#3303).
JUnit was updated to 6.1.2 and the GraalVM Native Build Tools plugin to 1.1.5 (#3299).
Full Changelog: Minestom/Minestom@2026.07.12-26.2...HEAD
Configuration
📅 Schedule: (in timezone Europe/Berlin)
* 8-17 * * 1-5)* 8-17 * * 1-5)🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.