{ "format_version": "1.26.50", "minecraft:entity": { "description": { "identifier": "minecraft:snow_golem", "is_summonable": true, "is_spawnable": true }, "components": { "minecraft:attack": { "damage": 2 }, "minecraft:balloonable": {}, "minecraft:behavior.look_at_player": { "look_distance": 6, "priority": 3 }, "minecraft:behavior.nearest_attackable_target": { "entity_types": [ { "filters": { "test": "is_family", "subject": "other", "value": "monster" }, "max_dist": 6 } ], "priority": 1 }, "minecraft:behavior.random_look_around": { "priority": 4 }, "minecraft:behavior.random_stroll": { "priority": 2, "speed_multiplier": 1 }, "minecraft:behavior.ranged_attack": { "attack_interval": { "min": 1.0, "max": 1.0 }, "attack_range": { "min": 0, "max": 10 }, "priority": 1, "speed_multiplier": 1.25 }, "minecraft:breathable": { "suffocate_time": 0, "total_supply": 15 }, "minecraft:can_climb": {}, "minecraft:collision_box": { "height": 1.8, "width": 0.4 }, "minecraft:conditional_bandwidth_optimization": {}, "minecraft:damage_sensor": { "triggers": { "cause": "fall", "deals_damage": "no" } }, "minecraft:freezing_immune": {}, "minecraft:health": { "max": 4, "value": 4 }, "minecraft:hurt_on_condition": { "damage_conditions": [ { "cause": "lava", "damage_per_tick": 4, "filters": { "operator": "==", "test": "in_lava", "subject": "self", "value": true } }, { "cause": "temperature", "damage_per_tick": 1, "filters": { "all_of": [ { "operator": ">", "test": "is_temperature_value", "value": 1.0 }, { "operator": "!=", "test": "has_component", "subject": "self", "value": "minecraft:effect.fire_resistance" } ] } }, { "cause": "drowning", "damage_per_tick": 1, "filters": { "operator": "==", "test": "in_contact_with_water", "value": true } } ] }, "minecraft:interact": { "interactions": [ { "play_sounds": [ "shear" ], "cooldown": 2.5, "hurt_item": 1, "spawn_items": { "table": "loot_tables/entities/snow_golem_shear.json" }, "on_interact": { "event": "minecraft:on_sheared", "filters": { "all_of": [ { "domain": "hand", "subject": "other", "test": "has_equipment", "value": "shears" }, { "subject": "other", "test": "is_family", "value": "player" }, { "operator": "!=", "test": "has_component", "value": "minecraft:is_sheared" } ] }, "target": "self" }, "interact_text": "action.interact.shear", "swing": true, "vibration": "shear", "use_item": false } ] }, "minecraft:is_hidden_when_invisible": {}, "minecraft:jump.static": {}, "minecraft:leashable": { "unleash_on_removal": false }, "minecraft:leashable_to": { "unleash_on_removal": false }, "minecraft:loot": { "table": "loot_tables/entities/snowman.json" }, "minecraft:movement": { "value": 0.2 }, "minecraft:movement.basic": {}, "minecraft:nameable": {}, "minecraft:navigation.walk": { "avoid_water": true }, "minecraft:persistent": {}, "minecraft:physics": {}, "minecraft:pushable_by_entity": {}, "minecraft:pushable_by_block": {}, "minecraft:shooter": { "def": "minecraft:snowball" }, "minecraft:trail": { "block_type": "minecraft:snow_layer", "spawn_filter": { "operator": "<", "test": "is_temperature_value", "value": 0.81 } }, "minecraft:type_family": { "family": [ "snowgolem", "mob" ] } }, "component_groups": { "minecraft:snowman_sheared": { "minecraft:is_sheared": {} } }, "events": { "minecraft:on_sheared": { "add": { "component_groups": [ "minecraft:snowman_sheared" ] }, "remove": {} } } } }