From e285c3b6ed1ada80c4a7fc4d581d82d9ce6c1580 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Henke?= Date: Fri, 3 Jan 2025 22:57:31 +0100 Subject: [PATCH] 2025-03-05 Welcome and Setup aktualisiert --- 2025-03-05 Welcome and Setup.-.md | 35 +++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) diff --git a/2025-03-05 Welcome and Setup.-.md b/2025-03-05 Welcome and Setup.-.md index 215dae0..8221359 100644 --- a/2025-03-05 Welcome and Setup.-.md +++ b/2025-03-05 Welcome and Setup.-.md @@ -79,3 +79,38 @@ in `GTAGDP`, modify to: ModItems.registerModItems(); } ``` + +under `src/main/resources/assets/gtagdp`, add: + +- `items/stub.json` +```json +{ + "model": { + "type": "minecraft:model", + "model": "gtagdp:item/stub" + } +} +``` +- `lang` + - `de_de.json` +```json +{ + "item.gtagdp.stub": "Stummel" +} +``` + - `en_us.json` +```json +{ + "item.gtagdp.stub": "Stub" +} +``` +- `models/item/stub.json` +```json +{ + "parent": "minecraft:item/generated", + "textures": { + "layer0": "gtagdp:item/stub" + } +} +``` +- `textures/item/stub.png` \ No newline at end of file