Forge · NeoForge · 1.20 / 1.21

FORGE-MOD GENERÁTOR

Írd le egyszerű szavakkal a Forge- vagy NeoForge-modot. A Codexe felépíti a teljes Gradle projektet, regisztrálja a blokkjaidat, tárgyaidat és entitásaidat, és lebuildeli a .jar fájlt a /mods mappához.

Miért a Codexe a Forge-modokhoz

Valódi Gradle projektek

build.gradle, settings.gradle, gradle.properties, mods.toml, the full ForgeGradle layout. Build right away with ./gradlew build.

Helyesen elvégzett regisztráció

DeferredRegister for blocks, items, block entities, entities, sounds, particles. Proper RegistryObjects, no static-init pitfalls.

Forge ÉS NeoForge

Pick the loader. Codexe knows the API differences (event buses, mods.toml format, registry naming) and outputs loader-specific code.

Adatgenerálás

Loot tables, recipes, advancements, language files via the data gen pipeline, not hand-written JSON, so updating is trivial.

Lefordított .jar

Build runs server-side. You drop the .jar in /mods, restart, the mod loads. Source ZIP also downloadable.

A forráskód a tiéd

Publish on CurseForge, Modrinth, GitHub. License it however. No royalties on what you ship.

Példa Forge-mod promptok

Egyetlen új ércből a teljes tartalomcsomagig. Néhány valódi prompt, amit beilleszthetsz:

Egyéni érc + eszközszint

„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.”

Izzó entitás

„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/.”

Receptek és datapack-horgok

„A mod that lets datapacks define 'shaped_3x3_with_byproduct' crafting recipes through a custom recipe serializer. Include an example datapack folder.”

Forge-mod generátor GYIK

Támogatja a Forge-ot és a NeoForge-ot is?

+

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.

Mely Minecraft-verziók?

+

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.

Hozzáadhatok egyéni blokkokat, tárgyakat, entitásokat?

+

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.

A build tényleg lefordul?

+

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.

Mi a helyzet a hálózatkezeléssel, capabilitykkel, datapackekkel?

+

Networking via SimpleChannel / NetworkRegistry, capabilities through AttachCapabilitiesEvent, datapack support via the data generator pipeline. Mention them in the prompt and the AI wires them.

Enyém a mod?

+

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

Ingyenes csomag?

+

Yes, 50K daily tokens. Mods tend to be larger than plugins so Pro / Business often pays for itself in time saved, see /pricing.

Targeting a different loader or the server side instead? Codexe also generates:

Hogyan építi és ellenőrzi a Codexe ezeket a projekteket, mit írj a kérésbe, és gyakori problémák: Forge and NeoForge mods útmutató.

KÉSZEN ÁLLSZ EGY ÚJ MODRA?

Az ingyenes csomag naponta 50K tokennel töltődik újra, a kis modok elférnek. A nagyobb tartalomcsomagoknak jól jön egy fizetős csomag.

KEZDJ KOVÁCSOLNI
Forge-mod generátor – AI-val készített Forge- és NeoForge-modok | Codexe