ba4cf45aac
- `new --template content`: a content mod with one block (Glowing Amethyst, copying vanilla's amethyst block) and its block state, model, item model, name, loot, recipe and pickaxe tag; `--template code` is the default. - `build` packs the mod's `assets/` and `data/` (read and checked as the game reads them) beside the component; a folder without `Cargo.toml` is a content mod and needs no compiler. - `check` takes a `.hmod` with no `mod.wasm`: "no code: content only, nothing to run" instead of the trial run, which refused it, so the registry can publish content mods. - The guide (content mods, make a mod) and docs/mods.md, docs/api/mods.md say so. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
12 lines
277 B
JSON
12 lines
277 B
JSON
{
|
|
"type": "minecraft:block",
|
|
"pools": [
|
|
{
|
|
"condition": { "type": "minecraft:survives_explosion" },
|
|
"entries": [{ "type": "minecraft:item", "name": "{id}:glowing_amethyst" }],
|
|
"rolls": 1
|
|
}
|
|
],
|
|
"random_sequence": "{id}:blocks/glowing_amethyst"
|
|
}
|