feat(anthrax-cat): add craftable item, recipe, and inventory entry
All checks were successful
Deploy Addons / deploy (push) Successful in 14s
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:
@@ -3,7 +3,7 @@
|
||||
"minecraft:entity": {
|
||||
"description": {
|
||||
"identifier": "silverlabs:anthrax_cat",
|
||||
"is_spawnable": true,
|
||||
"is_spawnable": false,
|
||||
"is_summonable": true,
|
||||
"is_experimental": false
|
||||
},
|
||||
|
||||
21
addon/anthrax_cat_BP/items/anthrax_cat.json
Normal file
21
addon/anthrax_cat_BP/items/anthrax_cat.json
Normal 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"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
25
addon/anthrax_cat_BP/recipes/anthrax_cat.json
Normal file
25
addon/anthrax_cat_BP/recipes/anthrax_cat.json
Normal 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
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -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
|
||||
|
||||
9
addon/anthrax_cat_RP/textures/item_texture.json
Normal file
9
addon/anthrax_cat_RP/textures/item_texture.json
Normal file
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"resource_pack_name": "anthrax_cat_RP",
|
||||
"texture_name": "atlas.items",
|
||||
"texture_data": {
|
||||
"anthrax_cat": {
|
||||
"textures": "textures/items/anthrax_cat"
|
||||
}
|
||||
}
|
||||
}
|
||||
BIN
addon/anthrax_cat_RP/textures/items/anthrax_cat.png
Normal file
BIN
addon/anthrax_cat_RP/textures/items/anthrax_cat.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 312 B |
Reference in New Issue
Block a user