FABRIC-MODIGENERAATTORI
Kuvaile Fabric-modi tavallisella kielellä. Codexe luo koko Loom Gradle -projektin, kirjoittaa mixinit tarvittaessa ja toimittaa ajettavan .jar-tiedoston.
Miksi Codexe Fabric-modeille
Loom Gradle valmiina
build.gradle wired for Fabric Loom with the right mappings, loader and API versions for the Minecraft you picked. Just ./gradlew build.
Mixin-tietoinen
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.
Palvelin- ja asiakasjaot
Mod entry points correctly split into client and server initializers. Client-only HUDs, screens and rendering go in the right module.
Yarn- tai Mojang-mappaukset
Pick what you prefer. Codexe outputs code matching the chosen mapping set so it compiles cleanly.
Käännetty .jar
Build runs server-side. You drop the .jar in /mods alongside fabric-api, restart, the mod loads.
Lähdekoodi on sinun
Publish on Modrinth, CurseForge, GitHub. License however you like. No royalties.
Esimerkkikehotteet Fabric-modeille
Yksittäisestä mixin-säädöstä täyteen sisältöpakettiin. Joitakin oikeita kehotteita, jotka voit liittää:
Uusi työkaluluokka
“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: pidä XP kuollessa
“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/.”
HUD-kerros
“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.”
Mukautettu reseptityyppi
“A Fabric mod that adds a 'crusher' block with a custom recipe type. Datapacks can register inputs/outputs. Include an example datapack.”
Fabric-modigeneraattorin UKK
Käyttääkö se Fabric Loomia?
+
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.
Mixinit?
+
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.
Mitkä Minecraft-versiot?
+
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 vai pelkkä 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.
Mukautetut esineet, lohkot, entiteetit?
+
Yes. Registry registration is done through Identifier-keyed Registry.register calls. Block entities, screen handlers, particle types, sound events, all addressable via prompt.
Kääntyykö se?
+
Yes. Build runs server-side, you receive the .jar plus source. If a build fails the AI iterates on the error until it works.
Omistanko modin?
+
Yes. Source is yours. Publish on Modrinth, CurseForge, GitHub, sell it, no royalties.
Muut Codexe-generaattorit
Need a different loader, or something server-side? Codexe also generates:
Miten Codexe rakentaa ja tarkistaa nämä projektit, mitä pyyntöön kannattaa kirjoittaa ja yleiset ongelmat: Fabric mods-opas.
VALMIINA UUTEEN MODIIN?
Free-taso täyttyy päivittäin 50K tokenilla, pienet Fabric-modit mahtuvat helposti.
ALOITA TAONTA