Skip to content

fix: infra fixes, config GUI improvements, and multi-version build (Stage 0-2) - #1

Merged
Minecraft269 merged 2 commits into
mainfrom
worktree-infinitely-printer-stage0
Aug 4, 2026
Merged

fix: infra fixes, config GUI improvements, and multi-version build (Stage 0-2)#1
Minecraft269 merged 2 commits into
mainfrom
worktree-infinitely-printer-stage0

Conversation

@Minecraft269

@Minecraft269 Minecraft269 commented Aug 3, 2026

Copy link
Copy Markdown
Owner

Summary

Stage 0 (infrastructure fixes) + Stage 2 (config GUI improvements) + Stage 1 (multi-version build) for Infinitely-Printer.

Stage 0 Fixes

  • 0.1: Fix release.yml (chiseledBuild→build, add gradle/actions/setup-gradle)
  • 0.2: Update CONTRIBUTING.md (remove Stonecutter references)
  • 0.3: Create root README.md with honest version support status
  • 0.4: Fix pack.mcmeta with dynamic pack_format (88 for 26.2)
  • 0.5: Fix fabric.mod.json dependency lower bounds
  • 0.6: Fix WorldUtils.isReplaceable duplicate condition
  • 0.7: Replace hardcoded MOD_VERSION with runtime FabricLoader lookup
  • 0.8: Expand all 41 config tooltips to 2-3 sentences (EN+ZH)

Stage 2 Fixes

  • 2.1: Remove All Tab from ConfigGui
  • 2.2: Remove standalone Hotkeys registration (ModMenu only)
  • Dead code: remove PrinterConfig.HOTKEY_LIST

Stage 1: Multi-version build

  • Stonecutter 0.9.7 + loom-back-compat 0.4 (cross-obfuscation: 26.x uses fabric-loom, older uses fabric-loom-remap)
  • 4 Fabric version subprojects: 26.2 / 1.21.1 / 1.20.1 / 1.18.2
  • Per-version gradle.properties with verified dependency coordinates (sakura-ryoko malilib/litematica, maruohon litematica via Modrinth)
  • Dynamic CI matrix with version discovery
  • Fixed: discover sed order (was producing versions26.2-fabric instead of 26.2-fabric)

CI Status (honest)

  • 26.2-fabric: PASS
  • 1.18.2 / 1.20.1 / 1.21.1: FAIL — source uses modern malilib/MC APIs (e.g. Registry, i18nManager) not present in older malilib versions. Requires Stonecutter //? if source adaptation (follow-up work).

- Fix WorldUtils.isReplaceable duplicate condition (isAir→canBeReplaced)
- Replace hardcoded MOD_VERSION with runtime FabricLoader lookup
- Fix release.yml: chiseledBuild→build, add gradle setup step
- Fix fabric.mod.json depends to match actual versions
- Fix pack.mcmeta with dynamic pack_format (88 for 26.2)
- Create root README.md with honest version support status
- Update CONTRIBUTING.md to remove Stonecutter references
- Expand all config tooltip descriptions to 2-3 sentences
- Remove All Tab from ConfigGui (remove IConfigGuiAllTab)
- Remove hotkey registration (no standalone hotkey, ModMenu only)
- Remove dead PrinterConfig.HOTKEY_LIST
@Minecraft269 Minecraft269 changed the title fix: infrastructure fixes and config GUI improvements (Stage 0+2) fix: infra fixes, config GUI improvements, and multi-version build (Stage 0-2) Aug 4, 2026
- Stonecutter 0.9.7 + loom-back-compat 0.4 for cross-obfuscation builds
  (26.x uses fabric-loom; older versions use fabric-loom-remap)
- 4 Fabric version subprojects: 26.2 / 1.21.1 / 1.20.1 / 1.18.2
- Per-version gradle.properties with verified dependency coordinates
  (sakura-ryoko malilib/litematica + maruohon litematica via Modrinth)
- Dynamic CI matrix with version discovery
- 26.2 builds successfully; older versions need Stonecutter //? if
  source adaptation for older malilib/MC APIs
@Minecraft269
Minecraft269 force-pushed the worktree-infinitely-printer-stage0 branch from 9cb5cc1 to 4ca0fa5 Compare August 4, 2026 05:30
@Minecraft269
Minecraft269 merged commit 4ca0fa5 into main Aug 4, 2026
5 of 11 checks passed
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