Loom · Mixin · 1.20.1 / 26.x

GENERATOR DE MODURI FABRIC

Descrie un mod Fabric în cuvinte simple. Codexe pregătește tot proiectul Loom Gradle, scrie mixin-urile acolo unde e nevoie și livrează un .jar gata de rulat.

De ce Codexe pentru moduri Fabric

Loom Gradle, gata pregătit

build.gradle wired for Fabric Loom with the right mappings, loader and API versions for the Minecraft you picked. Just ./gradlew build.

Cu suport pentru mixin

When mixin injection is needed, Codexe writes @Mixin classes, mixins.json + refmap, and registers them in fabric.mod.json. Pick the right injection point automatically.

Separare server + client

Mod entry points correctly split into client and server initializers. Client-only HUDs, screens and rendering go in the right module.

Mapări Yarn sau Mojang

Pick what you prefer. Codexe outputs code matching the chosen mapping set so it compiles cleanly.

.jar compilat

Build runs server-side. You drop the .jar in /mods alongside fabric-api, restart, the mod loads.

Sursa este a ta

Publish on Modrinth, CurseForge, GitHub. License however you like. No royalties.

Exemple de prompturi pentru moduri Fabric

De la o simplă modificare prin mixin până la un pachet complet de conținut. Câteva prompturi reale pe care le poți lipi:

Treaptă nouă de unelte

„A Fabric 1.21 mod that adds 'mythril' ingot, ore (overworld + deepslate variants), and full mythril tool/armor set. Mythril armor gives Speed I when full set is worn.”

Mixin: păstrează XP la moarte

„A Fabric mod that uses a mixin on PlayerEntity.dropXp() to skip the XP drop, so players keep all XP on death. Configurable via a JSON file in config/.”

Overlay HUD

„A client-side Fabric mod that draws a small HUD in the top-right showing current biome name, time of day, and number of nearby hostile mobs within 32 blocks.”

Tip de rețetă personalizat

„A Fabric mod that adds a 'crusher' block with a custom recipe type. Datapacks can register inputs/outputs. Include an example datapack.”

Întrebări frecvente despre generatorul de moduri Fabric

Folosește Fabric Loom?

+

Yes. Codexe outputs a Loom Gradle project (build.gradle + gradle.properties wired for Fabric Loom) so you can run ./gradlew build and ./gradlew runClient out of the box.

Mixin-uri?

+

Yes. If your prompt requires mixin injection (e.g. modifying vanilla behavior), Codexe writes the @Mixin classes, the mixins.json refmap and registers them in fabric.mod.json. Inject, redirect, modifyArg, it picks the right pattern.

Ce versiuni de Minecraft?

+

1.20.1 by default, with Yarn mappings, and Minecraft 26.x when you ask for it: 26.x is not obfuscated, so the mod uses the new Loom setup (no mappings, Java 25). Write the version in the request.

Fabric API sau doar Loader?

+

Both. By default Codexe uses Fabric API (it's expected on most setups), but you can ask for a Loader-only mod and the generator will avoid the API helpers.

Obiecte, blocuri, entități personalizate?

+

Yes. Registry registration is done through Identifier-keyed Registry.register calls. Block entities, screen handlers, particle types, sound events, all addressable via prompt.

Se compilează?

+

Yes. Build runs server-side, you receive the .jar plus source. If a build fails the AI iterates on the error until it works.

Modul este al meu?

+

Yes. Source is yours. Publish on Modrinth, CurseForge, GitHub, sell it, no royalties.

Need a different loader, or something server-side? Codexe also generates:

Cum construiește și verifică Codexe aceste proiecte, ce să pui în cerere și problemele frecvente: ghidul Fabric mods.

GATA PENTRU UN NOU MOD?

Nivelul gratuit se reîncarcă zilnic cu 50K tokeni, modurile Fabric mici încap confortabil.

ÎNCEPE SĂ CREEZI
Generator de moduri Fabric – moduri Minecraft Fabric create cu AI | Codexe