{ "minecraft:entity": { "format_version": "1.2.0", "component_groups" : { "minecraft:horny_for_spiders": { "minecraft:behavior.combine_with_target": { "priority": 5, "structure_types": [{ "filters": { "test": "is_structure_name", "value": "placeable_mob_combiner" } }], "entity_types": [{ "filters": { "all_of": [ {"any_of":[ {"all_of":[ {"test": "is_family", "subject": "other", "value": "wolf"}, {"test": "is_on_team", "subject": "self", "value": "blue"}, {"test": "is_on_team", "subject": "other", "value": "blue"} ]}, {"all_of":[ {"test": "is_family", "subject": "other", "value": "wolf"}, {"test": "is_on_team", "subject": "self", "value": "wild"}, {"test": "is_on_team", "subject": "other", "value": "wild"} ]}, {"all_of":[ {"test": "is_family", "subject": "other", "value": "wolf"}, {"test": "is_on_team", "subject": "self", "value": "red"}, {"test": "is_on_team", "subject": "other", "value": "red"} ]}, {"all_of":[ {"test": "is_family", "subject": "other", "value": "slime"}, {"test": "is_on_team", "subject": "self", "value": "blue"}, {"test": "is_on_team", "subject": "other", "value": "blue"} ]}, {"all_of":[ {"test": "is_family", "subject": "other", "value": "slime"}, {"test": "is_on_team", "subject": "self", "value": "wild"}, {"test": "is_on_team", "subject": "other", "value": "wild"} ]}, {"all_of":[ {"test": "is_family", "subject": "other", "value": "slime"}, {"test": "is_on_team", "subject": "self", "value": "red"}, {"test": "is_on_team", "subject": "other", "value": "red"} ]}, {"all_of":[ {"test": "is_family", "subject": "other", "value": "spider"}, {"test": "is_on_team", "subject": "self", "value": "blue"}, {"test": "is_on_team", "subject": "other", "value": "blue"} ]}, {"all_of":[ {"test": "is_family", "subject": "other", "value": "spider"}, {"test": "is_on_team", "subject": "self", "value": "wild"}, {"test": "is_on_team", "subject": "other", "value": "wild"} ]}, {"all_of":[ {"test": "is_family", "subject": "other", "value": "spider"}, {"test": "is_on_team", "subject": "self", "value": "red"}, {"test": "is_on_team", "subject": "other", "value": "red"} ]} ]} ]} }] } }, "check_for_buffs": { "minecraft:structure_prox_trigger": { "structure_filters": { "all_of": [{ "test": "is_structure_same_team", "subject": "other" },{ "test": "is_structure_name", "subject": "other", "value": "placeable_magmablood" }] }, "opeartor": "and", "filters": { "all_of": [{ "test": "has_component", "operator": "not", "subject": "self", "value": "magmablood" }] }, "event": "apply_magmablood" } }, "magmablood": { "minecraft:behavior.spawn_block_on_death": { "block_name": "flowing_lava", "offset": [0.0, 0.0, 0.0], "duration": 5.0 } }, "minecraft:stats_normal": { "minecraft:scale": { "value": 1.0 }, "minecraft:health": { "value": 40, "max": 40 }, "minecraft:attack": { "damage": 2 } }, "minecraft:stats_giant": { "minecraft:scale": { "value": 4.0 }, "minecraft:health": { "value": 60, "max": 60 }, "minecraft:attack": { "damage": 6 } } }, "events": { "apply_buffs": { "add":{ "component_groups": [ "check_for_buffs", "minecraft:horny_for_spiders" ]} }, "ignore_buffs": { "remove":{ "component_groups": [ "check_for_buffs" ]} }, "apply_magmablood": { "add": { "component_groups": [ "magmablood" ]} }, "minecraft:get_horny": { "add": { "component_groups": [ "minecraft:horny_for_spiders" ]} }, "minecraft:turn_off": { "remove": { "component_groups": [ "minecraft:horny_for_spiders" ]} }, "minecraft:entity_spawned": { "add": { "component_groups": [ "minecraft:stats_normal" ] } }, "minecraft:enlargeable_grow": { "remove": { "component_groups": [ "minecraft:stats_normal" ] }, "add": { "component_groups": [ "minecraft:stats_giant" ] } }, "minecraft:enlargeable_shrink": { "remove": { "component_groups": [ "minecraft:stats_giant" ] }, "add": { "component_groups": [ "minecraft:stats_normal" ] } } }, "components": { "minecraft:identifier": { "id": "minecraft:zombie" }, "minecraft:structure_sensor": { "on_proximity": { "event": "apply_buffs" }, "on_leave": { "event": "ignore_buffs" } }, "minecraft:nameable": { }, "minecraft:type_family": { "family": ["zombie", "undead", "monster"] }, "minecraft:collision_box": { "width": 0.6, "height": 1.8 }, "minecraft:burns_in_daylight": { }, "minecraft:navigation.walk": { "avoid_water": false }, "minecraft:movement.basic": { }, "minecraft:movement": { "value": 0.18 }, "minecraft:jump.static": { }, "minecraft:can_climb": { }, "minecraft:breathable": { "totalSupply": 10, "suffocateTime": 3 }, "minecraft:enlargeable": { "grow": { "event": "minecraft:enlargeable_grow", "target": "self" }, "shrink": { "event": "minecraft:enlargeable_shrink", "target": "self" } }, "minecraft:loot": { "table": "loot_tables/entities/zombie.json" }, "minecraft:behavior.desire_position": { "priority": 6 }, "minecraft:behavior.hurt_by_target": { "priority": 1, "entity_types": [{ "filters": { "any_of": [{ "test": "is_family", "subject": "other", "value": "player" }, { "test": "is_family", "subject": "other", "value": "villager" }, { "test": "is_family", "subject": "other", "value": "spider" }, { "test": "is_family", "subject": "other", "value": "wolf" }, { "test": "is_family", "subject": "other", "value": "skeleton" }] } }] }, "minecraft:behavior.nearest_attackable_target": { "priority": 3, "within_radius": 20, "entity_types": [ { "filters": { "any_of": [ { "all_of": [ { "test": "is_on_team", "subject": "self", "value": "wild" }, { "test": "is_on_team", "subject": "other", "operator": "not", "value": "wild" } ] }, { "all_of": [ { "test": "is_on_team", "subject": "self", "value": "red" }, { "test": "is_on_team", "subject": "other", "operator": "not", "value": "red" } ] }, { "all_of": [ { "test": "is_on_team", "subject": "self", "value": "blue" }, { "test": "is_on_team", "subject": "other", "operator": "not", "value": "blue" } ] } ] }, "max_dist": 20 } ], "must_see": false, "must_see_forget_duration": 1.0 }, "minecraft:behavior.melee_attack": { "priority": 4, "speed_multiplier": 1, "track_target": false }, "minecraft:behavior.desire_direction": { "priority": 7 }, "minecraft:behavior.target_structures": { "priority": 5, "within_radius": 10, "structure_types": [{ "filters": [{ "any_of": [ { "all_of": [ { "test": "is_on_team", "subject": "self", "value": "blue" }, { "any_of": [ { "test": "is_structure_on_team", "subject": "other", "value": "red" }, { "test": "is_structure_on_team", "subject": "other", "value": "wild" }] }, { "test": "has_structure_tag", "operator": "not", "value": "do_not_target", "subject": "other" } ] }, { "all_of": [ { "test": "is_on_team", "subject": "self", "value": "red" }, { "any_of": [ { "test": "is_structure_on_team", "subject": "other", "value": "blue" }, { "test": "is_structure_on_team", "subject": "other", "value": "wild" }] }, { "test": "has_structure_tag", "operator": "not", "value": "do_not_target", "subject": "other" } ] }, { "all_of": [ { "test": "is_on_team", "subject": "self", "value": "wild" }, { "any_of": [ { "test": "is_structure_on_team", "subject": "other", "value": "red" }, { "test": "is_structure_on_team", "subject": "other", "value": "blue" }] }, { "test": "has_structure_tag", "operator": "not", "value": "do_not_target", "subject": "other" } ] } ] }] }] }, "badger:behavior.idle": { "priority": 1000, "probability": 0.99, "max_dist": 10, "speed_multiplier": 0.8 }, "minecraft:physics": { } } } }