basic-knowledge

A reference guide for making Minecraft Java mods with Forge or NeoForge. It covers supported versions, resource and data packs, Java game logic, and recommended practices.

In plain words
What is it for?
Use it when building blocks, items, entities, recipes, world generation, interfaces, or other mod features for the listed Minecraft versions.
Why use it?
Minecraft modding changes across versions, so this guide helps avoid using incompatible tutorials or incorrect file formats.

Skill for Claude CodeCodex

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/code-onigiri/mc-modding-skill/basic-knowledge
Any agent
npx skills add code-onigiri/mc-modding-skill --skill basic-knowledge
Clone the repo
git clone --depth 1 https://github.com/code-onigiri/mc-modding-skill

Made for: Claude Code, Codex.

Per session 27 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 470 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00027 $0.00470
Opus 5 $0.00014 $0.00235
Sonnet 5 $0.00005 $0.00094
Haiku 4.5 $0.00003 $0.00047

Measured yesterday against content hash 423e9904b763, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

basic-knowledge scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured yesterday.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.agent/skills/basic-knowledge/SKILL.md · 40 lines

What it actually says

対応環境

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 レイアウトを「目測」で組む
Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. yesterday First seen · 40 lines · 27 tokens per session scan A 423e9904b763

Subscribe to this mod's changes

basic-knowledge is a skill published in the GitHub repository code-onigiri/mc-modding-skill (2 stars, last pushed 2mo ago), licensed MIT. It adds 27 tokens to every session and 470 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

exec-inspect

Verifies a Minecraft Java Edition build in-world after each phase — checks the plan was carried out as specified, that the result fits the world cleanly (no dangling edges, blocked paths, or unintended overrides), and proposes concrete course corrections. Use after every major phase of executing a build plan, as the…

chapmanjw/minecraft-java-fabric-claude-plugin · 79 tokens

system-redstone

Designs, plans, and verifies complex redstone and mechanical contraptions in a live Minecraft Java Edition world — item sorters, hidden and piston doors, automatic farms, mob-spawner collectors, minecart networks and roller coasters, water and bubble elevators, note-block music, traps, and decorative machines.…

chapmanjw/minecraft-java-fabric-claude-plugin · 132 tokens

design-city

Designs and blueprints whole cities and city districts in a live Minecraft Java Edition world — real-world replicas (modern and historical), pop-culture replicas, and original cities. Plans the urban fabric — district zoning, street hierarchy, transit, walls, and reused vernacular building modules — and defers every…

chapmanjw/minecraft-java-fabric-claude-plugin · 121 tokens

exec-plan

Captures build requirements for a Minecraft Java Edition world, interviews the user to resolve ambiguity, and produces a detailed, fully-resolved build plan that a small model can execute mechanically. Use when starting a new Minecraft build or feature, or when a build request must be turned into a concrete plan…

chapmanjw/minecraft-java-fabric-claude-plugin · 74 tokens

exec-worker

Executes a detailed Minecraft build plan step by step — placing, filling, cloning blocks and stamping structures exactly as specified, with no redesign or improvisation. Use to carry out a plan.toon produced by exec-plan once it is detailed enough to follow mechanically. Part of the minecraft-builder workflow.

chapmanjw/minecraft-java-fabric-claude-plugin · 62 tokens

exec-blueprint

Turns a Minecraft build plan into named, reusable structure definitions saved inside the world, so build elements can be placed, copied, and iterated later without any external state. Use after planning, to create or update the structure library for a build. Part of the minecraft-builder workflow.

chapmanjw/minecraft-java-fabric-claude-plugin · 60 tokens