feat(anthrax-cat): add craftable item, recipe, and inventory entry
All checks were successful
Deploy Addons / deploy (push) Successful in 14s

- 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 <noreply@anthropic.com>
This commit is contained in:
2026-04-06 21:05:38 +01:00
parent d552525281
commit 23f2e6c3bd
6 changed files with 57 additions and 1 deletions

View File

@@ -3,7 +3,7 @@
"minecraft:entity": { "minecraft:entity": {
"description": { "description": {
"identifier": "silverlabs:anthrax_cat", "identifier": "silverlabs:anthrax_cat",
"is_spawnable": true, "is_spawnable": false,
"is_summonable": true, "is_summonable": true,
"is_experimental": false "is_experimental": false
}, },

View File

@@ -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"
}
}
}
}

View File

@@ -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
}
}
}

View File

@@ -1,2 +1,3 @@
entity.silverlabs:anthrax_cat.name=Anthrax Cat entity.silverlabs:anthrax_cat.name=Anthrax Cat
item.silverlabs:anthrax_cat.name=Anthrax Cat
action.interact.fortune=Consult the Anthrax Cat action.interact.fortune=Consult the Anthrax Cat

View File

@@ -0,0 +1,9 @@
{
"resource_pack_name": "anthrax_cat_RP",
"texture_name": "atlas.items",
"texture_data": {
"anthrax_cat": {
"textures": "textures/items/anthrax_cat"
}
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 312 B