Przejdź do treści
Biblioteka skilli
Programowanie · Budowanie i kod

mc-port-version

/mc-port-version

Przenosi mod Fabric lub NeoForge na inną wersję Minecrafta, wypisuje zmienione klasy i pola oraz przepisuje importy.

Repozytorium
mixinsmith ↗
Licencja
MIT
Ostatnia zmiana repozytorium
09.11.2026

Ocena i bezpieczeństwo

100/ 100Klasa: dobry
Format25 / 25
Frontmatter z nazwą i opisem, poprawna nazwa, opis do 1024 znaków, nazwa zgodna z folderem.
Odkrywalność25 / 25
Opis mówi, kiedy użyć skilla, ma sensowną długość i jest w 3. osobie.
Treść35 / 35
Co najmniej 150 słów i do 500 linii, nagłówki, listy kroków, przykłady albo kod.
Higiena15 / 15
Bez zaślepek typu TODO, bez ścieżek Windows, z licencją.
Ryzykobrak sygnałów w skanie
Pliki w paczce
2
Skrypty
1
Komentarze HTML
0
Adresy URL w SKILL.md
0
Przestarzałość

Brak sygnałów. Repozytorium zmienione 09.11.2026, bez odwołań do wycofanych modeli i API.

Licencja

MIT, otwarta: można używać i zmieniać, z zachowaniem informacji o autorze.

Co sprawdzić przed instalacją
  • 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

make it work on
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

  1. Steps
  2. Limits
Sekcje z nagłówków SKILL.md, w oryginale · 38 linii, 318 słów
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.

Uwagi i zgłoszenia

Wiadomość trafi do Bartosza Sokolińskiego. Adres e-mail jest potrzebny tylko do odpowiedzi. Szczegóły w polityce prywatności.