Przejdź do treści
Biblioteka skilli
Programowanie · Testowanie

mc-build-loop

/mc-build-loop

Kompiluje i uruchamia mod do Minecrafta (Fabric lub NeoForge) i wskazuje przyczyny błędów kompilacji, mixinów i zrzutów awarii.

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
1
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/mcbuild.py

Co robi i kiedy

Kompiluje i uruchamia mod do Minecrafta (Fabric lub NeoForge) i wskazuje przyczyny błędów kompilacji, mixinów i zrzutów awarii.

Oryginalny opis (EN)

Compile, build or boot a Minecraft mod (Fabric or NeoForge) and get a short diagnosis of compile errors, mixin failures, missing dependencies and crash reports. Use after every code change to a mod, when the user reports a crash or a build failure, or when you need to prove a mod loads.

Jak działa

  1. Loop
  2. The server check and the EULA
  3. Java version
Sekcje z nagłówków SKILL.md, w oryginale · 50 linii, 418 słów
Podgląd SKILL.md
---
name: mc-build-loop
description: Compile, build or boot a Minecraft mod (Fabric or NeoForge) and get a short diagnosis of compile errors, mixin failures, missing dependencies and crash reports. Use after every code change to a mod, when the user reports a crash or a build failure, or when you need to prove a mod loads.
---

# Minecraft build loop

Never tell the user a mod change works until this loop passes. Raw Gradle output runs to hundreds of
lines; the script keeps the parts that matter. It is `scripts/mcbuild.py` in this skill's folder; run it
with the mod project as the working directory or pass `--project <dir>`.

```
python scripts/mcbuild.py compile          # compileJava only: run after each edit
python scripts/mcbuild.py build            # full build incl. remap/jar: run before you finish
python scripts/mcbuild.py server           # boot a dedicated server, stop when the world loads
python scripts/mcbuild.py crash [file]     # summarize the newest crash report under run/ or runs/
python scripts/mcbuild.py log <file>       # diagnose a log the user pasted into a file
```

Add `--raw` to see the last 80 log lines too. Exit code 0 means success.

## Loop

1. `compile`. On `COMPILE ERRORS`, look up every name in "Unknown symbols" with `mc-source-lookup`
   before you change code. A missing symbol almost always means the name differs in this
   version or mappings, so do not rename it from memory.
2. Repeat until `COMPILE OK`, then `build`.
3. If the change touches mixins, registration, entities, data files or anything that runs at startup,
   run `server`. Mixins apply at load time, so a clean compile proves nothing about them.
4. On `MIXIN:` lines, re-check the target with `mcsrc.py method Class#name` and the injection point with
   `mcsrc.py source Class#name`.

## The server check and the EULA

A dedicated server only starts after someone accepts the Minecraft EULA (https://aka.ms/MinecraftEULA).
The script refuses without it. Ask the user once. If they agree, run
`mcbuild.py server --accept-eula`; it writes `eula=true` into the run directory and later runs reuse it.
Client-only code (rendering, screens, keybinds) does not run on a server; for those, ask the user to
start `./gradlew runClient` and paste the result or the crash file.

## Java version

A `JAVA:` line means Gradle could not start on the current JDK. Gradle needs a JDK that satisfies both
the Gradle plugin and Gradle itself:

- "JAVA_HOME is not set": no JDK found. Point `JAVA_HOME` at one.
- "Dependency requires at least JVM runtime version N": the plugin (Fabric Loom 1.19 needs 25)
  wants JDK N or newer.
- "Unsupported class file major version N": the JDK is too new for this Gradle version (JDK 25 needs
  Gradle 9.1 or newer). Use an older JDK, such as 21.

Minecraft compiles against the toolchain version in `build.gradle`, so the JDK that runs Gradle may be
newer than the one Minecraft targets.
Pliki w paczce (2)
  • SKILL.md 3 KB
  • scripts/mcbuild.py 15 KB

Wersje

W bazie nie ma innych skilli o nazwie mc-build-loop.

Migawka bazy z 13.11.2026 · wersja paczki 526c228aac70 (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

  • 100mc-source-lookup
    Sprawdza rzeczywiste API Minecrafta, Fabric i NeoForge w projekcie przed pisaniem kodu, gdy błąd kompilacji lub mixin wskazuje nieznane klasy.
  • 100mc-port-version
    Przenosi mod Fabric lub NeoForge na inną wersję Minecrafta, wypisuje zmienione klasy i pola oraz przepisuje importy.
  • 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.
  • 100minecraft-mod-developer
    Rozwija i debuguje mody Minecraft w istniejącym projekcie Forge, NeoForge lub Fabric, po wykryciu loadera i wersji.
  • 100fabric-version-porting
    Przenosi mod Fabric na inną wersję Minecrafta, łącznie z migracją z Yarn na Mojang mappings, zmianami API i poprawkami mixinów.
  • 100fabric-project-setup
    Zakłada lub naprawia projekt moda Fabric: pliki Gradle, fabric.mod.json, punkty wejścia, konfiguracje Mixin i podział na klienta oraz serwer.

Uwagi i zgłoszenia

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