[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6D2NBBFSGGHTWC0QAT9FB7Y":3,"skill-same:01M6D2NBBFSGGHTWC0QAT9FB7Y":82},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":30,"linkOnly":31,"markdownContent":32,"markdownBody":33,"frontMatter":34,"refName":35,"commitSha":36,"skillDirectory":37,"forksCount":38,"repositoryHtmlUrl":39,"repositoryHomepageUrl":6,"ownerHtmlUrl":40,"ownerBlogUrl":41,"ownerDescription":42,"updatedAt":43,"install":44,"resources":57},"01M6D2NBBFSGGHTWC0QAT9FB7Y","minecraft-multiloader",null,"Build and maintain Architectury-based Minecraft 26.x or 1.21.x mods that share one codebase across NeoForge and Fabric. Use only when both loaders are required; use minecraft-modding for a single-loader project.","Jahrome907\u002Fminecraft-agent-skills","Jahrome907","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F222458345?v=4","01M6D2JFFY1EQCC572G6G3X1R2","Joe ","01M6D2JFS2EE87QN8QCFVFY6M8",197,"MIT","https:\u002F\u002Fgithub.com\u002FJahrome907\u002Fminecraft-agent-skills\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fminecraft-multiloader\u002FSKILL.md",[],[19,20,21,22,23,24,25,26,27,28,29],"minecraft","minecraft multiloader","fabric","share","use","neoforge","only","build","maintain","across","project","2026-11-10 10:12:30",false,"---\nname: minecraft-multiloader\ndescription: \"Build and maintain Architectury-based Minecraft 26.x or 1.21.x mods that share one codebase across NeoForge and Fabric. Use only when both loaders are required; use minecraft-modding for a single-loader project.\"\n---\n\n# Minecraft Multiloader Skill (Architectury)\n\n## What Is Architectury?\n\n[Architectury](https:\u002F\u002Fgithub.com\u002Farchitectury\u002Farchitectury-api) is a framework that\nlets you write one mod codebase that compiles to both **NeoForge** and **Fabric** JARs.\nThe common subproject has a shared API; platform subprojects implement\nplatform-specific behavior behind the `@ExpectPlatform` abstraction.\n\n### Routing Boundaries\n- `Use when`: one shared codebase must build and ship both NeoForge and Fabric artifacts.\n- `Do not use when`: the project is single-loader only (`minecraft-modding` for NeoForge\u002FFabric, not both).\n- `Do not use when`: the task is Paper\u002FBukkit plugin development (`minecraft-plugin-dev`).\n\n| Component | Purpose |\n|-----------|---------|\n| `architectury-loom` | Gradle plugin — extends Fabric Loom for multiloader support |\n| `architectury-api` | Runtime library — abstractions over both platforms |\n| `@ExpectPlatform` | Annotation marking methods with platform-specific implementations |\n| `common\u002F` | Shared code (no loader-specific APIs) |\n| `fabric\u002F` | Fabric-specific code + entrypoint |\n| `neoforge\u002F` | NeoForge-specific code + entrypoint |\n\n---\n\n## Versions (Minecraft 1.21.11)\n\n```properties\n# gradle.properties property names used by this skill's static helper.\n# Get every tool version from the exact generated or known-working project.\nmod_version=1.0.0\nminecraft_version=1.21.11\nenabled_platforms=fabric,neoforge\n\narchitectury_version=\u003Cproject pin>\nfabric_loader_version=\u003Cproject pin>\nfabric_api_version=\u003Cproject pin ending in +1.21.11>\nneoforge_version=\u003Cproject pin in the 21.11.x family>\nloom_version=\u003Cproject pin>\n```\n\nPin `architectury_version`, the Architectury plugin version, and `loom_version`\nfrom the same generated or known-working project line. This skill deliberately\ndoes not publish a copyable dependency matrix: its static helper cannot resolve\nwhether a particular set of versions is compatible.\n\nFor Minecraft 26.x \u002F Java 25, use the official\n[Architectury Template Generator](https:\u002F\u002Fgenerate.architectury.dev\u002F) only when\nits version selector offers the exact target. Generate a **Multiplatform**\nproject with Fabric and NeoForge, then preserve the generated Gradle layout and\npins as one set. If the generator does not offer the target, begin with an\nalready working project on that exact line and inspect its resolved build; do\nnot relabel a 1.21.11 template as 26.x. The published template downloads are\nnot a substitute for an exact-current scaffold.\n\nDo not mechanically change only `minecraft_version` in the retained example:\n26.x is unobfuscated and its Loom\u002Fremapping setup differs from 1.21.11.\n\n## Bundled References And Helpers\n\n- Version alignment reference: `references\u002Farchitectury-reference.md`\n- Sanity checker: `.\u002Fscripts\u002Fcheck-version-sanity.sh --root \u003Cproject>`\n\nRun the sanity checker after editing `gradle.properties`. It is a static\nsyntax-and-version-family preflight: it catches missing keys, snapshot pins,\nmissing `fabric` \u002F `neoforge` platforms, and obvious version-family drift. It\ndoes not resolve dependencies, prove loader compatibility, or replace the\nproject's Fabric and NeoForge build and smoke tests.\n\n---\n\n## Root Project Layout\n\n```\nmy-mod\u002F\n├── build.gradle           ← root build (shared config)\n├── settings.gradle\n├── gradle.properties\n├── common\u002F\n│   ├── build.gradle\n│   └── src\u002Fmain\u002Fjava\u002Fcom\u002Fexample\u002Fmymod\u002F\n│       ├── MyMod.java               ← shared init\n│       ├── registry\u002F\n│       │   └── ModItems.java        ← shared registry declarations\n│       └── platform\u002F\n│           └── PlatformHelper.java  ← @ExpectPlatform methods\n├── fabric\u002F\n│   ├── build.gradle\n│   └── src\u002Fmain\u002F\n│       ├── java\u002Fcom\u002Fexample\u002Fmymod\u002Ffabric\u002F\n│       │   └── MyModFabric.java          ← Fabric entrypoint\n│       ├── java\u002Fcom\u002Fexample\u002Fmymod\u002Fplatform\u002Ffabric\u002F\n│       │   └── PlatformHelperImpl.java   ← Fabric @ExpectPlatform implementation\n│       └── resources\u002F\n│           ├── fabric.mod.json\n│           └── assets\u002F...\n└── neoforge\u002F\n    ├── build.gradle\n    └── src\u002Fmain\u002F\n        ├── java\u002Fcom\u002Fexample\u002Fmymod\u002Fneoforge\u002F\n        │   └── MyModNeoForge.java        ← NeoForge @Mod entry\n        ├── java\u002Fcom\u002Fexample\u002Fmymod\u002Fplatform\u002Fneoforge\u002F\n        │   └── PlatformHelperImpl.java   ← NeoForge @ExpectPlatform implementation\n        └── resources\u002F\n            ├── META-INF\u002Fneoforge.mods.toml\n            └── assets\u002F...\n```\n\n---\n\n## Legacy Build Template\n\nThe old fixed Gradle scripts were a 1.21.11 snapshot and are intentionally not\npresented as a current scaffold. For either supported version, read\n[`references\u002Flegacy-1.21.11-template.md`](references\u002Flegacy-1.21.11-template.md)\nor [`references\u002Farchitectury-reference.md`](references\u002Farchitectury-reference.md)\nbefore changing generated build files. They preserve version anchors and\nsource-set boundaries without encouraging a partial build script to be copied\ninto a different Minecraft line.\n\n---\n\n## Shared Common Code\n\n### `common\u002F...\u002FMyMod.java`\n```java\npackage com.example.mymod;\n\nimport dev.architectury.registry.registries.DeferredRegister;\nimport dev.architectury.registry.registries.RegistrySupplier;\nimport net.minecraft.core.registries.Registries;\nimport net.minecraft.resources.Identifier;\nimport net.minecraft.resources.ResourceKey;\nimport net.minecraft.world.item.Item;\n\npublic class MyMod {\n    public static final String MOD_ID = \"mymod\";\n\n    \u002F\u002F Architectury's DeferredRegister — works on both platforms\n    public static final DeferredRegister\u003CItem> ITEMS =\n        DeferredRegister.create(MOD_ID, Registries.ITEM);\n\n    public static final RegistrySupplier\u003CItem> MY_ITEM =\n        ITEMS.register(\"my_item\", () -> new Item(new Item.Properties().setId(\n            ResourceKey.create(Registries.ITEM,\n                Identifier.fromNamespaceAndPath(MOD_ID, \"my_item\"))\n        )));\n\n    public static void init() {\n        ITEMS.register(); \u002F\u002F registers with both platforms\n    }\n}\n```\n\n### `@ExpectPlatform` — platform-specific methods\n\nDefine the contract in `common\u002F`:\n```java\npackage com.example.mymod.platform;\n\nimport dev.architectury.injectables.annotations.ExpectPlatform;\n\npublic class PlatformHelper {\n\n    @ExpectPlatform\n    public static boolean isModLoaded(String modId) {\n        \u002F\u002F This body is replaced at compile time by the platform implementation\n        throw new AssertionError(\"ExpectPlatform implementation not found\");\n    }\n\n    @ExpectPlatform\n    public static boolean isClient() {\n        throw new AssertionError();\n    }\n}\n```\n\nAppend the platform name to the common class's package and `Impl` to its name.\nFor `com.example.mymod.platform.PlatformHelper`, the defaults are\n`com.example.mymod.platform.fabric.PlatformHelperImpl` and\n`com.example.mymod.platform.neoforge.PlatformHelperImpl`. Preserve any explicit\n[`platformPackage` override](https:\u002F\u002Fdocs.architectury.dev\u002Fplugin\u002Fcustom_platform_exp\u002F)\nin the generated build.\n\nImplement in `fabric\u002F...\u002Fplatform\u002Ffabric\u002FPlatformHelperImpl.java`:\n```java\npackage com.example.mymod.platform.fabric;\n\nimport net.fabricmc.loader.api.FabricLoader;\n\n\u002F\u002F Class name must match: \u003Ccommon class name>Impl\npublic class PlatformHelperImpl {\n\n    public static boolean isModLoaded(String modId) {\n        return FabricLoader.getInstance().isModLoaded(modId);\n    }\n\n    public static boolean isClient() {\n        return FabricLoader.getInstance().getEnvironmentType() ==\n            net.fabricmc.api.EnvType.CLIENT;\n    }\n}\n```\n\nImplement in `neoforge\u002F...\u002Fplatform\u002Fneoforge\u002FPlatformHelperImpl.java`:\n```java\npackage com.example.mymod.platform.neoforge;\n\nimport net.neoforged.fml.ModList;\nimport net.neoforged.fml.loading.FMLEnvironment;\n\npublic class PlatformHelperImpl {\n\n    public static boolean isModLoaded(String modId) {\n        return ModList.get().isLoaded(modId);\n    }\n\n    public static boolean isClient() {\n        return FMLEnvironment.getDist().isClient();\n    }\n}\n```\n\n---\n\n## Fabric Entrypoint\n\n### `fabric\u002F...\u002FMyModFabric.java`\n```java\npackage com.example.mymod.fabric;\n\nimport com.example.mymod.MyMod;\nimport net.fabricmc.api.ModInitializer;\n\npublic class MyModFabric implements ModInitializer {\n    @Override\n    public void onInitialize() {\n        MyMod.init();\n    }\n}\n```\n\n### `fabric\u002F...\u002Fresources\u002Ffabric.mod.json`\nThis retained-1.21.11 metadata example follows the minimum dependencies in the\n[upstream Architectury 1.21.11 branch](https:\u002F\u002Fgithub.com\u002Farchitectury\u002Farchitectury-api\u002Ftree\u002F1.21.11).\nKeep the generated project's exact ranges when they are stricter.\n\n```json\n{\n  \"schemaVersion\": 1,\n  \"id\": \"mymod\",\n  \"version\": \"${version}\",\n  \"name\": \"My Mod\",\n  \"description\": \"A multiloader example mod\",\n  \"license\": \"MIT\",\n  \"environment\": \"*\",\n  \"entrypoints\": {\n    \"main\": [\"com.example.mymod.fabric.MyModFabric\"]\n  },\n  \"depends\": {\n    \"fabricloader\": \">=0.18.2\",\n    \"fabric-api\": \">=0.139.4+1.21.11\",\n    \"architectury\": \">=19.0\",\n    \"minecraft\": \"~1.21.11\"\n  }\n}\n```\n\n---\n\n## NeoForge Entrypoint\n\n### `neoforge\u002F...\u002FMyModNeoForge.java`\n```java\npackage com.example.mymod.neoforge;\n\nimport com.example.mymod.MyMod;\nimport net.neoforged.bus.api.IEventBus;\nimport net.neoforged.fml.common.Mod;\n\n@Mod(MyMod.MOD_ID)\npublic class MyModNeoForge {\n    public MyModNeoForge(IEventBus modEventBus) {\n        MyMod.init();\n    }\n}\n```\n\n### `neoforge\u002F...\u002Fresources\u002FMETA-INF\u002Fneoforge.mods.toml`\n```toml\nmodLoader = \"javafml\"\nloaderVersion = \"[1,)\"\nlicense = \"MIT\"\n\n[[mods]]\nmodId = \"mymod\"\nversion = \"${file.jarVersion}\"\ndisplayName = \"My Mod\"\ndescription = \"A multiloader example mod\"\n\n[[dependencies.mymod]]\nmodId = \"neoforge\"\ntype = \"required\"\nversionRange = \"[21.11,)\"\nordering = \"NONE\"\nside = \"BOTH\"\n\n[[dependencies.mymod]]\nmodId = \"minecraft\"\ntype = \"required\"\nversionRange = \"[1.21.11,1.22)\"\nordering = \"NONE\"\nside = \"BOTH\"\n```\n\n---\n\n## Build Commands\n\n```bash\n# Build both JARs simultaneously\n.\u002Fgradlew build\n\n# Inspect the project's actual outputs. Generated templates choose their own\n# archive base name and version convention:\nfind fabric\u002Fbuild\u002Flibs neoforge\u002Fbuild\u002Flibs -maxdepth 1 -type f -name '*.jar' \\\n  ! -name '*-sources.jar' ! -name '*-dev.jar' ! -name '*-javadoc.jar'\n\n# Run in dev environment\n.\u002Fgradlew :fabric:runClient\n.\u002Fgradlew :neoforge:runClient\n.\u002Fgradlew :neoforge:runServer\n\n# Datagen (if applicable)\n.\u002Fgradlew :neoforge:runData\n```\n\n---\n\n## Common Pitfalls\n\n| Pitfall | Solution |\n|---------|----------|\n| Using `net.neoforged.*` \u002F `net.fabricmc.*` in `common\u002F` | Only use vanilla MC and Architectury APIs in common |\n| Direct field access on `DeferredRegister` (NeoForge style) in common | Use Architectury's `DeferredRegister` |\n| Constructing a 26.x item without a registry key | Create its `ResourceKey\u003CItem>` and call `Item.Properties#setId` before `new Item` |\n| `@ExpectPlatform` throws `AssertionError` at runtime | Check the `*Impl` class name, platform package suffix, and transformer wiring in both builds |\n| Assets duplicated in fabric\u002F and neoforge\u002F | Keep assets in `common\u002Fsrc\u002Fmain\u002Fresources\u002Fassets\u002F` |\n| A common Mixin imports a loader API or targets one loader's side | Put it in that platform subproject; loader-neutral Mixins may be common when both generated platform configurations include them |\n| Accessing world\u002Fregistry on mod init thread | Use `mod bus` events for setup; never access world on init |\n\n---\n\n## References\n\n- Architectury API GitHub: https:\u002F\u002Fgithub.com\u002Farchitectury\u002Farchitectury-api\n- Architectury API 26.2 source branch: https:\u002F\u002Fgithub.com\u002Farchitectury\u002Farchitectury-api\u002Ftree\u002F26.2\n- Architectury API 1.21.11 source branch: https:\u002F\u002Fgithub.com\u002Farchitectury\u002Farchitectury-api\u002Ftree\u002F1.21.11\n- Architectury Loom: https:\u002F\u002Fgithub.com\u002Farchitectury\u002Farchitectury-loom\n- Architectury templates: https:\u002F\u002Fgithub.com\u002Farchitectury\u002Farchitectury-templates\n- Architectury Template Generator: https:\u002F\u002Fgenerate.architectury.dev\u002F\n- Architectury docs: https:\u002F\u002Fdocs.architectury.dev\u002F\n","# Minecraft Multiloader Skill (Architectury)\n\n## What Is Architectury?\n\n[Architectury](https:\u002F\u002Fgithub.com\u002Farchitectury\u002Farchitectury-api) is a framework that\nlets you write one mod codebase that compiles to both **NeoForge** and **Fabric** JARs.\nThe common subproject has a shared API; platform subprojects implement\nplatform-specific behavior behind the `@ExpectPlatform` abstraction.\n\n### Routing Boundaries\n- `Use when`: one shared codebase must build and ship both NeoForge and Fabric artifacts.\n- `Do not use when`: the project is single-loader only (`minecraft-modding` for NeoForge\u002FFabric, not both).\n- `Do not use when`: the task is Paper\u002FBukkit plugin development (`minecraft-plugin-dev`).\n\n| Component | Purpose |\n|-----------|---------|\n| `architectury-loom` | Gradle plugin — extends Fabric Loom for multiloader support |\n| `architectury-api` | Runtime library — abstractions over both platforms |\n| `@ExpectPlatform` | Annotation marking methods with platform-specific implementations |\n| `common\u002F` | Shared code (no loader-specific APIs) |\n| `fabric\u002F` | Fabric-specific code + entrypoint |\n| `neoforge\u002F` | NeoForge-specific code + entrypoint |\n\n---\n\n## Versions (Minecraft 1.21.11)\n\n```properties\n# gradle.properties property names used by this skill's static helper.\n# Get every tool version from the exact generated or known-working project.\nmod_version=1.0.0\nminecraft_version=1.21.11\nenabled_platforms=fabric,neoforge\n\narchitectury_version=\u003Cproject pin>\nfabric_loader_version=\u003Cproject pin>\nfabric_api_version=\u003Cproject pin ending in +1.21.11>\nneoforge_version=\u003Cproject pin in the 21.11.x family>\nloom_version=\u003Cproject pin>\n```\n\nPin `architectury_version`, the Architectury plugin version, and `loom_version`\nfrom the same generated or known-working project line. This skill deliberately\ndoes not publish a copyable dependency matrix: its static helper cannot resolve\nwhether a particular set of versions is compatible.\n\nFor Minecraft 26.x \u002F Java 25, use the official\n[Architectury Template Generator](https:\u002F\u002Fgenerate.architectury.dev\u002F) only when\nits version selector offers the exact target. Generate a **Multiplatform**\nproject with Fabric and NeoForge, then preserve the generated Gradle layout and\npins as one set. If the generator does not offer the target, begin with an\nalready working project on that exact line and inspect its resolved build; do\nnot relabel a 1.21.11 template as 26.x. The published template downloads are\nnot a substitute for an exact-current scaffold.\n\nDo not mechanically change only `minecraft_version` in the retained example:\n26.x is unobfuscated and its Loom\u002Fremapping setup differs from 1.21.11.\n\n## Bundled References And Helpers\n\n- Version alignment reference: `references\u002Farchitectury-reference.md`\n- Sanity checker: `.\u002Fscripts\u002Fcheck-version-sanity.sh --root \u003Cproject>`\n\nRun the sanity checker after editing `gradle.properties`. It is a static\nsyntax-and-version-family preflight: it catches missing keys, snapshot pins,\nmissing `fabric` \u002F `neoforge` platforms, and obvious version-family drift. It\ndoes not resolve dependencies, prove loader compatibility, or replace the\nproject's Fabric and NeoForge build and smoke tests.\n\n---\n\n## Root Project Layout\n\n```\nmy-mod\u002F\n├── build.gradle           ← root build (shared config)\n├── settings.gradle\n├── gradle.properties\n├── common\u002F\n│   ├── build.gradle\n│   └── src\u002Fmain\u002Fjava\u002Fcom\u002Fexample\u002Fmymod\u002F\n│       ├── MyMod.java               ← shared init\n│       ├── registry\u002F\n│       │   └── ModItems.java        ← shared registry declarations\n│       └── platform\u002F\n│           └── PlatformHelper.java  ← @ExpectPlatform methods\n├── fabric\u002F\n│   ├── build.gradle\n│   └── src\u002Fmain\u002F\n│       ├── java\u002Fcom\u002Fexample\u002Fmymod\u002Ffabric\u002F\n│       │   └── MyModFabric.java          ← Fabric entrypoint\n│       ├── java\u002Fcom\u002Fexample\u002Fmymod\u002Fplatform\u002Ffabric\u002F\n│       │   └── PlatformHelperImpl.java   ← Fabric @ExpectPlatform implementation\n│       └── resources\u002F\n│           ├── fabric.mod.json\n│           └── assets\u002F...\n└── neoforge\u002F\n    ├── build.gradle\n    └── src\u002Fmain\u002F\n        ├── java\u002Fcom\u002Fexample\u002Fmymod\u002Fneoforge\u002F\n        │   └── MyModNeoForge.java        ← NeoForge @Mod entry\n        ├── java\u002Fcom\u002Fexample\u002Fmymod\u002Fplatform\u002Fneoforge\u002F\n        │   └── PlatformHelperImpl.java   ← NeoForge @ExpectPlatform implementation\n        └── resources\u002F\n            ├── META-INF\u002Fneoforge.mods.toml\n            └── assets\u002F...\n```\n\n---\n\n## Legacy Build Template\n\nThe old fixed Gradle scripts were a 1.21.11 snapshot and are intentionally not\npresented as a current scaffold. For either supported version, read\n[`references\u002Flegacy-1.21.11-template.md`](references\u002Flegacy-1.21.11-template.md)\nor [`references\u002Farchitectury-reference.md`](references\u002Farchitectury-reference.md)\nbefore changing generated build files. They preserve version anchors and\nsource-set boundaries without encouraging a partial build script to be copied\ninto a different Minecraft line.\n\n---\n\n## Shared Common Code\n\n### `common\u002F...\u002FMyMod.java`\n```java\npackage com.example.mymod;\n\nimport dev.architectury.registry.registries.DeferredRegister;\nimport dev.architectury.registry.registries.RegistrySupplier;\nimport net.minecraft.core.registries.Registries;\nimport net.minecraft.resources.Identifier;\nimport net.minecraft.resources.ResourceKey;\nimport net.minecraft.world.item.Item;\n\npublic class MyMod {\n    public static final String MOD_ID = \"mymod\";\n\n    \u002F\u002F Architectury's DeferredRegister — works on both platforms\n    public static final DeferredRegister\u003CItem> ITEMS =\n        DeferredRegister.create(MOD_ID, Registries.ITEM);\n\n    public static final RegistrySupplier\u003CItem> MY_ITEM =\n        ITEMS.register(\"my_item\", () -> new Item(new Item.Properties().setId(\n            ResourceKey.create(Registries.ITEM,\n                Identifier.fromNamespaceAndPath(MOD_ID, \"my_item\"))\n        )));\n\n    public static void init() {\n        ITEMS.register(); \u002F\u002F registers with both platforms\n    }\n}\n```\n\n### `@ExpectPlatform` — platform-specific methods\n\nDefine the contract in `common\u002F`:\n```java\npackage com.example.mymod.platform;\n\nimport dev.architectury.injectables.annotations.ExpectPlatform;\n\npublic class PlatformHelper {\n\n    @ExpectPlatform\n    public static boolean isModLoaded(String modId) {\n        \u002F\u002F This body is replaced at compile time by the platform implementation\n        throw new AssertionError(\"ExpectPlatform implementation not found\");\n    }\n\n    @ExpectPlatform\n    public static boolean isClient() {\n        throw new AssertionError();\n    }\n}\n```\n\nAppend the platform name to the common class's package and `Impl` to its name.\nFor `com.example.mymod.platform.PlatformHelper`, the defaults are\n`com.example.mymod.platform.fabric.PlatformHelperImpl` and\n`com.example.mymod.platform.neoforge.PlatformHelperImpl`. Preserve any explicit\n[`platformPackage` override](https:\u002F\u002Fdocs.architectury.dev\u002Fplugin\u002Fcustom_platform_exp\u002F)\nin the generated build.\n\nImplement in `fabric\u002F...\u002Fplatform\u002Ffabric\u002FPlatformHelperImpl.java`:\n```java\npackage com.example.mymod.platform.fabric;\n\nimport net.fabricmc.loader.api.FabricLoader;\n\n\u002F\u002F Class name must match: \u003Ccommon class name>Impl\npublic class PlatformHelperImpl {\n\n    public static boolean isModLoaded(String modId) {\n        return FabricLoader.getInstance().isModLoaded(modId);\n    }\n\n    public static boolean isClient() {\n        return FabricLoader.getInstance().getEnvironmentType() ==\n            net.fabricmc.api.EnvType.CLIENT;\n    }\n}\n```\n\nImplement in `neoforge\u002F...\u002Fplatform\u002Fneoforge\u002FPlatformHelperImpl.java`:\n```java\npackage com.example.mymod.platform.neoforge;\n\nimport net.neoforged.fml.ModList;\nimport net.neoforged.fml.loading.FMLEnvironment;\n\npublic class PlatformHelperImpl {\n\n    public static boolean isModLoaded(String modId) {\n        return ModList.get().isLoaded(modId);\n    }\n\n    public static boolean isClient() {\n        return FMLEnvironment.getDist().isClient();\n    }\n}\n```\n\n---\n\n## Fabric Entrypoint\n\n### `fabric\u002F...\u002FMyModFabric.java`\n```java\npackage com.example.mymod.fabric;\n\nimport com.example.mymod.MyMod;\nimport net.fabricmc.api.ModInitializer;\n\npublic class MyModFabric implements ModInitializer {\n    @Override\n    public void onInitialize() {\n        MyMod.init();\n    }\n}\n```\n\n### `fabric\u002F...\u002Fresources\u002Ffabric.mod.json`\nThis retained-1.21.11 metadata example follows the minimum dependencies in the\n[upstream Architectury 1.21.11 branch](https:\u002F\u002Fgithub.com\u002Farchitectury\u002Farchitectury-api\u002Ftree\u002F1.21.11).\nKeep the generated project's exact ranges when they are stricter.\n\n```json\n{\n  \"schemaVersion\": 1,\n  \"id\": \"mymod\",\n  \"version\": \"${version}\",\n  \"name\": \"My Mod\",\n  \"description\": \"A multiloader example mod\",\n  \"license\": \"MIT\",\n  \"environment\": \"*\",\n  \"entrypoints\": {\n    \"main\": [\"com.example.mymod.fabric.MyModFabric\"]\n  },\n  \"depends\": {\n    \"fabricloader\": \">=0.18.2\",\n    \"fabric-api\": \">=0.139.4+1.21.11\",\n    \"architectury\": \">=19.0\",\n    \"minecraft\": \"~1.21.11\"\n  }\n}\n```\n\n---\n\n## NeoForge Entrypoint\n\n### `neoforge\u002F...\u002FMyModNeoForge.java`\n```java\npackage com.example.mymod.neoforge;\n\nimport com.example.mymod.MyMod;\nimport net.neoforged.bus.api.IEventBus;\nimport net.neoforged.fml.common.Mod;\n\n@Mod(MyMod.MOD_ID)\npublic class MyModNeoForge {\n    public MyModNeoForge(IEventBus modEventBus) {\n        MyMod.init();\n    }\n}\n```\n\n### `neoforge\u002F...\u002Fresources\u002FMETA-INF\u002Fneoforge.mods.toml`\n```toml\nmodLoader = \"javafml\"\nloaderVersion = \"[1,)\"\nlicense = \"MIT\"\n\n[[mods]]\nmodId = \"mymod\"\nversion = \"${file.jarVersion}\"\ndisplayName = \"My Mod\"\ndescription = \"A multiloader example mod\"\n\n[[dependencies.mymod]]\nmodId = \"neoforge\"\ntype = \"required\"\nversionRange = \"[21.11,)\"\nordering = \"NONE\"\nside = \"BOTH\"\n\n[[dependencies.mymod]]\nmodId = \"minecraft\"\ntype = \"required\"\nversionRange = \"[1.21.11,1.22)\"\nordering = \"NONE\"\nside = \"BOTH\"\n```\n\n---\n\n## Build Commands\n\n```bash\n# Build both JARs simultaneously\n.\u002Fgradlew build\n\n# Inspect the project's actual outputs. Generated templates choose their own\n# archive base name and version convention:\nfind fabric\u002Fbuild\u002Flibs neoforge\u002Fbuild\u002Flibs -maxdepth 1 -type f -name '*.jar' \\\n  ! -name '*-sources.jar' ! -name '*-dev.jar' ! -name '*-javadoc.jar'\n\n# Run in dev environment\n.\u002Fgradlew :fabric:runClient\n.\u002Fgradlew :neoforge:runClient\n.\u002Fgradlew :neoforge:runServer\n\n# Datagen (if applicable)\n.\u002Fgradlew :neoforge:runData\n```\n\n---\n\n## Common Pitfalls\n\n| Pitfall | Solution |\n|---------|----------|\n| Using `net.neoforged.*` \u002F `net.fabricmc.*` in `common\u002F` | Only use vanilla MC and Architectury APIs in common |\n| Direct field access on `DeferredRegister` (NeoForge style) in common | Use Architectury's `DeferredRegister` |\n| Constructing a 26.x item without a registry key | Create its `ResourceKey\u003CItem>` and call `Item.Properties#setId` before `new Item` |\n| `@ExpectPlatform` throws `AssertionError` at runtime | Check the `*Impl` class name, platform package suffix, and transformer wiring in both builds |\n| Assets duplicated in fabric\u002F and neoforge\u002F | Keep assets in `common\u002Fsrc\u002Fmain\u002Fresources\u002Fassets\u002F` |\n| A common Mixin imports a loader API or targets one loader's side | Put it in that platform subproject; loader-neutral Mixins may be common when both generated platform configurations include them |\n| Accessing world\u002Fregistry on mod init thread | Use `mod bus` events for setup; never access world on init |\n\n---\n\n## References\n\n- Architectury API GitHub: https:\u002F\u002Fgithub.com\u002Farchitectury\u002Farchitectury-api\n- Architectury API 26.2 source branch: https:\u002F\u002Fgithub.com\u002Farchitectury\u002Farchitectury-api\u002Ftree\u002F26.2\n- Architectury API 1.21.11 source branch: https:\u002F\u002Fgithub.com\u002Farchitectury\u002Farchitectury-api\u002Ftree\u002F1.21.11\n- Architectury Loom: https:\u002F\u002Fgithub.com\u002Farchitectury\u002Farchitectury-loom\n- Architectury templates: https:\u002F\u002Fgithub.com\u002Farchitectury\u002Farchitectury-templates\n- Architectury Template Generator: https:\u002F\u002Fgenerate.architectury.dev\u002F\n- Architectury docs: https:\u002F\u002Fdocs.architectury.dev\u002F\n",{"name":5,"description":7},"main","22d61ce6b7a0c5f215008824aa6b94ecc73f2a43",".claude\u002Fskills\u002Fminecraft-multiloader",11,"https:\u002F\u002Fgithub.com\u002FJahrome907\u002Fminecraft-agent-skills","https:\u002F\u002Fgithub.com\u002FJahrome907","joe-o.com","Product engineer building field tools, workflow automation, and polished web applications.","2026-10-30 08:19:45",{"source":8,"skillName":5,"commands":45,"prompt":55,"zipAvailable":56},[46,49,52],{"tool":47,"command":48},"npx","npx skills add Jahrome907\u002Fminecraft-agent-skills --skill minecraft-multiloader",{"tool":50,"command":51},"bunx","bunx skills add Jahrome907\u002Fminecraft-agent-skills --skill minecraft-multiloader",{"tool":53,"command":54},"pnpm","pnpm dlx skills add Jahrome907\u002Fminecraft-agent-skills --skill minecraft-multiloader","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FJahrome907\u002Fminecraft-agent-skills\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fminecraft-multiloader\u002FSKILL.md",true,[58,64,68,72,78],{"path":59,"resourceType":60,"resourceTypeDesc":61,"sizeBytes":62,"sourceHtmlUrl":63},"references\u002Farchitectury-reference.md","REFERENCE","参考文档",2804,"https:\u002F\u002Fgithub.com\u002FJahrome907\u002Fminecraft-agent-skills\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fminecraft-multiloader\u002Freferences\u002Farchitectury-reference.md",{"path":65,"resourceType":60,"resourceTypeDesc":61,"sizeBytes":66,"sourceHtmlUrl":67},"references\u002Flegacy-1.21.11-template.md",2762,"https:\u002F\u002Fgithub.com\u002FJahrome907\u002Fminecraft-agent-skills\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fminecraft-multiloader\u002Freferences\u002Flegacy-1.21.11-template.md",{"path":69,"resourceType":60,"resourceTypeDesc":61,"sizeBytes":70,"sourceHtmlUrl":71},"references\u002Fstring_reference.md",13697,"https:\u002F\u002Fgithub.com\u002Ffadrienne\u002FMyGitHub\u002Fblob\u002Fmain\u002Fopenscience\u002Fbackend\u002Fcli\u002Fskills\u002Fdatabases\u002Fstring-database\u002Freferences\u002Fstring_reference.md",{"path":73,"resourceType":74,"resourceTypeDesc":75,"sizeBytes":76,"sourceHtmlUrl":77},"scripts\u002Fcheck-version-sanity.sh","SCRIPT","脚本",4638,"https:\u002F\u002Fgithub.com\u002FJahrome907\u002Fminecraft-agent-skills\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fminecraft-multiloader\u002Fscripts\u002Fcheck-version-sanity.sh",{"path":79,"resourceType":74,"resourceTypeDesc":75,"sizeBytes":80,"sourceHtmlUrl":81},"scripts\u002Fstring_api.py",11927,"https:\u002F\u002Fgithub.com\u002Ffadrienne\u002FMyGitHub\u002Fblob\u002Fmain\u002Fopenscience\u002Fbackend\u002Fcli\u002Fskills\u002Fdatabases\u002Fstring-database\u002Fscripts\u002Fstring_api.py",[83,98,103,115,123,130],{"skillNo":84,"name":85,"nameZh":6,"description":86,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":87,"categories":88,"keywords":89,"publishedAt":30},"01M6D2TV8CBAMB70CEC19VMVX5","minecraft-ci-release","Fixture with valid workflow YAML and a warning-only glob pattern.","https:\u002F\u002Fgithub.com\u002FJahrome907\u002Fminecraft-agent-skills\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Fvalidators\u002Fci-release\u002Fwarn-only\u002FSKILL.md",[],[90,19,91,92,93,94,25,95,96,97],"minecraft ci release","ci","release","fixture","pattern","yaml","workflow","valid",{"skillNo":99,"name":97,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":100,"categories":101,"keywords":102,"publishedAt":30},"01M6D2TR1N9TNJPTRB66WDCY8X","https:\u002F\u002Fgithub.com\u002FJahrome907\u002Fminecraft-agent-skills\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Fvalidators\u002Fci-release\u002Fvalid\u002FSKILL.md",[],[97],{"skillNo":104,"name":85,"nameZh":6,"description":105,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":106,"categories":107,"keywords":113,"publishedAt":30},"01M6D2TNBM97CCTYFCDKCFQ4AR","Fixture for a secretless workflow that passes strict validation.","https:\u002F\u002Fgithub.com\u002FJahrome907\u002Fminecraft-agent-skills\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Fvalidators\u002Fci-release\u002Fsecretless-strict\u002FSKILL.md",[108],{"categoryNo":109,"categoryName":110,"taxonomyType":111,"taxonomyTypeDesc":112},"01JBSEEDCAT000000000000023","Skill与智能体开发","SCENARIO","使用场景",[90,19,91,92,93,114,96],"validation",{"skillNo":116,"name":117,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":118,"categories":119,"keywords":121,"publishedAt":30},"01M6D2TJ9FX4FH1TMGKQPYNZQX","non-workflow-yaml","https:\u002F\u002Fgithub.com\u002FJahrome907\u002Fminecraft-agent-skills\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Fvalidators\u002Fci-release\u002Fnon-workflow-yaml\u002FSKILL.md",[120],{"categoryNo":109,"categoryName":110,"taxonomyType":111,"taxonomyTypeDesc":112},[122,95,96],"non workflow yaml",{"skillNo":124,"name":85,"nameZh":6,"description":125,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":126,"categories":127,"keywords":128,"publishedAt":30},"01M6D2TFE807BSXTEREYPWFY3G","Fixture with a mutable remote action reference.","https:\u002F\u002Fgithub.com\u002FJahrome907\u002Fminecraft-agent-skills\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Fvalidators\u002Fci-release\u002Fmutable-action\u002FSKILL.md",[],[90,19,91,92,129,93],"reference",{"skillNo":131,"name":85,"nameZh":6,"description":132,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":133,"categories":134,"keywords":135,"publishedAt":30},"01M6D2TBYJ0SM3B79908DH9ECE","Fixture with valid multiline flow collections in workflow YAML.","https:\u002F\u002Fgithub.com\u002FJahrome907\u002Fminecraft-agent-skills\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Fvalidators\u002Fci-release\u002Fmultiline-flow\u002FSKILL.md",[],[90,92,19,91,96,95,136,93,137,97],"flow","collections"]