{ "format_version": "1.19.0", "minecraft:entity": { "description": { "identifier": "jovalan:burgvoir", "is_spawnable": true, "is_summonable": true, "is_experimental": false }, "component_groups": { "minecraft:burgvoir_baby": { "minecraft:is_baby": {}, "minecraft:scale": { "value": 0.4 }, "minecraft:ageable": { "duration": 1200, "feed_items": [ "raw_cod", "cooked_cod", "raw_salmon", "cooked_salmon", "tropical_fish" ], "grow_up": { "event": "minecraft:ageable_grow_up", "target": "self" } } }, "minecraft:burgvoir_adult": { "minecraft:experience_reward": { "on_bred": "Math.Random(1,7)", "on_death": "query.last_hit_by_player ? Math.Random(1,3) : 0" }, "minecraft:loot": { "table": "loot_tables/entities/burgvoir.json" }, "minecraft:breedable": { "require_tame": true, "require_full_health": true, "breeds_with": { "mate_type": "minecraft:burgvoir", "baby_type": "minecraft:burgvoir", "breed_event": { "event": "minecraft:entity_born", "target": "baby" } }, "breed_items": ["tropical_fish"] } }, "burgvoir_swimming_navigation": { "minecraft:behavior.look_at_player": { "priority": 8, "look_distance": 6 }, "minecraft:behavior.swim_wander": { "priority": 4, "interval": 5, "look_ahead": 2.0, "speed_multiplier": 3, "wander_time": 5.0 }, "minecraft:navigation.generic": { "is_amphibious": true, "can_path_over_water": true, "can_swim": true, "can_walk": true, "can_breach": true, "can_sink": false }, "minecraft:environment_sensor": { "triggers": [ { "filters": { "all_of": [ { "test": "on_ground", "operator": "==", "value": true }, { "test": "in_water", "operator": "!=", "value": true } ] }, "event": "navigation_on_land" } ] } }, "burgvoir_on_land": { "minecraft:navigation.generic": { "is_amphibious": true, "can_path_over_water": false, "can_swim": true, "can_walk": true, "can_sink": false, "avoid_damage_blocks": true }, "minecraft:movement.amphibious": { "max_turn": 5.0 } }, "minecraft:burgvoir_wild": { "minecraft:behavior.avoid_mob_type": { "priority": 6, "entity_types": [ { "filters": { "test": "is_family", "subject": "other", "value": "player" }, "max_dist": 6, "walk_speed_multiplier": 0.8, "sprint_speed_multiplier": 1.33 } ] }, "minecraft:behavior.move_towards_dwelling_restriction": { "priority": 7 }, "minecraft:tameable": { "probability": 0.33, "tame_items": "fish", "tame_event": { "event": "minecraft:on_tame", "target": "self" } }, "minecraft:behavior.delayed_attack": { "priority": 0, "attack_once": false, "track_target": true, "require_complete_path": false, "reach_multiplier": 1.5, "speed_multiplier": 1.0, "attack_duration": 0.75, "hit_delay_pct": 0.5 }, "minecraft:behavior.nearest_attackable_target": { "priority": 4, "reselect_targets": true, "must_see": true, "entity_types": [ { "filters": { "any_of": [ {}, { "test": "is_family", "subject": "other", "value": "cod" }, { "test": "is_family", "subject": "other", "value": "salmon" }, { "test": "is_family", "subject": "other", "value": "tropical_fish" } ] }, "max_dist": 16 }, { "filters": { "all_of": [ { "test": "is_family", "subject": "other", "value": "baby_turtle" }, { "test": "in_water", "subject": "other", "operator": "!=", "value": true } ] }, "max_dist": 16 }, { "filters": { "all_of": [ { "test": "is_family", "subject": "other", "value": "skeleton" }, { "test": "is_underwater", "subject": "other", "operator": "!=", "value": true } ] }, "max_dist": 16 } ] } }, "minecraft:burgvoir_tame": { "minecraft:is_tamed": {}, "minecraft:health": { "value": 20, "max": 20 }, "minecraft:color": { "value": 14 }, "minecraft:behavior.follow_owner": { "priority": 6, "speed_multiplier": 1.0, "start_distance": 10, "stop_distance": 2 }, "minecraft:attack": { "damage": 4 }, "minecraft:behavior.breed": { "priority": 2, "speed_multiplier": 1.0 }, "minecraft:behavior.move_to_water": { "priority": 6, "search_range": 15, "search_height": 5, "goal_radius": 0.1 }, "minecraft:behavior.move_to_land": { "priority": 6, "search_range": 16, "search_height": 5, "goal_radius": 0.5 }, "minecraft:behavior.owner_hurt_by_target": { "priority": 1 }, "minecraft:behavior.owner_hurt_target": { "priority": 2 }, "minecraft:sittable": {} } }, "components": { "minecraft:leashable": { "soft_distance": 4.0, "hard_distance": 6.0, "max_distance": 10.0, "on_leash": { "event": "minecraft:on_leash", "target": "self" }, "on_unleash": { "event": "minecraft:on_unleash", "target": "self" } }, "minecraft:balloonable": { "mass": 0.8 }, "minecraft:is_hidden_when_invisible": {}, "minecraft:nameable": {}, "minecraft:type_family": { "family": ["burgvoir", "mob"] }, "minecraft:breathable": { "total_supply": 15, "suffocate_time": 0, "breathes_air": true, "breathes_water": true, "generates_bubbles": true }, "minecraft:underwater_movement": { "value": 0.12 }, "minecraft:behavior.random_swim": { "priority": 7, "interval": 0, "xz_dist": 30, "y_dist": 15 }, "minecraft:collision_box": { "width": 0.6, "height": 0.8 }, "minecraft:health": { "value": 8, "max": 8 }, "minecraft:hurt_on_condition": { "damage_conditions": [ { "filters": { "test": "in_lava", "subject": "self", "operator": "==", "value": true }, "cause": "lava", "damage_per_tick": 4 } ] }, "minecraft:movement": { "value": 0.3 }, "minecraft:movement.glide": { "start_speed": 0.1, "speed_when_turning": 0.2 }, "minecraft:water_movement": { "drag_factor": 0.9 }, "minecraft:navigation.walk": { "can_path_over_water": true, "avoid_damage_blocks": true }, "minecraft:movement.basic": {}, "minecraft:jump.static": {}, "minecraft:can_climb": {}, "minecraft:attack": { "damage": 1 }, "minecraft:healable": { "items": [ { "item": "raw_cod", "heal_amount": 3 }, { "item": "cooked_cod", "heal_amount": 8 }, { "item": "tropical_fish", "heal_amount": 3 }, { "item": "salmon", "heal_amount": 3 }, { "item": "cooked_salmon", "heal_amount": 8 } ] }, "minecraft:despawn": { "despawn_from_distance": {} }, "minecraft:behavior.mount_pathing": { "priority": 1, "speed_multiplier": 1.25, "target_dist": 0, "track_target": true }, "minecraft:behavior.stay_while_sitting": { "priority": 3 }, "minecraft:behavior.delayed_attack": { "priority": 0, "attack_once": false, "track_target": true, "require_complete_path": false, "reach_multiplier": 1.5, "speed_multiplier": 1.0, "attack_duration": 0.75, "hit_delay_pct": 0.5 }, "minecraft:behavior.melee_attack": { "priority": 5 }, "minecraft:behavior.random_breach": { "priority": 6, "interval": 50, "xz_dist": 10, "cooldown_time": 2.0 }, "minecraft:behavior.random_stroll": { "priority": 8, "speed_multiplier": 1.0 }, "minecraft:behavior.look_at_player": { "priority": 6, "target_distance": 6.0, "probability": 0.02 }, "minecraft:behavior.hurt_by_target": { "priority": 3 }, "minecraft:physics": {}, "minecraft:pushable": { "is_pushable": true, "is_pushable_by_piston": true }, "minecraft:conditional_bandwidth_optimization": {} }, "events": { "minecraft:entity_spawned": { "randomize": [ { "weight": 9, "remove": {}, "add": { "component_groups": [ "minecraft:burgvoir_adult", "minecraft:burgvoir_wild" ] } }, { "weight": 1, "remove": {}, "add": { "component_groups": [ "minecraft:burgvoir_baby", "minecraft:burgvoir_wild" ] } } ] }, "minecraft:entity_born": { "remove": {}, "add": { "component_groups": [ "minecraft:burgvoir_baby", "minecraft:burgvoir_tame" ] } }, "minecraft:ageable_grow_up": { "remove": { "component_groups": ["minecraft:burgvoir_baby"] }, "add": { "component_groups": ["minecraft:burgvoir_adult"] } }, "minecraft:ageable_set_baby": { "remove": { "component_groups": ["minecraft:burgvoir_adult"] }, "add": { "component_groups": ["minecraft:burgvoir_baby"] } }, "minecraft:on_tame": { "remove": { "component_groups": ["minecraft:burgvoir_wild"] }, "add": { "component_groups": ["minecraft:burgvoir_tame"] } } } } }