FORGE MOD GENERATOR
Beschrijf een Forge- of NeoForge-mod in gewone taal. Codexe zet het complete Gradle-project op, registreert je blokken, items en entiteiten en bouwt de .jar voor /mods.
Waarom Codexe voor Forge-mods
Echte Gradle-projecten
build.gradle, settings.gradle, gradle.properties, mods.toml, the full ForgeGradle layout. Build right away with ./gradlew build.
Registry correct gedaan
DeferredRegister for blocks, items, block entities, entities, sounds, particles. Proper RegistryObjects, no static-init pitfalls.
Forge EN NeoForge
Pick the loader. Codexe knows the API differences (event buses, mods.toml format, registry naming) and outputs loader-specific code.
Datageneratie
Loot tables, recipes, advancements, language files via the data gen pipeline, not hand-written JSON, so updating is trivial.
Gecompileerde .jar
Build runs server-side. You drop the .jar in /mods, restart, the mod loads. Source ZIP also downloadable.
De broncode is van jou
Publish on CurseForge, Modrinth, GitHub. License it however. No royalties on what you ship.
Voorbeeldprompts voor Forge-mods
Van één nieuw erts tot een complete contentpack. Een paar echte prompts die je kunt plakken:
Eigen erts + gereedschapsreeks
“A Forge mod for 1.20.1 that adds 'sapphire' ore in the overworld (deep slate variant included), sapphire ingot, full sapphire tool tier (sword/pickaxe/axe/shovel/hoe), and armor set with night vision while wearing all 4.”
Gloeiende entiteit
“Add a passive 'wisp' entity that floats 2 blocks above ground, emits light level 12, drops 1-3 glowstone dust on death, and only spawns at night in plains biomes.”
Anti-cheese
“If a player is more than 100 blocks away from any other player AND has been mining for 10+ min straight, send a server-wide chat message naming them. Configurable thresholds in config/.”
Recepten en datapack-hooks
“A mod that lets datapacks define 'shaped_3x3_with_byproduct' crafting recipes through a custom recipe serializer. Include an example datapack folder.”
Veelgestelde vragen over de Forge-modgenerator
Worden Forge en NeoForge ondersteund?
+
Yes, both. Pick the loader on the create page. Codexe scaffolds the right entry point (@Mod for Forge, neoforge.mods.toml for NeoForge) and the loader-specific event bus subscriptions.
Welke Minecraft-versies?
+
1.20.x and 1.21.x are first-class targets. Older 1.19/1.18 work but expect the AI to use the API surface available for that version.
Kan ik eigen blokken, items en entiteiten toevoegen?
+
Yes. Describe what you need ("a glowing ruby ore that drops a ruby item, plus a ruby block recipe") and Codexe registers the BlockItems, BlockEntities, the data generators for loot tables and recipes, and the en_us.json translations.
Compileert de build echt?
+
Yes. We compile server-side using ForgeGradle / NeoGradle. You get the .jar for /mods plus the source ZIP. If a build fails the AI iterates on the error.
Hoe zit het met netwerken, capabilities en datapacks?
+
Networking via SimpleChannel / NetworkRegistry, capabilities through AttachCapabilitiesEvent, datapack support via the data generator pipeline. Mention them in the prompt and the AI wires them.
Is de mod van mij?
+
Yes. Source is yours. Publish on CurseForge, Modrinth, GitHub, sell it, modify it, no royalties.
Gratis abonnement?
+
Yes, 50K daily tokens. Mods tend to be larger than plugins so Pro / Business often pays for itself in time saved, see /pricing.
Andere Codexe-generators
Targeting a different loader or the server side instead? Codexe also generates:
Hoe Codexe deze projecten bouwt en controleert, wat je in het verzoek moet zetten en de veelvoorkomende problemen: handleiding Forge and NeoForge mods.
KLAAR VOOR EEN NIEUWE MOD?
Het gratis abonnement vult dagelijks 50K tokens aan, kleine mods passen erin. Grotere contentpacks hebben baat bij een betaald abonnement.
BEGIN MET SMEDEN