Files
minecraft-aiworld/addon/anthrax_cat_BP/entities/anthrax_cat.json
SysAdmin 23f2e6c3bd
All checks were successful
Deploy Addons / deploy (push) Successful in 14s
feat(anthrax-cat): add craftable item, recipe, and inventory entry
- 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>
2026-04-06 21:05:38 +01:00

80 lines
1.8 KiB
JSON

{
"format_version": "1.21.0",
"minecraft:entity": {
"description": {
"identifier": "silverlabs:anthrax_cat",
"is_spawnable": false,
"is_summonable": true,
"is_experimental": false
},
"component_groups": {
"silverlabs:active": {
"minecraft:interact": {
"interactions": [
{
"interact_text": "action.interact.fortune",
"play_sounds": "note.bell",
"event": "silverlabs:interacted"
}
]
}
}
},
"components": {
"minecraft:type_family": {
"family": ["anthrax_cat", "decoration"]
},
"minecraft:physics": {
"has_gravity": true,
"has_collision": true
},
"minecraft:pushable": {
"is_pushable": false,
"is_pushable_by_piston": false
},
"minecraft:collision_box": {
"width": 0.7,
"height": 0.95
},
"minecraft:knockback_resistance": {
"value": 1.0
},
"minecraft:damage_sensor": {
"triggers": [
{
"cause": "all",
"deals_damage": false
},
{
"cause": "override",
"deals_damage": true
}
]
},
"minecraft:health": {
"value": 20,
"max": 20
},
"minecraft:persistent": {},
"minecraft:nameable": {},
"minecraft:behavior.look_at_player": {
"priority": 1,
"target_distance": 8.0,
"look_time": [2, 6],
"probability_per_distance": 0.02
},
"minecraft:behavior.random_look_around": {
"priority": 2
}
},
"events": {
"minecraft:entity_spawned": {
"add": {
"component_groups": ["silverlabs:active"]
}
},
"silverlabs:interacted": {}
}
}
}