{
  "format_version": "1.16.0",
  "minecraft:entity": {
    "description": {
      "identifier": "wesl3y:gojo_damage",
      "is_spawnable": false,
      "is_summonable": true,
      "is_experimental": false
    },
    "component_groups": {
      "wesl3y:despawn": {
        "minecraft:transformation": {
          "into": "wesl3y:despawn",
          "delay": 0.0
        }
      },
      "wesl3y:blue1": {
        "minecraft:type_family": {
          "family": [ "blue1", "attack", "damage" ]
        },
        "minecraft:transformation": {
          "into": "wesl3y:despawn",
          "delay": 1.5
        },
        "minecraft:behavior.knockback_roar": {
          "duration": 0.8,
          "attack_time": 0.1,
          "knockback_range": 0.1,
          "cooldown_time": 9999,
          "knockback_filters": {
            "test": "has_tag","subject": "other","operator": "==","value": "sla"
          },
          "damage_filters": {
            "test": "has_tag","subject": "other","operator": "==","value": "sla"
          },
          "on_roar_end": {
            "event": "wesl3y:blue2"
          }
        }
      },
      "wesl3y:blue2": {
        "minecraft:variant": {
          "value": 6
        },
        "minecraft:type_family": {
          "family": [ "blue2", "attack", "damage" ]
        },
        "minecraft:transformation": {
          "into": "wesl3y:despawn",
          "delay": 1.5
        },
        "minecraft:behavior.knockback_roar": {
          "duration": 0.2,
          "attack_time": 0.1,
          "knockback_range": 0.1,
          "cooldown_time": 9999,
          "knockback_filters": {
            "test": "has_tag","subject": "other","operator": "==","value": "sla"
          },
          "damage_filters": {
            "test": "has_tag","subject": "other","operator": "==","value": "sla"
          },
          "on_roar_end": {
            "event": "wesl3y:blue3"
          }
        }
      },
      "wesl3y:blue3": {
        "minecraft:variant": {
          "value": 62
        },
        "minecraft:type_family": {
          "family": [ "blue3", "attack", "damage" ]
        },
        "minecraft:transformation": {
          "into": "wesl3y:despawn",
          "delay": 1.5
        },
        "minecraft:behavior.knockback_roar": {
          "duration": 0.2,
          "attack_time": 0.1,
          "knockback_range": 0.1,
          "cooldown_time": 9999,
          "knockback_filters": {
            "test": "has_tag","subject": "other","operator": "==","value": "sla"
          },
          "damage_filters": {
            "test": "has_tag","subject": "other","operator": "==","value": "sla"
          },
          "on_roar_end": {
            "event": "wesl3y:blue4"
          }
        }
      },
      "wesl3y:blue4": {
        "minecraft:variant": {
          "value": 62
        },
        "minecraft:type_family": {
          "family": [ "blue4", "attack", "damage" ]
        },
        "minecraft:transformation": {
          "into": "wesl3y:despawn",
          "delay": 4.0
        },
        "minecraft:behavior.knockback_roar": {
          "duration": 3.0,
          "attack_time": 0.1,
          "knockback_range": 0.1,
          "cooldown_time": 9999,
          "knockback_filters": {
            "test": "has_tag","subject": "other","operator": "==","value": "sla"
          },
          "damage_filters": {
            "test": "has_tag","subject": "other","operator": "==","value": "sla"
          },
          "on_roar_end": {
            "event": "wesl3y:despawn"
          }
        }
      },
      "wesl3y:blue5": {
        "minecraft:type_family": {
          "family": [ "blue5", "attack", "damage" ]
        },
        "minecraft:explode": {
          "fuseLength": 0.4,
          "fuseLit": true,
          "power": 1.75,
          "breaks_blocks": true,
          "causesFire": false,
          "fireAffectedByGriefing": false
        }
      },
      "wesl3y:red": {
        "minecraft:variant": {
          "value": 7
        },
        "minecraft:type_family": {
          "family": [ "red", "attack", "damage" ]
        },
        "minecraft:transformation": {
          "into": "wesl3y:despawn",
          "delay": 3.0
        },
        "minecraft:behavior.knockback_roar": {
          "duration": 2.0,
          "attack_time": 0.1,
          "knockback_range": 0.1,
          "cooldown_time": 9999,
          "knockback_filters": {
            "test": "has_tag","subject": "other","operator": "==","value": "sla"
          },
          "damage_filters": {
            "test": "has_tag","subject": "other","operator": "==","value": "sla"
          },
          "on_roar_end": {
            "event": "wesl3y:despawn"
          }
        }
      },
      "wesl3y:red2": {
        "minecraft:type_family": {
          "family": [ "red2", "attack", "damage" ]
        },
        "minecraft:explode": {
          "fuseLength": 0.4,
          "fuseLit": true,
          "power": 3,
          "breaks_blocks": true,
          "causesFire": false,
          "fireAffectedByGriefing": false
        }
      },
      "wesl3y:impulse_hit": {
        "minecraft:type_family": {
          "family": [ "impulse_hit", "attack", "damage" ]
        },
        "minecraft:behavior.knockback_roar": {
          "duration": 0.2,
          "attack_time": 0.1,
          "knockback_horizontal_strength": 1,
          "knockback_vertical_strength": 0,
          "knockback_range": 2.5,
          "cooldown_time": 0.2,
          "knockback_filters": {
            "test": "has_tag","subject": "other","operator": "==","value": "gojo"
          },
          "damage_filters": {
            "test": "has_tag","subject": "other","operator": "==","value": "sla"
          },
          "on_roar_end": {
            "event": "wesl3y:despawn"
          }
        }
      },
      "wesl3y:super_kick": {
        "minecraft:type_family": {
          "family": [ "super_kick", "attack", "damage" ]
        },
        "minecraft:behavior.knockback_roar": {
          "duration": 0.3,
          "attack_time": 0.1,
          "knockback_horizontal_strength": 1.5,
          "knockback_vertical_strength": 1,
          "knockback_range": 2.5,
          "cooldown_time": 0.2,
          "knockback_filters": {
            "test": "has_tag","subject": "other","operator": "!=","value": "gojo"
          },
          "damage_filters": {
            "test": "has_tag","subject": "other","operator": "==","value": "sla"
          },
          "on_roar_end": {
            "event": "wesl3y:despawn"
          }
        }
      },
      "wesl3y:mugen": {
        "minecraft:type_family": {
          "family": [ "mugen", "attack", "damage" ]
        },
        "minecraft:behavior.knockback_roar": {
          "duration": 0.2,
          "attack_time": 0.1,
          "knockback_horizontal_strength": 1,
          "knockback_vertical_strength": 0.5,
          "knockback_range": 1.5,
          "cooldown_time": 0.2,
          "knockback_filters": {
            "test": "has_tag","subject": "other","operator": "!=","value": "gojo"
          },
          "damage_filters": {
            "test": "has_tag","subject": "other","operator": "==","value": "sla"
          },
          "on_roar_end": {
            "event": "wesl3y:despawn"
          }
        }
      },
      "wesl3y:mob.kienzan": {
        "minecraft:type_family": {
          "family": [ "mob.kienzan", "attack", "damage" ]
        },
        "minecraft:behavior.knockback_roar": {
          "duration": 1.0,
          "attack_time": 0.1,
          "knockback_filters": {
            "test": "has_tag","subject": "other","operator": "==","value": "sla"
          },
          "damage_filters": {
            "test": "has_tag","subject": "other","operator": "==","value": "sla"
          },
          "on_roar_end": {
            "event": "wesl3y:despawn"
          }
        }
      },
      "wesl3y:mob.kamehameha": {
        "minecraft:type_family": {
          "family": [ "mob.kamehameha", "attack", "damage" ]
        },
        "minecraft:behavior.knockback_roar": {
          "duration": 1.0,
          "attack_time": 0.1,
          "knockback_filters": {
            "test": "has_tag","subject": "other","operator": "==","value": "sla"
          },
          "damage_filters": {
            "test": "has_tag","subject": "other","operator": "==","value": "sla"
          },
          "on_roar_end": {
            "event": "wesl3y:despawn"
          }
        }
      }
    },
    "components": {
      "minecraft:collision_box": {
        "width": 0.0,
        "height": 0.0
      },
      "minecraft:transformation": {
        "into": "wesl3y:despawn",
        "delay": 1.5
      },
      "minecraft:timer": {
        "time": 0.2,
        "looping": true,
        "time_down_event": {
          "event": "minecraft:command",
          "target": "self"
        }
      },
      "minecraft:environment_sensor": {
        "triggers": [
          {
            "event": "minecraft:command2"
          }
        ]
      },
      "minecraft:damage_sensor": {
        "triggers": {
          "on_damage": {},
          "deals_damage": false
        }
      },
      "minecraft:despawn": {
        "filters": {
          "all_of":[{ "test": "distance_to_nearest_player", "operator": ">", "value": 48 }]
        }
      },
      "minecraft:knockback_resistance": {"value": 1.0},
      "minecraft:physics": {
        "has_gravity": false
      },
      "minecraft:pushable": {
        "is_pushable": false,
        "is_pushable_by_piston": true
      },
      "minecraft:conditional_bandwidth_optimization": {
        "default_values": {
          "max_optimized_distance": 80,
          "max_dropped_ticks": 10,
          "use_motion_prediction_hints": true
        }
      }
    },
    "events": {
      "minecraft:command": {
        "sequence": [
          {
            "filters": {
              "test": "is_family",
              "value": "blue4"
            },
            "queue_command": {
              "command": ["summon wesl3y:gojo_damage ~~~ ~~ wesl3y:blue5"]
            }
          },
          {
            "filters": {
              "test": "is_family",
              "value": "red"
            },
            "queue_command": {
              "command": ["summon wesl3y:gojo_damage ~~~ ~~ wesl3y:red2"]
            }
          }
        ]
      },
      "minecraft:command2": {
        "sequence": [
          {
            "filters": {
              "test": "is_family",
              "value": "red"
            },
            "queue_command": {
              "command": ["tp @s ^^^1.2"]
            }
          }
        ]
      },
      "wesl3y:despawn": {
        "add": {
          "component_groups": [
            "wesl3y:despawn"
          ]
        }
      },
	  "wesl3y:impulse_hit": {
	    "add": {
	      "component_groups": [
	        "wesl3y:impulse_hit"
	      ]
        }
      },
      "wesl3y:super_kick": {
        "add": {
          "component_groups": [
            "wesl3y:super_kick"
          ]
        },
        "queue_command": {
          "command": [
            "particle wesl3y:gojo_kick ^^^1",
            "tp @s ^^^1"
          ]
        }
      },
	  "wesl3y:mugen": {
	    "add": {
	      "component_groups": [
	        "wesl3y:mugen"
	      ]
        }
      },
	  "wesl3y:blue1": {
	    "add": {
	      "component_groups": [
	        "wesl3y:blue1"
	      ]
        }
      },
	  "wesl3y:blue2": {
	    "add": {
	      "component_groups": [
	        "wesl3y:blue2"
	      ]
        },
	    "remove": {
	      "component_groups": [
	        "wesl3y:blue1"
	      ]
        }
      },
	  "wesl3y:blue3": {
	    "add": {
	      "component_groups": [
	        "wesl3y:blue3"
	      ]
        },
	    "remove": {
	      "component_groups": [
	        "wesl3y:blue2"
	      ]
        }
      },
	  "wesl3y:blue4": {
	    "add": {
	      "component_groups": [
	        "wesl3y:blue4"
	      ]
        },
	    "remove": {
	      "component_groups": [
	        "wesl3y:blue3"
	      ]
        }
      },
	  "wesl3y:blue5": {
	    "add": {
	      "component_groups": [
	        "wesl3y:blue5"
	      ]
        }
	  },
	  "wesl3y:red": {
	    "add": {
	      "component_groups": [
	        "wesl3y:red"
	      ]
        }
	  },
	  "wesl3y:red2": {
	    "add": {
	      "component_groups": [
	        "wesl3y:red2"
	      ]
        }
	  }
    }
  }
}