Basic knowledge
Skill code-onigiri/mc-modding-skill/.agent/skills/basic-knowledge
Minecraft開発用スキル
npx -y skills add code-onigiri/mc-modding-skill --skill basic-knowledgeAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 2 stars2 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
What its author says it does
Copied from the file, not written here
Minecraft Moddingの基本概念。対応バージョン・ModLoader・基本要素の概要。
The file declares its own license as MIT. That is the author’s claim about this one file, and it is not the same thing as the license GitHub reports for the repository, which is listed with the other numbers below.
SKILL.md
1.4 KB, as published. Nobody here has run it
対応環境
| Version | ModLoader | JDK | 状態 |
|---|---|---|---|
| 1.20.1 | Forge | 17+ | ✅ 対象 |
| 1.21.1 | NeoForge | 21+ | ✅ 対象 |
| 1.17~1.19 | — | — | ⚠️ 参考程度 |
| ~1.12.2 | — | — | ❌ 非対応 |
| 1.21.2~26.x | — | — | ❌ 非対応 |
| Bedrock Edition | — | — | ❌ 対象外 |
Note: 1.21.1の次は26.1となります(バージョン番号が飛びます)。
改造の2要素
- Resource Pack / Data Pack: テクスチャ・モデル・レシピ・ワールド生成など。DataGenでJavaから生成可能。
- Java コード: Block・Item・Entity・Capability など、ゲームロジックの直接実装。
✅ やるべきこと
- 対象バージョン(1.20.1 Forge / 1.21.1 NeoForge)の資料に従う
- DataGen で JSON を生成する(手書きはミスの元)
- Resource Pack / Data Pack の仕様を理解してから書く
- GUI のサイズ・位置は定量的に測る
❌ やってはいけないこと
- 古いバージョン(~1.12.2)のチュートリアルを鵜呑みにする
- Bedrock Edition 向けに Mod を書こうとする
- Data Pack JSON を手書きして構文エラーを出す(DataGen 推奨)
- GUI レイアウトを「目測」で組む