{
  "format_version": "beta",
  "minecraft:entity": {
    "description": {
      "identifier": "minecraft:sulfur_cube",
      "spawn_category": "monster",
      "is_spawnable": true,
      "is_summonable": true,
      "properties": {
        "minecraft:with_block": {
          "default": false,
          "type": "bool",
          "client_sync": true
        }
      }
    },

    "component_groups": {
      "minecraft:sulfur_cube_ai": {
        "minecraft:navigation.walk": {
          "can_path_over_water": true,
          "avoid_water": true
        },
        "minecraft:jump.static": {
        },
        "minecraft:can_climb": {
        },
        "minecraft:variable_max_auto_step": {
          "base_value": 0.5625,
          "controlled_value": 0.5625,
          "jump_prevented_value": 0.5625
        },
        "minecraft:breathable": {
          "breathes_lava": false,
          "suffocate_time": 0,
          "total_supply": 15
        },
        "minecraft:behavior.slime_float": {
          "priority": 1,
          "jump_chance_percentage": 0.8,
          "speed_multiplier": 1.2
        },
        "minecraft:behavior.slime_random_direction": {
          "priority": 4,
          "add_random_time_range": 3,
          "turn_range": 360,
          "min_change_direction_time": 2.0
        },
        "minecraft:behavior.slime_keep_on_jumping": {
          "priority": 5,
          "speed_multiplier": 1.0
        }
      },
      "minecraft:sulfur_cube_small": {
        "minecraft:variant": {
          "value": 1
        },
        "minecraft:collision_box": {
          "width": 0.49,
          "height": 0.49
        },
        "minecraft:health": {
          "value": 4,
          "max": 4
        },
        "minecraft:movement": {
          "value": 0.3
        },
        "minecraft:ageable": {
          "duration": 1200,
          "feed_items": [
            "slime_ball"
          ],
          "pause_growth_items": [ "golden_dandelion" ],
          "reset_growth_items": [ "golden_dandelion" ],
          "grow_up": {
            "event": "minecraft:ageable_grow_up",
            "target": "self"
          }
        },
        "minecraft:behavior.tempt": {
          "priority": 2,
          "items": [ "slime_ball" ],
          "within_radius": 16,
          "on_tempt_start": { "event": "minecraft:on_gain_target" },
          "on_tempt_end": { "event": "minecraft:on_lose_target" }
        }
      },
      "minecraft:sulfur_cube_medium": {
        "minecraft:variant": {
          "value": 2
        },
        "minecraft:collision_box": {
          "width": 0.98,
          "height": 0.98
        },
        "minecraft:health": {
          "value": 9,
          "max": 9
        },
        "minecraft:movement": {
          "value": 0.4
        },
        "minecraft:experience_reward": {
          "on_death": "query.last_hit_by_player ? Math.Random(1,2) : 0"
        },
        "minecraft:equip_item": {
          "can_wear_armor": false
        }
      },
      "minecraft:sulfur_cube_medium_without_block": {
        "minecraft:knockback_resistance": {
          "value": 0.0
        },
        "minecraft:bounciness": {
          "value": 0.0
        },
        "minecraft:friction_modifier": {
          "value": 1.0
        },
        "minecraft:air_drag_modifier": {
          "value": 1.0
        },
        "minecraft:behavior.tempt": {
          "priority": 2,
          "items": [
            { "tags": "q.all_tags('minecraft:sulfur_cube_archetype_bouncy')" },
            { "tags": "q.all_tags('minecraft:sulfur_cube_archetype_regular')" },
            { "tags": "q.all_tags('minecraft:sulfur_cube_archetype_slow_flat')" },
            { "tags": "q.all_tags('minecraft:sulfur_cube_archetype_fast_flat')" },
            { "tags": "q.all_tags('minecraft:sulfur_cube_archetype_light')" },
            { "tags": "q.all_tags('minecraft:sulfur_cube_archetype_fast_sliding')" },
            { "tags": "q.all_tags('minecraft:sulfur_cube_archetype_slow_sliding')" },
            { "tags": "q.all_tags('minecraft:sulfur_cube_archetype_sticky')" },
            { "tags": "q.all_tags('minecraft:sulfur_cube_archetype_high_resistance')" }
          ],
          "within_radius": 16,
          "on_tempt_start": { "event": "minecraft:on_gain_target" },
          "on_tempt_end": { "event": "minecraft:on_lose_target" }
        },
        "minecraft:behavior.equip_item": {
          "priority": 2
        },
        "minecraft:interact": {
          "interactions": [
            {
              "equip_item_slot": "slot.weapon.mainhand",
              "interact_text": "action.interact.give_sulfur_cube",
              "play_sounds": "saddle",
              "on_interact": {
                "filters": {
                  "any_of": [
                    {
                      "test": "has_equipment_tag",
                      "subject": "other",
                      "domain": "main_hand",
                      "value": "minecraft:sulfur_cube_archetype_bouncy"
                    },
                    {
                      "test": "has_equipment_tag",
                      "subject": "other",
                      "domain": "main_hand",
                      "value": "minecraft:sulfur_cube_archetype_regular"
                    },
                    {
                      "test": "has_equipment_tag",
                      "subject": "other",
                      "domain": "main_hand",
                      "value": "minecraft:sulfur_cube_archetype_slow_flat"
                    },
                    {
                      "test": "has_equipment_tag",
                      "subject": "other",
                      "domain": "main_hand",
                      "value": "minecraft:sulfur_cube_archetype_fast_flat"
                    },
                    {
                      "test": "has_equipment_tag",
                      "subject": "other",
                      "domain": "main_hand",
                      "value": "minecraft:sulfur_cube_archetype_light"
                    },
                    {
                      "test": "has_equipment_tag",
                      "subject": "other",
                      "domain": "main_hand",
                      "value": "minecraft:sulfur_cube_archetype_fast_sliding"
                    },
                    {
                      "test": "has_equipment_tag",
                      "subject": "other",
                      "domain": "main_hand",
                      "value": "minecraft:sulfur_cube_archetype_slow_sliding"
                    },
                    {
                      "test": "has_equipment_tag",
                      "subject": "other",
                      "domain": "main_hand",
                      "value": "minecraft:sulfur_cube_archetype_sticky"
                    },
                    {
                      "test": "has_equipment_tag",
                      "subject": "other",
                      "domain": "main_hand",
                      "value": "minecraft:sulfur_cube_archetype_high_resistance"
                    }
                  ]
                },
                "target": "self"
              }
            }
          ]
        },
        "minecraft:shareables": {
          "singular_pickup": true,
          "items": [
            {
              "item": "minecraft:sulfur_cube_archetype_bouncy",
              "max_amount": 1
            },
            {
              "item": "minecraft:sulfur_cube_archetype_regular",
              "max_amount": 1
            },
            {
              "item": "minecraft:sulfur_cube_archetype_slow_flat",
              "max_amount": 1
            },
            {
              "item": "minecraft:sulfur_cube_archetype_fast_flat",
              "max_amount": 1
            },
            {
              "item": "minecraft:sulfur_cube_archetype_light",
              "max_amount": 1
            },
            {
              "item": "minecraft:sulfur_cube_archetype_fast_sliding",
              "max_amount": 1
            },
            {
              "item": "minecraft:sulfur_cube_archetype_slow_sliding",
              "max_amount": 1
            },
            {
              "item": "minecraft:sulfur_cube_archetype_sticky",
              "max_amount": 1
            },
            {
              "item": "minecraft:sulfur_cube_archetype_high_resistance",
              "max_amount": 1
            }
          ]
        }
      },
      "minecraft:sulfur_cube_medium_with_block": {
        "minecraft:uses_uniform_air_drag": {
        },
        "minecraft:leashable": {
        },
        "minecraft:leashable_to": {
        },
        "minecraft:rotation_axis_aligned": {
        },
        "minecraft:variable_max_auto_step": {
          "base_value": 0.0,
          "controlled_value": 0.0,
          "jump_prevented_value": 0.0
        },
        "minecraft:breathable": {
          "breathes_lava": true,
          "breathes_water": true,
          "suffocate_time": 0,
          "total_supply": 15
        },
        "minecraft:damage_sensor": {
          "triggers": [
            {
              "cause": "anvil",
              "deals_damage": "no_but_entity_effects_apply"
            },
            {
              "cause": "block_explosion",
              "deals_damage": "no_but_entity_effects_apply"
            },
            {
              "cause": "charging",
              "deals_damage": "no_but_entity_effects_apply"
            },
            {
              "cause": "contact",
              "deals_damage": "no_but_entity_effects_apply"
            },
            {
              "cause": "entity_attack",
              "deals_damage": "no_but_entity_effects_apply"
            },
            {
              "cause": "entity_explosion",
              "deals_damage": "no_but_entity_effects_apply"
            },
            {
              "cause": "fall",
              "deals_damage": "no_but_entity_effects_apply"
            },
            {
              "cause": "falling_block",
              "deals_damage": "no_but_entity_effects_apply"
            },
            {
              "cause": "freezing",
              "deals_damage": "no_but_entity_effects_apply"
            },
            {
              "cause": "piston",
              "deals_damage": "no_but_entity_effects_apply"
            },
            {
              "cause": "projectile",
              "deals_damage": "no_but_entity_effects_apply"
            },
            {
              "cause": "ram_attack",
              "deals_damage": "no_but_entity_effects_apply"
            },
            {
              "cause": "stalactite",
              "deals_damage": "no_but_entity_effects_apply"
            },
            {
              "cause": "stalagmite",
              "deals_damage": "no_but_entity_effects_apply"
            },
            {
              "cause": "temperature",
              "deals_damage": "no_but_entity_effects_apply"
            },
            {
              "cause": "mace_smash",
              "deals_damage": "no_but_entity_effects_apply"
            },
            {
              "cause": "all",
              "deals_damage": "yes"
            }
          ]
        },
        "minecraft:interact": {
          "interactions": [
            {
              "on_interact": {
                "filters": {
                  "all_of": [
                    {
                      "test": "has_equipment",
                      "subject": "other",
                      "domain": "hand",
                      "value": "shears"
                    },
                    {
                      "test": "is_sneak_held",
                      "subject": "other",
                      "value": false
                    }
                  ]
                },
                "target": "self"
              },
              "hurt_item": 1,
              "drop_item_slot": "slot.weapon.mainhand",
              "interact_text": "action.interact.take_sulfur_cube",
              "vibration": "shear"
            },
            {
              "equip_item_slot": "slot.weapon.mainhand",
              "interact_text": "action.interact.give_sulfur_cube",
              "play_sounds": "saddle",
              "drop_item_slot": "slot.weapon.mainhand",
              "on_interact": {
                "target": "self",
                "filters": {
                  "all_of": [
                    {
                      "any_of": [
                        {
                          "test": "has_equipment_tag",
                          "subject": "other",
                          "domain": "main_hand",
                          "value": "minecraft:sulfur_cube_archetype_bouncy"
                        },
                        {
                          "test": "has_equipment_tag",
                          "subject": "other",
                          "domain": "main_hand",
                          "value": "minecraft:sulfur_cube_archetype_regular"
                        },
                        {
                          "test": "has_equipment_tag",
                          "subject": "other",
                          "domain": "main_hand",
                          "value": "minecraft:sulfur_cube_archetype_slow_flat"
                        },
                        {
                          "test": "has_equipment_tag",
                          "subject": "other",
                          "domain": "main_hand",
                          "value": "minecraft:sulfur_cube_archetype_fast_flat"
                        },
                        {
                          "test": "has_equipment_tag",
                          "subject": "other",
                          "domain": "main_hand",
                          "value": "minecraft:sulfur_cube_archetype_light"
                        },
                        {
                          "test": "has_equipment_tag",
                          "subject": "other",
                          "domain": "main_hand",
                          "value": "minecraft:sulfur_cube_archetype_fast_sliding"
                        },
                        {
                          "test": "has_equipment_tag",
                          "subject": "other",
                          "domain": "main_hand",
                          "value": "minecraft:sulfur_cube_archetype_slow_sliding"
                        },
                        {
                          "test": "has_equipment_tag",
                          "subject": "other",
                          "domain": "main_hand",
                          "value": "minecraft:sulfur_cube_archetype_sticky"
                        },
                        {
                          "test": "has_equipment_tag",
                          "subject": "other",
                          "domain": "main_hand",
                          "value": "minecraft:sulfur_cube_archetype_high_resistance"
                        }
                      ]
                    },
                    {
                      "test": "has_same_equipment_in_slot_as",
                      "subject": "other",
                      "domain": "main_hand",
                      "value": false
                    }
                  ]
                }
              }
            }
          ]
        }
      },
      "minecraft:sulfur_cube_medium_without_block_can_pickup": {
        "minecraft:behavior.pickup_items": {
          "priority": 3,
          "max_dist": 16,
          "goal_radius": 2,
          "on_pickup_item_start": { "event": "minecraft:on_gain_target" },
          "on_pickup_item_end": { "event": "minecraft:on_lose_target" }
        }
      },
      "minecraft:sulfur_cube_medium_without_block_pickup_timeout": {
        "minecraft:timer": {
          "looping": false,
          "time": 5,
          "time_down_event": {
            "event": "minecraft:on_pickup_timeout",
            "target": "self"
          }
        }
      },
      "minecraft:sulfur_cube_without_target": {
        "minecraft:movement.jump": {
          "jump_delay": [ 0.5, 1.5 ]
        }
      },
      "minecraft:sulfur_cube_with_target": {
        "minecraft:movement.jump": {
          "jump_delay": [ 0.16, 0.5 ]
        }
      },
      "minecraft:sulfur_cube_rubber_ball": {
        "minecraft:pushable_by_entity": {
          "presets": [
            {
              "filters": {
                "test": "is_family",
                "subject": "other",
                "value": "player"
              },
              "push_mode": "ball",
              "push_scale_self": 3.0,
              "push_scale_other": 1.0,
              "kick_distance_threshold": 1.3,
              "kick_speed_scale": 0.3,
              "min_kick_speed": 0.0,
              "max_kick_speed": 0.5,
              "vertical_kick_multiplier": 0.3
            }
          ]
        },
        "minecraft:knockback_resistance": {
          "value": -2.0
        },
        "minecraft:bounciness": {
          "value": 0.9
        },
        "minecraft:friction_modifier": {
          "value": 0.3
        },
        "minecraft:air_drag_modifier": {
          "value": 0.01
        },
        "minecraft:buoyant": {
          "base_buoyancy": 1.0,
          "apply_gravity": false,
          "can_auto_step_from_liquid": true,
          "movement_type": "bobbing",
          "liquid_blocks": [
            "minecraft:water",
            "minecraft:flowing_water",
            "minecraft:lava",
            "minecraft:flowing_lava"
          ]
        }
      },
      "minecraft:sulfur_cube_football": {
        "minecraft:pushable_by_entity": {
          "presets": [
            {
              "filters": {
                "test": "is_family",
                "subject": "other",
                "value": "player"
              },
              "push_mode": "ball",
              "push_scale_self": 2.0,
              "push_scale_other": 1.0,
              "kick_distance_threshold": 1.3,
              "kick_speed_scale": 0.3,
              "min_kick_speed": 0.0,
              "max_kick_speed": 0.5,
              "vertical_kick_multiplier": 0.3
            }
          ]
        },
        "minecraft:knockback_resistance": {
          "value": -1.0
        },
        "minecraft:bounciness": {
          "value": 0.5
        },
        "minecraft:friction_modifier": {
          "value": 0.3
        },
        "minecraft:air_drag_modifier": {
          "value": 0.1
        },
        "minecraft:buoyant": {
          "base_buoyancy": 1.0,
          "apply_gravity": false,
          "can_auto_step_from_liquid": true,
          "movement_type": "bobbing",
          "liquid_blocks": [
            "minecraft:water",
            "minecraft:flowing_water",
            "minecraft:lava",
            "minecraft:flowing_lava"
          ]
        }
      },
      "minecraft:sulfur_cube_medicine_ball": {
        "minecraft:pushable_by_entity": {
          "presets": [
            {
              "filters": {
                "test": "is_family",
                "subject": "other",
                "value": "player"
              },
              "push_mode": "ball",
              "push_scale_self": 0.3,
              "push_scale_other": 1.0,
              "kick_distance_threshold": 1.3,
              "kick_speed_scale": 0.3,
              "min_kick_speed": 0.0,
              "max_kick_speed": 0.5,
              "vertical_kick_multiplier": 0.3
            }
          ]
        },
        "minecraft:knockback_resistance": {
          "value": 0.7
        },
        "minecraft:bounciness": {
          "value": 0.2
        },
        "minecraft:friction_modifier": {
          "value": 0.3
        },
        "minecraft:air_drag_modifier": {
          "value": 0.1
        }
      },
      "minecraft:sulfur_cube_golf_ball": {
        "minecraft:pushable_by_entity": {
          "presets": [
            {
              "filters": {
                "test": "is_family",
                "subject": "other",
                "value": "player"
              },
              "push_mode": "ball",
              "push_scale_self": 3.0,
              "push_scale_other": 1.0,
              "kick_distance_threshold": 1.3,
              "kick_speed_scale": 0.3,
              "min_kick_speed": 0.0,
              "max_kick_speed": 0.5,
              "vertical_kick_multiplier": 0.3
            }
          ]
        },
        "minecraft:knockback_resistance": {
          "value": -2.0
        },
        "minecraft:bounciness": {
          "value": 0.2
        },
        "minecraft:friction_modifier": {
          "value": 0.1
        },
        "minecraft:air_drag_modifier": {
          "value": 0.01
        }
      },
      "minecraft:sulfur_cube_beach_ball": {
        "minecraft:pushable_by_entity": {
          "presets": [
            {
              "filters": {
                "test": "is_family",
                "subject": "other",
                "value": "player"
              },
              "push_mode": "ball",
              "push_scale_self": 2.0,
              "push_scale_other": 1.0,
              "kick_distance_threshold": 1.3,
              "kick_speed_scale": 0.3,
              "min_kick_speed": 0.0,
              "max_kick_speed": 0.5,
              "vertical_kick_multiplier": 0.3
            }
          ]
        },
        "minecraft:knockback_resistance": {
          "value": -1.0
        },
        "minecraft:bounciness": {
          "value": 1.0
        },
        "minecraft:friction_modifier": {
          "value": 0.3
        },
        "minecraft:air_drag_modifier": {
          "value": 1.8
        },
        "minecraft:buoyant": {
          "base_buoyancy": 1.0,
          "apply_gravity": false,
          "can_auto_step_from_liquid": true,
          "movement_type": "bobbing",
          "liquid_blocks": [
            "minecraft:water",
            "minecraft:flowing_water",
            "minecraft:lava",
            "minecraft:flowing_lava"
          ]
        }
      },
      "minecraft:sulfur_cube_hockey_puck": {
        "minecraft:pushable_by_entity": {
          "presets": [
            {
              "filters": {
                "test": "is_family",
                "subject": "other",
                "value": "player"
              },
              "push_mode": "ball",
              "push_scale_self": 0.5,
              "push_scale_other": 1.0,
              "kick_distance_threshold": 1.3,
              "kick_speed_scale": 0.3,
              "min_kick_speed": 0.0,
              "max_kick_speed": 0.5,
              "vertical_kick_multiplier": 0.3
            }
          ]
        },
        "minecraft:knockback_resistance": {
          "value": 0.5
        },
        "minecraft:bounciness": {
          "value": 0.1
        },
        "minecraft:friction_modifier": {
          "value": 0.05
        },
        "minecraft:air_drag_modifier": {
          "value": 0.01
        }
      },
      "minecraft:sulfur_cube_curling_stone": {
        "minecraft:pushable_by_entity": {
          "presets": [
            {
              "filters": {
                "test": "is_family",
                "subject": "other",
                "value": "player"
              },
              "push_mode": "ball",
              "push_scale_self": 0.2,
              "push_scale_other": 1.0,
              "kick_distance_threshold": 1.3,
              "kick_speed_scale": 0.3,
              "min_kick_speed": 0.0,
              "max_kick_speed": 0.5,
              "vertical_kick_multiplier": 0.3
            }
          ]
        },
        "minecraft:knockback_resistance": {
          "value": 0.8
        },
        "minecraft:bounciness": {
          "value": 0.1
        },
        "minecraft:friction_modifier": {
          "value": 0.05
        },
        "minecraft:air_drag_modifier": {
          "value": 0.01
        }
      },
      "minecraft:sulfur_cube_sticky": {
        "minecraft:pushable_by_entity": {
          "presets": [
            {
              "filters": {
                "test": "is_family",
                "subject": "other",
                "value": "player"
              },
              "push_mode": "ball",
              "push_scale_self": 3.0,
              "push_scale_other": 1.0,
              "kick_distance_threshold": 1.3,
              "kick_speed_scale": 0.3,
              "min_kick_speed": 0.0,
              "max_kick_speed": 0.5,
              "vertical_kick_multiplier": 0.3
            }
          ]
        },
        "minecraft:knockback_resistance": {
          "value": -2.0
        },
        "minecraft:bounciness": {
          "value": 0.0
        },
        "minecraft:friction_modifier": {
          "value": 2.0
        },
        "minecraft:air_drag_modifier": {
          "value": 0.01
        }
      },
      "minecraft:sulfur_cube_high_resistance": {
        "minecraft:pushable_by_entity": {
          "presets": [
            {
              "filters": {
                "test": "is_family",
                "subject": "other",
                "value": "player"
              },
              "push_mode": "ball",
              "push_scale_self": 0.3,
              "push_scale_other": 1.0,
              "kick_distance_threshold": 1.3,
              "kick_speed_scale": 0.3,
              "min_kick_speed": 0.0,
              "max_kick_speed": 0.5,
              "vertical_kick_multiplier": 0.3
            }
          ]
        },
        "minecraft:knockback_resistance": {
          "value": 0.7
        },
        "minecraft:bounciness": {
          "value": 0.2
        },
        "minecraft:friction_modifier": {
          "value": 1.0
        },
        "minecraft:air_drag_modifier": {
          "value": 0.01
        }
      }
    },

    "components": {
      "minecraft:is_hidden_when_invisible": {
      },
      "minecraft:type_family": {
        "family": [ "sulfur_cube", "animal", "mob" ]
      },
      "minecraft:hurt_on_condition": {
        "damage_conditions": [
          {
            "filters": {
              "test": "in_lava"
            },
            "cause": "lava",
            "damage_per_tick": 4
          }
        ]
      },
      "minecraft:nameable": {
      },
      "minecraft:despawn": {
        "despawn_from_distance": {}
      },
      "minecraft:physics": {
      },
      "minecraft:pushable_by_entity": {
      },
      "minecraft:pushable_by_block": {
      },
      "minecraft:conditional_bandwidth_optimization": {
      },
      "minecraft:mob_effect_immunity": {
        "mob_effects": [ "oozing" ]
      },
      "minecraft:equipment": {
        "slot_drop_chance": [
          {
            "slot": "slot.weapon.mainhand",
            "drop_chance": 1.0
          }
        ]
      },
      "minecraft:on_equipment_changed": {
        "slots": [
          {
            "slot": "slot.weapon.mainhand",
            "on_equip": "minecraft:on_block_absorbed",
            "on_unequip": "minecraft:on_block_ejected"
          }
        ]
      }
    },

    "events": {
      "minecraft:entity_spawned": {
        "randomize": [
          {
            "weight": 5,
            "trigger": "minecraft:spawn_small"
          },
          {
            "weight": 95,
            "trigger": "minecraft:spawn_medium"
          }
        ]
      },
      "minecraft:entity_born": {
        "trigger": "minecraft:spawn_small"
      },
      "minecraft:spawn_small": {
        "add": {
          "component_groups": [
            "minecraft:sulfur_cube_ai",
            "minecraft:sulfur_cube_small",
            "minecraft:sulfur_cube_without_target"
          ]
        }
      },
      "minecraft:spawn_medium": {
        "add": {
          "component_groups": [
            "minecraft:sulfur_cube_ai",
            "minecraft:sulfur_cube_medium",
            "minecraft:sulfur_cube_medium_without_block",
            "minecraft:sulfur_cube_medium_without_block_can_pickup",
            "minecraft:sulfur_cube_without_target"
          ]
        },
        "set_property": {
          "minecraft:with_block": false
        }
      },
      "minecraft:ageable_grow_up": {
        "remove": {
          "component_groups": [ "minecraft:sulfur_cube_small" ]
        },
        "add": {
          "component_groups": [
            "minecraft:sulfur_cube_medium",
            "minecraft:sulfur_cube_medium_without_block",
            "minecraft:sulfur_cube_medium_without_block_can_pickup"
          ]
        },
        "set_property": {
          "minecraft:with_block": false
        }
      },
      "minecraft:on_lose_target": {
        "add": {
          "component_groups": [
            "minecraft:sulfur_cube_without_target"
          ]
        },
        "remove": {
          "component_groups": [
            "minecraft:sulfur_cube_with_target"
          ]
        }
      },
      "minecraft:on_gain_target": {
        "add": {
          "component_groups": [
            "minecraft:sulfur_cube_with_target"
          ]
        },
        "remove": {
          "component_groups": [
            "minecraft:sulfur_cube_without_target"
          ]
        }
      },
      "minecraft:on_sheared": {
        "drop_item": {
          "slot": "slot.weapon.mainhand"
        }
      },
      "minecraft:on_pickup_timeout": {
        "add": {
          "component_groups": [
            "minecraft:sulfur_cube_medium_without_block_can_pickup"
          ]
        },
        "remove": {
          "component_groups": [
            "minecraft:sulfur_cube_medium_without_block_pickup_timeout"
          ]
        }
      },
      "minecraft:on_block_absorbed": {
        "sequence": [
          {
            "remove": {
              "component_groups": [
                "minecraft:sulfur_cube_ai",
                "minecraft:sulfur_cube_medium_without_block",
                "minecraft:sulfur_cube_medium_without_block_can_pickup",
                "minecraft:sulfur_cube_medium_without_block_pickup_timeout",
                "minecraft:sulfur_cube_without_target",
                "minecraft:sulfur_cube_with_target"
              ]
            },
            "add": {
              "component_groups": [ "minecraft:sulfur_cube_medium_with_block" ]
            },
            "set_property": {
              "minecraft:with_block": true
            }
          },
          {
            "filters": {
              "test": "has_equipment_tag",
              "domain": "main_hand",
              "value": "minecraft:sulfur_cube_archetype_bouncy"
            },
            "trigger": "minecraft:become_rubber_ball"
          },
          {
            "filters": {
              "test": "has_equipment_tag",
              "domain": "main_hand",
              "value": "minecraft:sulfur_cube_archetype_regular"
            },
            "trigger": "minecraft:become_football"
          },
          {
            "filters": {
              "test": "has_equipment_tag",
              "domain": "main_hand",
              "value": "minecraft:sulfur_cube_archetype_slow_flat"
            },
            "trigger": "minecraft:become_medicine_ball"
          },
          {
            "filters": {
              "test": "has_equipment_tag",
              "domain": "main_hand",
              "value": "minecraft:sulfur_cube_archetype_fast_flat"
            },
            "trigger": "minecraft:become_golf_ball"
          },
          {
            "filters": {
              "test": "has_equipment_tag",
              "domain": "main_hand",
              "value": "minecraft:sulfur_cube_archetype_light"
            },
            "trigger": "minecraft:become_beach_ball"
          },
          {
            "filters": {
              "test": "has_equipment_tag",
              "domain": "main_hand",
              "value": "minecraft:sulfur_cube_archetype_fast_sliding"
            },
            "trigger": "minecraft:become_hockey_puck"
          },
          {
            "filters": {
              "test": "has_equipment_tag",
              "domain": "main_hand",
              "value": "minecraft:sulfur_cube_archetype_slow_sliding"
            },
            "trigger": "minecraft:become_curling_stone"
          },
          {
            "filters": {
              "test": "has_equipment_tag",
              "domain": "main_hand",
              "value": "minecraft:sulfur_cube_archetype_sticky"
            },
            "trigger": "minecraft:become_sticky"
          },
          {
            "filters": {
              "test": "has_equipment_tag",
              "domain": "main_hand",
              "value": "minecraft:sulfur_cube_archetype_high_resistance"
            },
            "trigger": "minecraft:become_high_resistance"
          }
        ]
      },
      "minecraft:on_block_ejected": {
        "remove": {
          "component_groups": [
            "minecraft:sulfur_cube_medium_with_block",
            "minecraft:sulfur_cube_rubber_ball",
            "minecraft:sulfur_cube_football",
            "minecraft:sulfur_cube_medicine_ball",
            "minecraft:sulfur_cube_golf_ball",
            "minecraft:sulfur_cube_beach_ball",
            "minecraft:sulfur_cube_hockey_puck",
            "minecraft:sulfur_cube_curling_stone",
            "minecraft:sulfur_cube_sticky",
            "minecraft:sulfur_cube_high_resistance"
          ]
        },
        "add": {
          "component_groups": [
            "minecraft:sulfur_cube_ai",
            "minecraft:sulfur_cube_medium_without_block",
            "minecraft:sulfur_cube_medium_without_block_pickup_timeout"
          ]
        },
        "set_property": {
          "minecraft:with_block": false
        }
      },
      "minecraft:become_rubber_ball": {
        "remove": {
          "component_groups": [
            "minecraft:sulfur_cube_football",
            "minecraft:sulfur_cube_medicine_ball",
            "minecraft:sulfur_cube_golf_ball",
            "minecraft:sulfur_cube_beach_ball",
            "minecraft:sulfur_cube_hockey_puck",
            "minecraft:sulfur_cube_curling_stone",
            "minecraft:sulfur_cube_sticky",
            "minecraft:sulfur_cube_high_resistance"
          ]
        },
        "add": {
          "component_groups": [ "minecraft:sulfur_cube_rubber_ball" ]
        }
      },
      "minecraft:become_football": {
        "remove": {
          "component_groups": [
            "minecraft:sulfur_cube_rubber_ball",
            "minecraft:sulfur_cube_medicine_ball",
            "minecraft:sulfur_cube_golf_ball",
            "minecraft:sulfur_cube_beach_ball",
            "minecraft:sulfur_cube_hockey_puck",
            "minecraft:sulfur_cube_curling_stone",
            "minecraft:sulfur_cube_sticky",
            "minecraft:sulfur_cube_high_resistance"
          ]
        },
        "add": {
          "component_groups": [ "minecraft:sulfur_cube_football" ]
        }
      },
      "minecraft:become_medicine_ball": {
        "remove": {
          "component_groups": [
            "minecraft:sulfur_cube_rubber_ball",
            "minecraft:sulfur_cube_football",
            "minecraft:sulfur_cube_golf_ball",
            "minecraft:sulfur_cube_beach_ball",
            "minecraft:sulfur_cube_hockey_puck",
            "minecraft:sulfur_cube_curling_stone",
            "minecraft:sulfur_cube_sticky",
            "minecraft:sulfur_cube_high_resistance"
          ]
        },
        "add": {
          "component_groups": [ "minecraft:sulfur_cube_medicine_ball" ]
        }
      },
      "minecraft:become_golf_ball": {
        "remove": {
          "component_groups": [
            "minecraft:sulfur_cube_rubber_ball",
            "minecraft:sulfur_cube_football",
            "minecraft:sulfur_cube_medicine_ball",
            "minecraft:sulfur_cube_beach_ball",
            "minecraft:sulfur_cube_hockey_puck",
            "minecraft:sulfur_cube_curling_stone",
            "minecraft:sulfur_cube_sticky",
            "minecraft:sulfur_cube_high_resistance"
          ]
        },
        "add": {
          "component_groups": [ "minecraft:sulfur_cube_golf_ball" ]
        }
      },
      "minecraft:become_beach_ball": {
        "remove": {
          "component_groups": [
            "minecraft:sulfur_cube_rubber_ball",
            "minecraft:sulfur_cube_football",
            "minecraft:sulfur_cube_medicine_ball",
            "minecraft:sulfur_cube_golf_ball",
            "minecraft:sulfur_cube_hockey_puck",
            "minecraft:sulfur_cube_curling_stone",
            "minecraft:sulfur_cube_sticky",
            "minecraft:sulfur_cube_high_resistance"
          ]
        },
        "add": {
          "component_groups": [ "minecraft:sulfur_cube_beach_ball" ]
        }
      },
      "minecraft:become_hockey_puck": {
        "remove": {
          "component_groups": [
            "minecraft:sulfur_cube_rubber_ball",
            "minecraft:sulfur_cube_football",
            "minecraft:sulfur_cube_medicine_ball",
            "minecraft:sulfur_cube_golf_ball",
            "minecraft:sulfur_cube_beach_ball",
            "minecraft:sulfur_cube_curling_stone",
            "minecraft:sulfur_cube_sticky",
            "minecraft:sulfur_cube_high_resistance"
          ]
        },
        "add": {
          "component_groups": [ "minecraft:sulfur_cube_hockey_puck" ]
        }
      },
      "minecraft:become_curling_stone": {
        "remove": {
          "component_groups": [
            "minecraft:sulfur_cube_rubber_ball",
            "minecraft:sulfur_cube_football",
            "minecraft:sulfur_cube_medicine_ball",
            "minecraft:sulfur_cube_golf_ball",
            "minecraft:sulfur_cube_beach_ball",
            "minecraft:sulfur_cube_hockey_puck",
            "minecraft:sulfur_cube_sticky",
            "minecraft:sulfur_cube_high_resistance"
          ]
        },
        "add": {
          "component_groups": [ "minecraft:sulfur_cube_curling_stone" ]
        }
      },
      "minecraft:become_sticky": {
        "remove": {
          "component_groups": [
            "minecraft:sulfur_cube_rubber_ball",
            "minecraft:sulfur_cube_football",
            "minecraft:sulfur_cube_medicine_ball",
            "minecraft:sulfur_cube_golf_ball",
            "minecraft:sulfur_cube_beach_ball",
            "minecraft:sulfur_cube_hockey_puck",
            "minecraft:sulfur_cube_curling_stone",
            "minecraft:sulfur_cube_high_resistance"
          ]
        },
        "add": {
          "component_groups": [ "minecraft:sulfur_cube_sticky" ]
        }
      },
      "minecraft:become_high_resistance": {
        "remove": {
          "component_groups": [
            "minecraft:sulfur_cube_rubber_ball",
            "minecraft:sulfur_cube_football",
            "minecraft:sulfur_cube_medicine_ball",
            "minecraft:sulfur_cube_golf_ball",
            "minecraft:sulfur_cube_beach_ball",
            "minecraft:sulfur_cube_hockey_puck",
            "minecraft:sulfur_cube_curling_stone",
            "minecraft:sulfur_cube_sticky"
          ]
        },
        "add": {
          "component_groups": [ "minecraft:sulfur_cube_high_resistance" ]
        }
      }
    }
  }
}
