Files
minecraft-aiworld/addon/anthrax_cat_BP/entities/anthrax_cat.json
SysAdmin 43248820fa
All checks were successful
Deploy Addons / deploy (push) Successful in 14s
fix(addons): bring silverlabs packs into schema compliance
- recipes: add unlock { context: always_unlocked } to all spark_pet and lobby_transfer recipes (1.20+ requirement) — fixes mc-lobby crash loop
- spark_dragon entity_sensor: wrap in subsensors[] and convert sensor_range → range [a,b] per 1.21 schema
- anthrax_cat interact: wrap event/filters in on_interact to match Bedrock 1.21 interact schema
- block format_version: bump mailbox and smart_crafting_table to 1.21.60
- item icons: replace { texture: X } with shorthand string form
- heyhe_egg description: replace bare category with menu_category block

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-23 23:18:24 +01:00

72 lines
1.7 KiB
JSON

{
"format_version": "1.21.0",
"minecraft:entity": {
"description": {
"identifier": "silverlabs:anthrax_cat",
"is_spawnable": true,
"is_summonable": true,
"is_experimental": false
},
"component_groups": {
"silverlabs:active": {
"minecraft:interact": {
"interactions": [
{
"on_interact": {
"filters": { "test": "is_family", "subject": "other", "value": "player" },
"event": "silverlabs:interacted",
"target": "self"
},
"interact_text": "action.interact.fortune",
"play_sounds": "note.bell"
}
]
}
}
},
"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: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": {}
}
}
}