{
  "format_version": "1.13.0",
  "minecraft:entity": {
    "description": {
      "identifier": "add:infernal_creeper2",
      "runtime_identifier": "minecraft:creeper",
      "is_spawnable": true,
      "is_summonable": true,
      "is_experimental": false
    },
    "component_groups": {
        "minecraft:icreeper1": {
          "minecraft:boss": {
            "should_darken_sky": false,
            "name": "§c精英爬行者",
            "hud_range": 5
          },
          "minecraft:spell_effects": {
            "add_effects": [
              {
                "effect": "strength",
                "amplifier": 1,
                "visible": true,
                "ambient": false,
                "duration": 999999
              }
            ]
          },
          "minecraft:movement": {
            "value": 0.22
          }
        },
        "minecraft:power4": {
          "minecraft:damage_sensor": {
            "triggers": [
              {
                "on_damage": {
                  "filters": {
                    "any_of": [
                      {"test": "has_component", "subject": "other", "value": "looting"}
                    ]
                  },
                  "event": "minecraft:robarpoder4",
                  "target": "self"
                }
              }
            ]
          }
        },
        "minecraft:robar4": {
          "minecraft:damage_sensor": {
            "triggers": [
              {
                "on_damage": {
                  "filters": {
                    "any_of": [
                      {"test": "has_component", "subject": "other", "value": "looting"}
                    ]
                  },
                  "event": "minecraft:robarpoder4",
                  "target": "other"
                }
              }
            ]
          }
        },
        "minecraft:sinpoder": {       
          "minecraft:spell_effects": {
            "remove_effects": [
              "resistance",
              "regeneration",
              "invisibility",
              "strength"
            ]
          }
        },
        "minecraft:icreeper6": {
          "minecraft:spell_effects": {
            "add_effects": [
              {
                "effect": "strength",
                "amplifier": 1,
                "visible": true,
                "ambient": false,
                "duration": 999999
              }
            ]
          },
          "minecraft:health": {
            "value": 300,
            "max": 300
          },
          "minecraft:boss": {
            "should_darken_sky": false,
            "name": "§c精英爬行者",
            "hud_range": 6
          },
          "minecraft:movement": {
            "value": 0.28
          }
        },
        "minecraft:icreeper5": {
          "minecraft:spell_effects": {
            "add_effects": [
              {
                "effect": "strength",
                "amplifier": 2,
                "visible": true,
                "ambient": false,
                "duration": 999999
              }
            ]
          },
          "minecraft:health": {
            "value": 250,
            "max": 280
          },
          "minecraft:boss": {
            "should_darken_sky": false,
            "name": "§c精英爬行者",
            "hud_range": 3
          },
          "minecraft:movement": {
            "value": 0.24
          },
          "minecraft:knockback_resistance": {
            "value": 2
          },
          "minecraft:spawn_entity": [
            {
              "min_wait_time": 1,
              "max_wait_time": 13,
              "spawn_entity": "add:fire_soul",
              "num_to_spawn": 1,
              "single_use": false
            }
          ]
        },
        "minecraft:icreeper4": {
          "minecraft:spell_effects": {
            "add_effects": [
              {
                "effect": "strength",
                "amplifier": 2,
                "visible": true,
                "ambient": false,
                "duration": 999999
              }
            ]
          },
          "minecraft:health": {
            "value": 225,
            "max": 230
          },
          "minecraft:boss": {
            "should_darken_sky": false,
            "name": "§c精英爬行者",
            "hud_range": 3
          }
        },
        "minecraft:icreeper3": {
          "minecraft:spell_effects": {
            "add_effects": [
              {
                "effect": "strength",
                "amplifier": 1,
                "visible": true,
                "ambient": false,
                "duration": 999999
              }
            ]
          },
          "minecraft:health": {
            "value": 250,
            "max": 255
          },
          "minecraft:attack": {
            "damage": 1,
            "effect_name": "levitation",
            "effect_duration": 7
          },
          "minecraft:boss": {
            "should_darken_sky": false,
            "name": "§c精英爬行者",
            "hud_range": 3
          }
        },
        "minecraft:icreeper2": {
          "minecraft:spell_effects": {
            "add_effects": [
              {
                "effect": "strength",
                "amplifier": 2,
                "visible": true,
                "ambient": false,
                "duration": 999999
              }
            ]
          },
          "minecraft:health": {
            "value": 180,
            "max": 180
          },
          "minecraft:attack": {
            "damage": 1,
            "effect_name": "weakness",
            "effect_duration": 8
          },
          "minecraft:boss": {
            "should_darken_sky": false,
            "name": "§c精英爬行者",
            "hud_range": 3
          }
        },
        "minecraft:trampa": {
          "minecraft:behavior.ranged_attack": {
            "attack_interval_min": 1,
            "attack_interval_max": 6,
            "attack_radius": 15
          },
          "minecraft:shooter": {
            "type": "Arrow",
            "def": "add:misil2"
          }
        },
        "minecraft:exploding": {
          "minecraft:explode": {
            "fuse_length": 1.5,
            "fuse_lit": true,
            "power": 4,
            "causes_fire": true,
            "destroy_affected_by_griefing": false
          }
        },
        "minecraft:charged_creeper": {
          "minecraft:is_charged": {
          }
        },
        "minecraft:charged_exploding": {
          "minecraft:explode": {
            "fuse_length": 1.5,
            "fuse_lit": true,
            "power": 5,
            "causes_fire": true,
            "destroy_affected_by_griefing": false
          }
        },
        "minecraft:forced_exploding": {
          "minecraft:target_nearby_sensor": {
          },
          "minecraft:explode": {
            "fuse_length": 1.5,
            "fuse_lit": true,
            "power": 4,
            "causes_fire": true,
            "destroy_affected_by_griefing": false
          },
          "minecraft:on_target_escape": {
          }
        },
        "minecraft:forced_charged_exploding": {
          "minecraft:target_nearby_sensor": {
          },
          "minecraft:explode": {
            "fuse_length": 1.5,
            "fuse_lit": true,
            "power": 5,
            "causes_fire": true,
            "destroy_affected_by_griefing": false
          },
          "minecraft:on_target_escape": {
          }
        }
      },

      "components": {
        "minecraft:experience_reward": {
          "on_death": "query.last_hit_by_player ? 90 : 0"
        },
        "minecraft:spell_effects": {
          "add_effects": [
            {
              "effect": "strength",
              "amplifier": 2,
              "visible": true,
              "ambient": false,
              "duration": 999999
            }
          ]
        },
        "minecraft:type_family": {
          "family": [ "creeper", "monster", "mob" ]
        },
        "minecraft:breathable": {
          "total_supply": 15,
          "suffocate_time": 0
        },
        "minecraft:nameable": {
        },
        "minecraft:collision_box": {
          "width": 0.6,
          "height": 1.8
        },
        "minecraft:movement": {
          "value": 0.22
        },
        "minecraft:navigation.walk": {
        "can_path_over_water": true
        },
        "minecraft:movement.basic": {

        },
        "minecraft:jump.static": {
        },
        "minecraft:can_climb": {
        },
        "minecraft:loot": {
          "table": "loot_tables/entities/infernals.json"
        },
        "minecraft:health": {
          "value": 45,
          "max": 50
        },
        "minecraft:hurt_on_condition": {
          "damage_conditions": [
            {
              "filters": { "test": "in_lava", "subject": "self", "operator": "==", "value": true },
              "cause": "lava",
              "damage_per_tick": 4
            }
          ]
        },
        "minecraft:attack": {
          "damage": 1,
          "effect_name": "slowness",
          "effect_duration": 4
        },
        "minecraft:damage_sensor": {
          "triggers": {
            "on_damage": {
              "filters": {
                "test": "is_family",
                "subject": "other",
                "value": "lightning"
              },
              "event": "minecraft:become_charged"
            },
            "deals_damage": false
          }
        },
        "minecraft:target_nearby_sensor": {
          "inside_range": 2.5,
          "outside_range": 6.0,
          "must_see": true,
          "on_inside_range": {
            "event": "minecraft:start_exploding",
            "target": "self"
          },
          "on_outside_range": {
            "event": "minecraft:stop_exploding",
            "target": "self"
          },
          "on_vision_lost_inside_range": {
            "event": "minecraft:stop_exploding",
            "target": "self"
          }
        },
        "minecraft:interact": {
          "interactions": {
            "on_interact": {
              "filters": {
                "all_of": [
                  {
                    "test": "is_family",
                    "subject": "other",
                    "value": "player"
                  },
                  {
                    "test": "has_equipment",
                    "domain": "hand",
                    "subject": "other",
                    "value": "flint_and_steel"
                  },
                  {
                    "test": "has_component",
                    "operator": "!=",
                    "value": "minecraft:explode"
                  }
                ]
              },
              "event": "minecraft:start_exploding_forced",
              "target": "self"
            },
            "hurt_item": 1,
            "swing": true,
            "play_sounds": "random.fuse",
            "interact_text": "action.interact.creeper"
          }
        },
        "minecraft:behavior.float": {
          "priority": 0
        },
        "minecraft:boss": {
          "should_darken_sky": false,
          "name": "§c精英爬行者",
          "hud_range": 3
        },
        "minecraft:behavior.swell": {
          "start_distance": 2.5,
          "stop_distance": 6.0,
          "priority": 2
        },
        "minecraft:behavior.avoid_mob_type": {
          "priority": 3,
          "entity_types": [
            {
              "filters": {
                "any_of": [
                  { "test" :  "is_family", "subject" : "other", "value" :  "ocelot"},
                  { "test" :  "is_family", "subject" : "other", "value" :  "cat"}
                ]
              },
              "max_dist": 6,
              "walk_speed_multiplier": 1,
              "sprint_speed_multiplier": 1.2
            }
          ]
        },
        "minecraft:behavior.random_stroll": {
          "priority": 5,
          "speed_multiplier": 1
        },
        "minecraft:behavior.look_at_player": {
          "priority": 6,
          "look_distance": 8
        },
        "minecraft:behavior.random_look_around": {
          "priority": 6
        },
        "minecraft:behavior.nearest_attackable_target": {
          "priority": 1,
          "entity_types": [
            {
              "filters": {
                "test": "is_family",
                "subject": "other",
                "value": "player"
              },
              "max_dist": 16
            }
          ],
          "must_see": true,
          "must_see_forget_duration": 0.0
        },
        "minecraft:behavior.hurt_by_target": {
          "priority": 2
        },
        "minecraft:physics": {
        },
        "minecraft:pushable": {
          "is_pushable": true,
          "is_pushable_by_piston": true
        },
        "minecraft:on_target_escape": {
          "event": "minecraft:stop_exploding",
          "target": "self"
        }
      },

      "events": {
        "minecraft:entity_spawned": {
          "randomize": [
            {
              "weight": 200,
              "remove": {},
              "add": {
                "component_groups": [
                  "minecraft:icreeper1",
                  "minecraft:power4"
                ]
              }
            },
            {
              "weight": 100,
              "remove": {
              },
              "add": {
                "component_groups": [
                  "minecraft:icreeper2",
                  "minecraft:power4"
                ]

              }
            },
            {
              "weight": 100,
              "remove": {
              },
              "add": {
                "component_groups": [
                  "minecraft:icreeper3",
                  "minecraft:power4"
                ]
              }
            },
            {
              "weight": 80,
              "remove": {
              },
              "add": {
                "component_groups": [
                  "minecraft:icreeper4",
                  "minecraft:power4"
                ]
              }
            },
            {
              "weight": 70,
              "remove": {
              },
              "add": {
                "component_groups": [
                  "minecraft:icreeper5",
                  "minecraft:power4"
                ]
              }
            },
            {
              "weight": 50,
              "remove": {
              },
              "add": {
                "component_groups": [
                  "minecraft:icreeper6",
                  "minecraft:power4"
                ]
              }
            }
          ]
        },
        "minecraft:start_exploding_forced": {
          "sequence": [
            {
              "filters": {
                "test": "has_component",
                "operator": "!=",
                "value": "minecraft:is_charged"
              },
              "add": {
                "component_groups": [
                  "minecraft:forced_exploding"
                ]
              }
            },
            {
              "filters": {
                "test": "has_component",
                "value": "minecraft:is_charged"
              },
              "add": {
                "component_groups": [
                  "minecraft:forced_charged_exploding"
                ]
              }
            }
          ]
        },
        "minecraft:start_exploding": {
          "sequence": [
            {
              "filters": {
                "test": "has_component",
                "operator": "!=",
                "value": "minecraft:is_charged"
              },
              "add": {
                "component_groups": [
                  "minecraft:exploding"
                ]
              },
              "remove": {
                "component_groups": [
                  "minecraft:trampa"
                ]
              }
            },
            {
              "filters": {
                "test": "has_component",
                "value": "minecraft:is_charged"
              },
              "add": {
                "component_groups": [
                  "minecraft:charged_exploding"
                ]
              },
              "remove": {
                "component_groups": [
                  "minecraft:trampa"
                ]
              }
            }
          ]
        },
        "minecraft:stop_exploding": {
          "remove": {
            "component_groups": [
              "minecraft:exploding"
            ]
          },
          "add": {
            "component_groups": [
              "minecraft:trampa"
            ]
          }
        },
        "minecraft:robarpoder4": {
          "add": {
            "component_groups": [
              "minecraft:robar4",
              "minecraft:sinpoder"
            ]
          },
          "remove": {
            "component_groups": [
              "minecraft:power4"
            ]
          }
        },
        "minecraft:become_charged": {
          "remove": {
            "component_groups": [
              "minecraft:exploding"
            ]
          },
          "add": {
            "component_groups": [
              "minecraft:charged_creeper"
            ]
          }
        }
      }
    }
  }
