mc-port-version
/mc-port-version
Przenosi mod Fabric lub NeoForge na inną wersję Minecrafta, wypisuje zmienione klasy i pola oraz przepisuje importy.
- Autor
- A2M33 ↗
- Repozytorium
- mixinsmith ↗
- Licencja
- MIT
- Ostatnia zmiana repozytorium
- 09.11.2026
Ocena i bezpieczeństwo
- Pliki w paczce
- 2
- Skrypty
- 1
- Komentarze HTML
- 0
- Adresy URL w SKILL.md
- 0
Brak sygnałów. Repozytorium zmienione 09.11.2026, bez odwołań do wycofanych modeli i API.
MIT, otwarta: można używać i zmieniać, z zachowaniem informacji o autorze.
- 1 skrypt w paczce. Przejrzyj je przed instalacją, bo Claude może je uruchomić.
Skrypty: scripts/mcport.py
Co robi i kiedy
Przenosi mod Fabric lub NeoForge na inną wersję Minecrafta, wypisuje zmienione klasy i pola oraz przepisuje importy.
Wyzwalacze z opisu
Oryginalny opis (EN)
Port a Fabric or NeoForge mod from one Minecraft version to another. Lists every class and member the bump renames or removes, shows where the mod uses them, and rewrites renamed imports. Use when the user asks to update, port or "make it work on" another Minecraft version.
Jak działa
- Steps
- Limits
Podgląd SKILL.md
--- name: mc-port-version description: Port a Fabric or NeoForge mod from one Minecraft version to another. Lists every class and member the bump renames or removes, shows where the mod uses them, and rewrites renamed imports. Use when the user asks to update, port or "make it work on" another Minecraft version. --- # Port to another Minecraft version The script is `scripts/mcport.py` in this skill's folder. Run it from the mod project root or pass `--project <dir>`. ``` python scripts/mcport.py --from 1.21.1 --to 1.21.4 # report for ./src python scripts/mcport.py --from 1.21.1 --to 1.21.4 --apply-imports python scripts/mcport.py --from 1.21.1 --to 1.21.4 --all # include ambiguous member names python scripts/mcport.py --from 1.20.4 --to 1.21.1 --summary # size of the jump only ``` It joins both versions' mappings on intermediary names, which never change, so a rename it reports is real. It reads the project's mappings set (Yarn or Mojang) from the build files; pass `--ns` to force one. Mappings download once per version into `~/.cache/mixinsmith/`. ## Steps 1. `mc-project-detect`, note the current version. Commit or stash first so the port is one reviewable diff. 2. `--summary` for the size of the jump. Several big releases at once: port one step at a time (1.20.4 -> 1.20.6 -> 1.21.1), since each step's errors are easier to read. 3. Update the build: `minecraft_version`, mappings, loader, Fabric API / NeoForge versions and the Java toolchain. Take version numbers from the sources `/new-mod` lists, never from memory. 4. Run the build once so Gradle sets up the new Minecraft, then `mcport.py ... --apply-imports`. 5. Fix the reported member renames. Look up each new name with `mcsrc.py method` first: mappings show the new name, not changed parameters or behavior. 6. Loop `mcbuild.py compile` until clean. Remaining errors are signature or behavior changes: read the new code with `mcsrc.py source` and the version cliffs table in `mc-blocks-items`. 7. Port data and assets: compare folders with `mcsrc.py files` (recipe, loot table, model and tag folders moved between versions). 8. `mcbuild.py server`, then ask the user to test in the client. ## Limits Mappings carry names only. Constructors made private, new parameters, removed overloads and moved logic show up as compile errors in step 6, not in the report.
Pliki w paczce (2)
- SKILL.md 2 KB
- scripts/mcport.py 8 KB
Wersje
W bazie nie ma innych skilli o nazwie mc-port-version.
Migawka bazy z 13.11.2026 · wersja paczki fbefbd11af5e (skrót SHA-256 całej paczki)
Pobrania w ostatnich 30 dniach: 0 · ranking
Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.
Podobne skille
- 100fabric-version-porting
Przenosi mod Fabric na inną wersję Minecrafta, łącznie z migracją z Yarn na Mojang mappings, zmianami API i poprawkami mixinów. - 95mc-project-detect
Rozpoznaje loader modów Minecraft (Fabric lub NeoForge), wersję gry, mapowania i Javę przed pisaniem kodu moda. - 100minecraft-mod-developer
Rozwija i debuguje mody Minecraft w istniejącym projekcie Forge, NeoForge lub Fabric, po wykryciu loadera i wersji. - 90minecraft-neoforge
Buduje, debuguje i migruje mody NeoForge w Javie lub Kotlinie dla Minecrafta od 1.21.1 do 26.2, z rejestracją, komponentami i rendererami. - 100mc-build-loop
Kompiluje i uruchamia mod do Minecrafta (Fabric lub NeoForge) i wskazuje przyczyny błędów kompilacji, mixinów i zrzutów awarii. - 90minecraft-fabric
Buduje, debuguje i przenosi mody Fabric w Javie lub Kotlinie dla Minecrafta od wersji 1.21.1 do 26.2, z Mixinami i rejestrami.