minecraft 26.2 compat 69g5pk#585
Closed
ronjohnsonjr wants to merge 3 commits into
Closed
Conversation
Dependency versions (gradle.properties): minecraft_version=26.2 loader_version=0.19.3 loom_version=1.15-SNAPSHOT fabric_api_version=0.153.0+26.2 sodium=mc26.2-0.9.1-beta.2-fabric iris=1.11.1+26.2-fabric lithium=mc26.2-0.25.1-fabric modmenu=20.0.0-beta.4-fabric chunky=4Eotm6ov Optional mods disabled (no 26.2 builds yet — TODO comments in gradle.properties + build.gradle): vivecraft, flashback, nvidium MC API changes: - BlockState.emissiveRendering(BlockGetter, BlockPos) -> emissiveRendering() - TextureFormat.RGBA8 -> GpuFormat.RGBA8_UNORM - Minecraft.getChatListener() -> gui.chatListener() - Minecraft.getMainRenderTarget() -> Window.getWidth/getHeight - GameRenderer.getGameRenderState() -> gameRenderState() - Gui.getBossOverlay() -> hud.bossOverlay (via access widener) - Gui.getChat() -> hud.getChat() - LevelRenderer.allChanged() -> resetLevelRenderData() - GpuDevice.isZZeroToOne() -> getDeviceInfo().isZZeroToOne() - ClientLevel.levelRenderer removed -> Minecraft.getInstance().levelRenderer - PalettedContainerRO missing forEachInPalette -> added to anonymous impl Sodium 0.8 -> 0.9 API overhaul: - gl.device.CommandList/RenderDevice removed; all call sites updated - DefaultChunkRenderer/ShaderChunkRenderer ctor: removed RenderDevice param - render() signature: removed CommandList, added GpuBufferSlice/GpuBuffer params - RenderSectionManager ctor: removed CommandList param - RenderSection.setInfo() returns int (0=no-change); redirect updated - RenderSection.getFlags() removed; use isBuilt() instead - RenderRegionManager.uploadResults() signature changed; redirect consumeFade() instead - SodiumWorldRenderer.initRenderer() removed; inject into setLevel() instead Mixin config: - Bumped compatibilityLevel to JAVA_25 in both mixin JSONs - Removed flashback/nvidium mixin registrations - Flashback/nvidium mixin classes stubbed with @mixin(targets="...") strings so they compile without the optional deps on the classpath Access widener: - Removed invalid ClientLevel.levelRenderer entry (field removed in 26.2) - Added Hud.bossOverlay for ClientImportManager boss bar Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
MixinClientLevel: remove @shadow @Final levelRenderer — the ClientLevel.levelRenderer field was removed in MC 26.2. The shadow was never used in the mixin body so it is simply deleted (along with the now-orphan @Final import). MixinLevelRenderer: update inject target from allChanged()V to resetLevelRenderData()V, which is the MC 26.2 rename of the method that triggers a full chunk re-render. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- MixinClientLevel: the constructor inject's 7th parameter is LevelExtractor in MC 26.2, not LevelRenderer (the field/shadow was already dropped in the prior fix; the body never used the param). - MixinRenderSectionManager: voxy$updateOnUpload now tracks renderable state via RenderSection#needsRender() (HAS_BLOCK_GEOMETRY | HAS_BLOCK_ENTITIES | HAS_ANIMATED_SPRITES bits) instead of isBuilt() (MASK_IS_BUILT), since isBuilt() is also true for built-but-empty sections in Sodium 0.9.1-beta.2 and would mis-track chunk bounds. Also drops the now-unreachable !wasBuilt && !nowBuilt branch. - build.gradle: sodium_version_modrinth parsing now joins every "-"-delimited segment between the mc-version and loader tokens, so prerelease tags (e.g. 0.9.1-beta.2) survive instead of being truncated to 0.9.1, which previously produced a fabric.mod.json version range broader than sodium_extra_allows.
Owner
|
next time, dont use ai, and check what other branches are in development |
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.
No description provided.