From 23f2e6c3bd792f2d68d94b3786b1efeee0a6e687 Mon Sep 17 00:00:00 2001 From: SysAdmin Date: Mon, 6 Apr 2026 21:05:38 +0100 Subject: [PATCH] feat(anthrax-cat): add craftable item, recipe, and inventory entry MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Custom item silverlabs:anthrax_cat with entity_placer — place cat by right-clicking ground - Shaped recipe: 4 gold ingots + 1 red dye (cross pattern) at crafting table - Recipe unlocks when player has a gold ingot - Item appears in creative inventory under Items > Misc - Item icon: 16x16 Maneki-neko pixel art - Set is_spawnable: false on entity (use crafted item instead of spawn egg) Co-Authored-By: Claude Sonnet 4.6 --- .../anthrax_cat_BP/entities/anthrax_cat.json | 2 +- addon/anthrax_cat_BP/items/anthrax_cat.json | 21 +++++++++++++++ addon/anthrax_cat_BP/recipes/anthrax_cat.json | 25 ++++++++++++++++++ addon/anthrax_cat_RP/texts/en_US.lang | 1 + .../anthrax_cat_RP/textures/item_texture.json | 9 +++++++ .../textures/items/anthrax_cat.png | Bin 0 -> 312 bytes 6 files changed, 57 insertions(+), 1 deletion(-) create mode 100644 addon/anthrax_cat_BP/items/anthrax_cat.json create mode 100644 addon/anthrax_cat_BP/recipes/anthrax_cat.json create mode 100644 addon/anthrax_cat_RP/textures/item_texture.json create mode 100644 addon/anthrax_cat_RP/textures/items/anthrax_cat.png diff --git a/addon/anthrax_cat_BP/entities/anthrax_cat.json b/addon/anthrax_cat_BP/entities/anthrax_cat.json index b1c95fc..19063be 100644 --- a/addon/anthrax_cat_BP/entities/anthrax_cat.json +++ b/addon/anthrax_cat_BP/entities/anthrax_cat.json @@ -3,7 +3,7 @@ "minecraft:entity": { "description": { "identifier": "silverlabs:anthrax_cat", - "is_spawnable": true, + "is_spawnable": false, "is_summonable": true, "is_experimental": false }, diff --git a/addon/anthrax_cat_BP/items/anthrax_cat.json b/addon/anthrax_cat_BP/items/anthrax_cat.json new file mode 100644 index 0000000..6a0e47d --- /dev/null +++ b/addon/anthrax_cat_BP/items/anthrax_cat.json @@ -0,0 +1,21 @@ +{ + "format_version": "1.21.0", + "minecraft:item": { + "description": { + "identifier": "silverlabs:anthrax_cat", + "menu_category": { + "category": "items", + "group": "itemGroup.name.misc" + } + }, + "components": { + "minecraft:max_stack_size": 16, + "minecraft:icon": { + "texture": "anthrax_cat" + }, + "minecraft:entity_placer": { + "entity": "silverlabs:anthrax_cat" + } + } + } +} diff --git a/addon/anthrax_cat_BP/recipes/anthrax_cat.json b/addon/anthrax_cat_BP/recipes/anthrax_cat.json new file mode 100644 index 0000000..095a1fa --- /dev/null +++ b/addon/anthrax_cat_BP/recipes/anthrax_cat.json @@ -0,0 +1,25 @@ +{ + "format_version": "1.21.0", + "minecraft:recipe_shaped": { + "description": { + "identifier": "silverlabs:anthrax_cat_recipe" + }, + "tags": ["crafting_table"], + "unlock": [ + { "item": "minecraft:gold_ingot" } + ], + "pattern": [ + " G ", + "GRG", + " G " + ], + "key": { + "G": { "item": "minecraft:gold_ingot" }, + "R": { "item": "minecraft:red_dye" } + }, + "result": { + "item": "silverlabs:anthrax_cat", + "count": 1 + } + } +} diff --git a/addon/anthrax_cat_RP/texts/en_US.lang b/addon/anthrax_cat_RP/texts/en_US.lang index 8045dc1..6a94afe 100644 --- a/addon/anthrax_cat_RP/texts/en_US.lang +++ b/addon/anthrax_cat_RP/texts/en_US.lang @@ -1,2 +1,3 @@ entity.silverlabs:anthrax_cat.name=Anthrax Cat +item.silverlabs:anthrax_cat.name=Anthrax Cat action.interact.fortune=Consult the Anthrax Cat diff --git a/addon/anthrax_cat_RP/textures/item_texture.json b/addon/anthrax_cat_RP/textures/item_texture.json new file mode 100644 index 0000000..5f82317 --- /dev/null +++ b/addon/anthrax_cat_RP/textures/item_texture.json @@ -0,0 +1,9 @@ +{ + "resource_pack_name": "anthrax_cat_RP", + "texture_name": "atlas.items", + "texture_data": { + "anthrax_cat": { + "textures": "textures/items/anthrax_cat" + } + } +} diff --git a/addon/anthrax_cat_RP/textures/items/anthrax_cat.png b/addon/anthrax_cat_RP/textures/items/anthrax_cat.png new file mode 100644 index 0000000000000000000000000000000000000000..060e7585bea6ddf16c6c823b9518e46bd454b136 GIT binary patch literal 312 zcmV-80muG{P)@Ka89crB=uySoBaIZ{UX!JgU6iFGsylGsKY5Y4U-)E_?+>B{0DAz-e9~z9w=b|0000< KMNUMnLSTX(ZGrCq literal 0 HcmV?d00001