Sync 1.20.1 with 26.1 implementation - #236
Closed
rsdadada wants to merge 34 commits into
Closed
Conversation
Signed-off-by: dqsk_zze <1935752350@qq.com>
* Try to adapt to 26.1-snapshot environment * Update workflows to use Java 25 * Replace `deltaTick` with `partialTicks` * Upgrade to 26.1.1 * Reformat the code * Optimize `IterableVertexBuffer` and add `RoutingSubmitCollector` to fix shadow rendering * Add back commitSHA * Add solid feature rendering and refactor icon buttons * Fix DoubleSlider, raycast * Fix neoforge, improve build.gradle.kts
-- Upgrade gradle to 9.5.0
…eading Replaces the UV coordinate float array cache with primitive index caching, enabling direct primitive lookup via IterableVertexBuffer.readPrimitiveAt. Removes the VertexPointer inner class and byte-pointer traversal in favor of index-based readVertexAt calls, centralizing vertex decoding.
…d GUI state - Rename RenderTypeUtil → RenderTypeCache, use Object2IntMap for primitive cache - Rename MultiVertexCatcher.endCatching → forEachBuffer, separating batch finalization - Remove stored pose state from ModelAnalyser, pass as parameter instead - Tighten access modifiers, use var for map entries, clean up formatting - Bump version to 0.7.8-beta
…x pointInQuad - Replace Object[] sort entries with a typed ZEntry record in ModelAnalyser - Make focusedPolyhedron private, add getFocusedPolyhedron() accessor - Pass modelScale as parameter instead of storing field in ModelAnalyser - Replace List<Integer> indexes with boolean[] visited for polyhedron building - Rename GUIHelper.polygon → triangleOrQuad, MeshCatcher.initialize → clear
…ne in ModelViewScreen
…with direct field access
-- Replace O(n²) haveCommonVertex with LongOpenHashSet quantized-key lookup for -- polyhedron expansion. Extract MutableVertex from VertexData inner class. -- Create NumberWidgetPair combining DoubleSlider and NumberField for offset -- controls. Replace varargs MathUtil.floor/ceil with fixed arity overloads. -- Rename DoubleSlider getDouble/setDouble to getNumber/setNumber.
- Extract compressed Base64 serialization from ModelViewScreen into BindTarget.fromCompressedBase64()/toCompressedBase64() using DataResult. - Rename static fields to UPPER_CASE across all files (entries, defaultTargets, serialVersion, colors, Z values). - Add FALSE-predicate short-circuit in DisableHelper.Entry to avoid unnecessary predicate wrapping.
… initialization - Move BindTarget/DisableConfig/OffsetConfig/UVRectangle read methods and DisableConfigAdapter to a versioned serialization package for forward compatibility. - Inline allModelViewScreen widget field initialization to declaration site.
- Simplify renderCameraEntity matrix transform - Migrate from FriendlyByteBuf manual read/write to Minecraft StreamCodec - Rename config.serialization package to config.codec - Change array fields in config classes to list fields - Remove all manual write(FriendlyByteBuf) methods from config classes - DisableConfigAdapter: suppress unused nextName() returns with String _
* Fix model view config interactions * Clarify disable setting add tooltip
- Rename MODID to MOD_ID across all usages for consistent naming - Convert ConfigCodec from interface to final class, removing redundant version() method - Make ModelViewScreen dimensions responsive to window size - Fix y-axis bounds bug in ColoredFloatLineRenderState
copied from xTracr#214
- Merged disableWhenSneaking and disableWhenCrawling setting, added disableWhenFlying
* Added compatibility with Entity_Model_Features * Fix: Update issue template
* Fix live disable draft preview * Apply suggestion from @xTracr Co-authored-by: xTracr <57320980+xTracr@users.noreply.github.com> Signed-off-by: rsdadada <rsddadada@outlook.com> * Inline disable preview config overlay * Simplify live disable draft handling * Remove redundant disable draft helper --------- Signed-off-by: rsdadada <rsddadada@outlook.com> Co-authored-by: xTracr <57320980+xTracr@users.noreply.github.com>
Signed-off-by: dqsk_zze <1935752350@qq.com>
Signed-off-by: dqsk_zze <1935752350@qq.com>
rsdadada
marked this pull request as ready for review
July 19, 2026 03:38
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.
Summary
1.20.1branch with the applicable implementation changes from26.1/devthrough a real Git merge.exitTickmigration.0.7.9-betaversion.Why
The actively developed
26.1implementation has accumulated behavior and safety improvements that should also be available to1.20.1. The older branch still targets substantially different Minecraft, Java, loader, rendering, and mixin APIs, so the merge keeps the1.20.1platform boundary while adopting compatible upstream behavior.1.20.1 compatibility adaptations
1.20.1immediate-mode rendering pipeline, loader events, mixin signatures, accessors, and YSM projection-sampling fix.AvatarRenderer, orGuiGraphicsExtractorAPIs that only exist in the newer target.User/developer impact
Validation
BUILD SUCCESSFUL: all 34 actionable tasks executed, including common/Fabric/Forge compilation, access-widener validation, shadowing, remapping, and packaging. The repository currently has no test sources, so the test tasks reportNO-SOURCE.