{ "format_version": "1.26.50", "minecraft:entity": { "description": { "identifier": "minecraft:sulfur_cube", "spawn_category": "monster", "is_spawnable": true, "is_summonable": true, "properties": { "minecraft:sulfur_cube_archetype": { "default": "none", "type": "enum", "client_sync": true, "values": [ "none", "bouncy", "regular", "slow_bouncy", "slow_flat", "fast_flat", "light", "fast_sliding", "slow_sliding", "sticky", "high_resistance", "explosive", "hot" ] } } }, "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:pushable_by_entity": { }, "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": 8, "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": 8, "max": 8 }, "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:pushable_by_entity": { }, "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.any_tag('minecraft:sulfur_cube_archetype_bouncy', 'minecraft:sulfur_cube_archetype_regular', 'minecraft:sulfur_cube_archetype_slow_bouncy', 'minecraft:sulfur_cube_archetype_slow_flat', 'minecraft:sulfur_cube_archetype_fast_flat', 'minecraft:sulfur_cube_archetype_light', 'minecraft:sulfur_cube_archetype_fast_sliding', 'minecraft:sulfur_cube_archetype_slow_sliding', 'minecraft:sulfur_cube_archetype_sticky', 'minecraft:sulfur_cube_archetype_high_resistance', 'minecraft:sulfur_cube_archetype_explosive', 'minecraft:sulfur_cube_archetype_hot')" } ], "within_radius": 8, "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", "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_bouncy" }, { "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_equipment_tag", "subject": "other", "domain": "main_hand", "value": "minecraft:sulfur_cube_archetype_explosive" }, { "test": "has_equipment_tag", "subject": "other", "domain": "main_hand", "value": "minecraft:sulfur_cube_archetype_hot" } ] }, "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_bouncy", "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 }, { "item": "minecraft:sulfur_cube_archetype_explosive", "max_amount": 1 }, { "item": "minecraft:sulfur_cube_archetype_hot", "max_amount": 1 } ] } }, "minecraft:sulfur_cube_medium_with_block": { "minecraft:uses_uniform_air_drag": { }, "minecraft:leashable": { }, "minecraft:leashable_to": { }, "minecraft:rotation_axis_aligned": { }, "minecraft:not_pickable_from_inside": { }, "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:freezing_immune": {}, "minecraft:mob_effect_immunity": { "mob_effects": [ "poison" ] }, "minecraft:damage_sensor": { "triggers": [ // Sulfur Cube becomes completly invulnerable when about to explode. { "on_damage": { "filters": { "test": "has_component", "value": "minecraft:explode" } }, "deals_damage": "no_but_entity_effects_apply" }, { "cause": "anvil", "deals_damage": "no_but_entity_effects_apply" }, { "on_damage": { "event": "minecraft:try_priming_on_explosion" }, "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" }, { "on_damage": { "event": "minecraft:try_priming_on_explosion" }, "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" }, { "on_damage": { "filters": { "test": "on_fire", "subject": "damager" }, "event": "minecraft:try_priming" }, "cause": "projectile", "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" }, { "on_damage": { "event": "minecraft:try_priming" }, "cause": "fire", "deals_damage": "yes" }, { "on_damage": { "event": "minecraft:try_priming" }, "cause": "fire_tick", "deals_damage": "yes" }, { "on_damage": { "event": "minecraft:try_priming" }, "cause": "magma", "deals_damage": "no_but_entity_effects_apply" }, { "cause": "all", "deals_damage": "yes" } ] } }, "minecraft:sulfur_cube_medium_with_block_interactable": { "minecraft:environment_sensor": { "triggers": [ { "event": "minecraft:try_priming", "filters": { "all_of": [ { "domain": "tntexplodes", "test": "is_game_rule", "value": true }, { "domain": "minecraft:sulfur_cube_archetype", "test": "enum_property", "value": "explosive" }, { "test": "redstone_strength_at_position", "operator": ">", "value": 0 } ] } } ] }, "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", "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_bouncy" }, { "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_equipment_tag", "subject": "other", "domain": "main_hand", "value": "minecraft:sulfur_cube_archetype_explosive" }, { "test": "has_equipment_tag", "subject": "other", "domain": "main_hand", "value": "minecraft:sulfur_cube_archetype_hot" } ] }, { "test": "has_same_equipment_in_slot_as", "subject": "other", "domain": "main_hand", "value": false } ] } } }, { "on_interact": { "event": "minecraft:try_priming", "filters": { "all_of": [ { "domain": "tntexplodes", "test": "is_game_rule", "value": true }, { "domain": "minecraft:sulfur_cube_archetype", "test": "enum_property", "value": "explosive" }, { "domain": "hand", "subject": "other", "test": "has_equipment", "value": "flint_and_steel" } ] } }, "hurt_item": 1, "interact_text": "action.interact.creeper", "play_sounds": [ "fuse" ], "swing": true }, { "on_interact": { "event": "minecraft:try_priming", "filters": { "all_of": [ { "domain": "tntexplodes", "test": "is_game_rule", "value": true }, { "domain": "minecraft:sulfur_cube_archetype", "test": "enum_property", "value": "explosive" }, { "domain": "hand", "subject": "other", "test": "has_equipment", "value": "fireball:0" } ] } }, "use_item": true, "interact_text": "action.interact.creeper", "play_sounds": [ "fuse" ], "swing": true } ] } }, "minecraft:sulfur_cube_medium_primed": { "minecraft:explode": { "causes_fire": false, "destroy_affected_by_griefing": true, "fuse_lit": true, "power": 3, "fuse_length": 6 } }, "minecraft:sulfur_cube_medium_primed_by_explosion": { "minecraft:explode": { "causes_fire": false, "destroy_affected_by_griefing": true, "fuse_lit": true, "power": 3, "fuse_length": { "range_max": 3.0, "range_min": 0.75 } } }, "minecraft:sulfur_cube_medium_without_block_can_pickup": { "minecraft:behavior.pickup_items": { "priority": 3, "max_dist": 8, "goal_radius": 2, "on_pickup_item_start": { "event": "minecraft:on_gain_target" }, "on_pickup_item_end": { "event": "minecraft:on_lose_target" }, "stop_if_holding_item": true } }, "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_bouncy": { "minecraft:pushable_by_entity": { "presets": [ { "filters": { "any_of": [ { "test": "is_family", "subject": "other", "value": "player" }, { "test": "is_controlling_passenger_family", "subject": "other", "value": "player" } ] }, "push_mode": "ball", "min_distance": 0.0, "max_distance": 1.0, "require_collision_overlap": false, "push_scale_self": 3.0, "push_scale_other": 1.0, "kick_speed_scale": 0.3, "min_kick_speed": 0.0, "max_kick_speed": 0.5, "vertical_kick_multiplier": 0.3, "play_sound": true, "play_sound_impulse_threshold": 0.2, "play_sound_cooldown_in_seconds": 0.7 } ] }, "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_regular": { "minecraft:pushable_by_entity": { "presets": [ { "filters": { "any_of": [ { "test": "is_family", "subject": "other", "value": "player" }, { "test": "is_controlling_passenger_family", "subject": "other", "value": "player" } ] }, "push_mode": "ball", "min_distance": 0.0, "max_distance": 1.0, "require_collision_overlap": false, "push_scale_self": 2.0, "push_scale_other": 1.0, "kick_speed_scale": 0.3, "min_kick_speed": 0.0, "max_kick_speed": 0.5, "vertical_kick_multiplier": 0.3, "play_sound": true, "play_sound_impulse_threshold": 0.1, "play_sound_cooldown_in_seconds": 0.7 } ] }, "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_slow_bouncy": { "minecraft:pushable_by_entity": { "presets": [ { "filters": { "any_of": [ { "test": "is_family", "subject": "other", "value": "player" }, { "test": "is_controlling_passenger_family", "subject": "other", "value": "player" } ] }, "push_mode": "ball", "min_distance": 0.0, "max_distance": 1.0, "require_collision_overlap": false, "push_scale_self": 0.3, "push_scale_other": 1.0, "kick_speed_scale": 0.3, "min_kick_speed": 0.0, "max_kick_speed": 0.5, "vertical_kick_multiplier": 0.3, "play_sound": true, "play_sound_impulse_threshold": 0.0, "play_sound_cooldown_in_seconds": 0.7 } ] }, "minecraft:knockback_resistance": { "value": 0.4 }, "minecraft:bounciness": { "value": 0.6 }, "minecraft:friction_modifier": { "value": 0.3 }, "minecraft:air_drag_modifier": { "value": 0.05 } }, "minecraft:sulfur_cube_slow_flat": { "minecraft:pushable_by_entity": { "presets": [ { "filters": { "any_of": [ { "test": "is_family", "subject": "other", "value": "player" }, { "test": "is_controlling_passenger_family", "subject": "other", "value": "player" } ] }, "push_mode": "ball", "min_distance": 0.0, "max_distance": 1.0, "require_collision_overlap": false, "push_scale_self": 0.3, "push_scale_other": 1.0, "kick_speed_scale": 0.3, "min_kick_speed": 0.0, "max_kick_speed": 0.5, "vertical_kick_multiplier": 0.3, "play_sound": true, "play_sound_impulse_threshold": 0.0, "play_sound_cooldown_in_seconds": 0.7 } ] }, "minecraft:knockback_resistance": { "value": 0.5 }, "minecraft:bounciness": { "value": 0.4 }, "minecraft:friction_modifier": { "value": 0.4 }, "minecraft:air_drag_modifier": { "value": 0.1 } }, "minecraft:sulfur_cube_fast_flat": { "minecraft:pushable_by_entity": { "presets": [ { "filters": { "any_of": [ { "test": "is_family", "subject": "other", "value": "player" }, { "test": "is_controlling_passenger_family", "subject": "other", "value": "player" } ] }, "push_mode": "ball", "min_distance": 0.0, "max_distance": 1.0, "require_collision_overlap": false, "push_scale_self": 3.0, "push_scale_other": 1.0, "kick_speed_scale": 0.3, "min_kick_speed": 0.0, "max_kick_speed": 0.5, "vertical_kick_multiplier": 0.3, "play_sound": true, "play_sound_impulse_threshold": 0.2, "play_sound_cooldown_in_seconds": 0.7 } ] }, "minecraft:knockback_resistance": { "value": -1.0 }, "minecraft:bounciness": { "value": 0.5 }, "minecraft:friction_modifier": { "value": 0.2 }, "minecraft:air_drag_modifier": { "value": 0.01 } }, "minecraft:sulfur_cube_light": { "minecraft:pushable_by_entity": { "presets": [ { "filters": { "any_of": [ { "test": "is_family", "subject": "other", "value": "player" }, { "test": "is_controlling_passenger_family", "subject": "other", "value": "player" } ] }, "push_mode": "ball", "min_distance": 0.0, "max_distance": 1.0, "require_collision_overlap": false, "push_scale_self": 2.0, "push_scale_other": 1.0, "kick_speed_scale": 0.3, "min_kick_speed": 0.0, "max_kick_speed": 0.5, "vertical_kick_multiplier": 0.3, "play_sound": true, "play_sound_impulse_threshold": 0.1, "play_sound_cooldown_in_seconds": 0.7 } ] }, "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_fast_sliding": { "minecraft:pushable_by_entity": { "presets": [ { "filters": { "any_of": [ { "test": "is_family", "subject": "other", "value": "player" }, { "test": "is_controlling_passenger_family", "subject": "other", "value": "player" } ] }, "push_mode": "ball", "min_distance": 0.0, "max_distance": 1.0, "require_collision_overlap": false, "push_scale_self": 0.5, "push_scale_other": 1.0, "kick_speed_scale": 0.3, "min_kick_speed": 0.0, "max_kick_speed": 0.5, "vertical_kick_multiplier": 0.3, "play_sound": true, "play_sound_impulse_threshold": 0.0, "play_sound_cooldown_in_seconds": 0.4 } ] }, "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_slow_sliding": { "minecraft:pushable_by_entity": { "presets": [ { "filters": { "any_of": [ { "test": "is_family", "subject": "other", "value": "player" }, { "test": "is_controlling_passenger_family", "subject": "other", "value": "player" } ] }, "push_mode": "ball", "min_distance": 0.0, "max_distance": 1.0, "require_collision_overlap": false, "push_scale_self": 0.2, "push_scale_other": 1.0, "kick_speed_scale": 0.3, "min_kick_speed": 0.0, "max_kick_speed": 0.5, "vertical_kick_multiplier": 0.3, "play_sound": true, "play_sound_impulse_threshold": 0.0, "play_sound_cooldown_in_seconds": 1.0 } ] }, "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": { "any_of": [ { "test": "is_family", "subject": "other", "value": "player" }, { "test": "is_controlling_passenger_family", "subject": "other", "value": "player" } ] }, "push_mode": "ball", "min_distance": 0.0, "max_distance": 1.0, "require_collision_overlap": false, "push_scale_self": 3.0, "push_scale_other": 1.0, "kick_speed_scale": 0.3, "min_kick_speed": 0.0, "max_kick_speed": 0.5, "vertical_kick_multiplier": 0.3, "play_sound": true, "play_sound_impulse_threshold": 0.1, "play_sound_cooldown_in_seconds": 1.0 } ] }, "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": { "any_of": [ { "test": "is_family", "subject": "other", "value": "player" }, { "test": "is_controlling_passenger_family", "subject": "other", "value": "player" } ] }, "push_mode": "ball", "min_distance": 0.0, "max_distance": 1.0, "require_collision_overlap": false, "push_scale_self": 0.3, "push_scale_other": 1.0, "kick_speed_scale": 0.3, "min_kick_speed": 0.0, "max_kick_speed": 0.5, "vertical_kick_multiplier": 0.3, "play_sound": true, "play_sound_impulse_threshold": 0.0, "play_sound_cooldown_in_seconds": 2.0 } ] }, "minecraft:knockback_resistance": { "value": 0.7 }, "minecraft:bounciness": { "value": 0.2 }, "minecraft:friction_modifier": { "value": 1.0 }, "minecraft:air_drag_modifier": { "value": 0.01 } }, "minecraft:sulfur_cube_explosive": { "minecraft:pushable_by_entity": { "presets": [ { "filters": { "any_of": [ { "test": "is_family", "subject": "other", "value": "player" }, { "test": "is_controlling_passenger_family", "subject": "other", "value": "player" } ] }, "push_mode": "ball", "min_distance": 0.0, "max_distance": 1.0, "require_collision_overlap": false, "push_scale_self": 2.0, "push_scale_other": 1.0, "kick_speed_scale": 0.3, "min_kick_speed": 0.0, "max_kick_speed": 0.5, "vertical_kick_multiplier": 0.3, "play_sound": true, "play_sound_impulse_threshold": 0.0, "play_sound_cooldown_in_seconds": 0.7 } ] }, "minecraft:knockback_resistance": { "value": -1.0 }, "minecraft:bounciness": { "value": 0.5 }, "minecraft:friction_modifier": { "value": 0.3 }, "minecraft:air_drag_modifier": { "value": 0.3 }, "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_hot": { "minecraft:pushable_by_entity": { "presets": [ { "filters": { "any_of": [ { "test": "is_family", "subject": "other", "value": "player" }, { "test": "is_controlling_passenger_family", "subject": "other", "value": "player" } ] }, "push_mode": "ball", "min_distance": 0.0, "max_distance": 1.0, "require_collision_overlap": false, "push_scale_self": 2.0, "push_scale_other": 1.0, "kick_speed_scale": 0.3, "min_kick_speed": 0.0, "max_kick_speed": 0.5, "vertical_kick_multiplier": 0.3, "play_sound": true, "play_sound_impulse_threshold": 0.1, "play_sound_cooldown_in_seconds": 0.7 } ] }, "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:area_attack": { "cause": "magma", "damage_cooldown": 0.0, "damage_per_tick": 1, "damage_range": 0.4, "use_self_as_damage_source": false, "death_message_override": "death.attack.sulfurCube.hot", "entity_filter": { "all_of": [ { "any_of": [ { "subject": "other", "test": "is_family", "operator": "not", "value": "sulfur_cube" }, { "any_of": [ { "subject": "other", "domain": "minecraft:sulfur_cube_archetype", "test": "enum_property", "value": "explosive" }, { "subject": "other", "domain": "minecraft:sulfur_cube_archetype", "test": "enum_property", "value": "none" } ] } ] }, { "all_of": [ { "any_of": [ { "subject": "other", "test": "is_family", "value": "mob" }, { "subject": "other", "test": "is_family", "value": "player" } ] }, { "subject": "other", "test": "actor_has_item_with_enchantment_in_slot", "domain": 7, "operator": "not", "value": "frost_walker" } ] } ] } } } }, "components": { "minecraft:collision_box": { "width": 0.98, "height": 0.98 }, "minecraft:is_hidden_when_invisible": { }, "minecraft:renders_when_invisible": { }, "minecraft:offspring": { "blend_attributes": false, "offspring_pairs": { "minecraft:sulfur_cube": "minecraft:sulfur_cube" } }, "minecraft:spawn_egg_interaction": {}, "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_block": { }, "minecraft:conditional_bandwidth_optimization": { }, "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:sulfur_cube_archetype": "none" } }, "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:sulfur_cube_archetype": "none" } }, "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", "minecraft:sulfur_cube_medium_with_block_interactable" ] }, "play_sound": { "sound": "absorb_block" } }, { "filters": { "test": "has_equipment_tag", "domain": "main_hand", "value": "minecraft:sulfur_cube_archetype_bouncy" }, "trigger": "minecraft:become_bouncy" }, { "filters": { "test": "has_equipment_tag", "domain": "main_hand", "value": "minecraft:sulfur_cube_archetype_regular" }, "trigger": "minecraft:become_regular" }, { "filters": { "test": "has_equipment_tag", "domain": "main_hand", "value": "minecraft:sulfur_cube_archetype_slow_bouncy" }, "trigger": "minecraft:become_slow_bouncy" }, { "filters": { "test": "has_equipment_tag", "domain": "main_hand", "value": "minecraft:sulfur_cube_archetype_slow_flat" }, "trigger": "minecraft:become_slow_flat" }, { "filters": { "test": "has_equipment_tag", "domain": "main_hand", "value": "minecraft:sulfur_cube_archetype_fast_flat" }, "trigger": "minecraft:become_fast_flat" }, { "filters": { "test": "has_equipment_tag", "domain": "main_hand", "value": "minecraft:sulfur_cube_archetype_light" }, "trigger": "minecraft:become_light" }, { "filters": { "test": "has_equipment_tag", "domain": "main_hand", "value": "minecraft:sulfur_cube_archetype_fast_sliding" }, "trigger": "minecraft:become_fast_sliding" }, { "filters": { "test": "has_equipment_tag", "domain": "main_hand", "value": "minecraft:sulfur_cube_archetype_slow_sliding" }, "trigger": "minecraft:become_slow_sliding" }, { "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" }, { "filters": { "test": "has_equipment_tag", "domain": "main_hand", "value": "minecraft:sulfur_cube_archetype_explosive" }, "trigger": "minecraft:become_explosive" }, { "filters": { "test": "has_equipment_tag", "domain": "main_hand", "value": "minecraft:sulfur_cube_archetype_hot" }, "trigger": "minecraft:become_hot" } ] }, "minecraft:on_block_ejected": { "remove": { "component_groups": [ "minecraft:sulfur_cube_medium_with_block", "minecraft:sulfur_cube_medium_with_block_interactable", "minecraft:sulfur_cube_bouncy", "minecraft:sulfur_cube_regular", "minecraft:sulfur_cube_slow_bouncy", "minecraft:sulfur_cube_slow_flat", "minecraft:sulfur_cube_fast_flat", "minecraft:sulfur_cube_light", "minecraft:sulfur_cube_fast_sliding", "minecraft:sulfur_cube_slow_sliding", "minecraft:sulfur_cube_sticky", "minecraft:sulfur_cube_high_resistance", "minecraft:sulfur_cube_explosive", "minecraft:sulfur_cube_hot" ] }, "add": { "component_groups": [ "minecraft:sulfur_cube_ai", "minecraft:sulfur_cube_medium_without_block", "minecraft:sulfur_cube_medium_without_block_pickup_timeout", "minecraft:sulfur_cube_without_target" ] }, "set_property": { "minecraft:sulfur_cube_archetype": "none" }, "play_sound": { "sound": "eject_block" } }, "minecraft:try_priming": { "filters": { "all_of": [ { "domain": "tntexplodes", "test": "is_game_rule", "value": true }, { "domain": "minecraft:sulfur_cube_archetype", "test": "enum_property", "value": "explosive" }, { "test": "has_component", "operator": "not", "value": "minecraft:explode" } ] }, "remove": { "component_groups": [ "minecraft:sulfur_cube_medium_with_block_interactable" ] }, "add": { "component_groups": [ "minecraft:sulfur_cube_medium_primed" ] }, "play_sound": { "sound": "fuse" } }, "minecraft:try_priming_on_explosion": { "filters": { "all_of": [ { "domain": "tntexplodes", "test": "is_game_rule", "value": true }, { "domain": "minecraft:sulfur_cube_archetype", "test": "enum_property", "value": "explosive" }, { "test": "has_component", "operator": "not", "value": "minecraft:explode" } ] }, "remove": { "component_groups": [ "minecraft:sulfur_cube_medium_with_block_interactable" ] }, "add": { "component_groups": [ "minecraft:sulfur_cube_medium_primed_by_explosion" ] }, "play_sound": { "sound": "fuse" } }, "minecraft:become_bouncy": { "remove": { "component_groups": [ "minecraft:sulfur_cube_regular", "minecraft:sulfur_cube_slow_bouncy", "minecraft:sulfur_cube_slow_flat", "minecraft:sulfur_cube_fast_flat", "minecraft:sulfur_cube_light", "minecraft:sulfur_cube_fast_sliding", "minecraft:sulfur_cube_slow_sliding", "minecraft:sulfur_cube_sticky", "minecraft:sulfur_cube_high_resistance", "minecraft:sulfur_cube_explosive", "minecraft:sulfur_cube_hot" ] }, "add": { "component_groups": [ "minecraft:sulfur_cube_bouncy" ] }, "set_property": { "minecraft:sulfur_cube_archetype": "bouncy" } }, "minecraft:become_regular": { "remove": { "component_groups": [ "minecraft:sulfur_cube_bouncy", "minecraft:sulfur_cube_slow_bouncy", "minecraft:sulfur_cube_slow_flat", "minecraft:sulfur_cube_fast_flat", "minecraft:sulfur_cube_light", "minecraft:sulfur_cube_fast_sliding", "minecraft:sulfur_cube_slow_sliding", "minecraft:sulfur_cube_sticky", "minecraft:sulfur_cube_high_resistance", "minecraft:sulfur_cube_explosive", "minecraft:sulfur_cube_hot" ] }, "add": { "component_groups": [ "minecraft:sulfur_cube_regular" ] }, "set_property": { "minecraft:sulfur_cube_archetype": "regular" } }, "minecraft:become_slow_bouncy": { "remove": { "component_groups": [ "minecraft:sulfur_cube_bouncy", "minecraft:sulfur_cube_regular", "minecraft:sulfur_cube_slow_flat", "minecraft:sulfur_cube_fast_flat", "minecraft:sulfur_cube_light", "minecraft:sulfur_cube_fast_sliding", "minecraft:sulfur_cube_slow_sliding", "minecraft:sulfur_cube_sticky", "minecraft:sulfur_cube_high_resistance", "minecraft:sulfur_cube_explosive", "minecraft:sulfur_cube_hot" ] }, "add": { "component_groups": [ "minecraft:sulfur_cube_slow_bouncy" ] }, "set_property": { "minecraft:sulfur_cube_archetype": "slow_bouncy" } }, "minecraft:become_slow_flat": { "remove": { "component_groups": [ "minecraft:sulfur_cube_bouncy", "minecraft:sulfur_cube_regular", "minecraft:sulfur_cube_slow_bouncy", "minecraft:sulfur_cube_fast_flat", "minecraft:sulfur_cube_light", "minecraft:sulfur_cube_fast_sliding", "minecraft:sulfur_cube_slow_sliding", "minecraft:sulfur_cube_sticky", "minecraft:sulfur_cube_high_resistance", "minecraft:sulfur_cube_explosive", "minecraft:sulfur_cube_hot" ] }, "add": { "component_groups": [ "minecraft:sulfur_cube_slow_flat" ] }, "set_property": { "minecraft:sulfur_cube_archetype": "slow_flat" } }, "minecraft:become_fast_flat": { "remove": { "component_groups": [ "minecraft:sulfur_cube_bouncy", "minecraft:sulfur_cube_regular", "minecraft:sulfur_cube_slow_bouncy", "minecraft:sulfur_cube_slow_flat", "minecraft:sulfur_cube_light", "minecraft:sulfur_cube_fast_sliding", "minecraft:sulfur_cube_slow_sliding", "minecraft:sulfur_cube_sticky", "minecraft:sulfur_cube_high_resistance", "minecraft:sulfur_cube_explosive", "minecraft:sulfur_cube_hot" ] }, "add": { "component_groups": [ "minecraft:sulfur_cube_fast_flat" ] }, "set_property": { "minecraft:sulfur_cube_archetype": "fast_flat" } }, "minecraft:become_light": { "remove": { "component_groups": [ "minecraft:sulfur_cube_bouncy", "minecraft:sulfur_cube_regular", "minecraft:sulfur_cube_slow_bouncy", "minecraft:sulfur_cube_slow_flat", "minecraft:sulfur_cube_fast_flat", "minecraft:sulfur_cube_fast_sliding", "minecraft:sulfur_cube_slow_sliding", "minecraft:sulfur_cube_sticky", "minecraft:sulfur_cube_high_resistance", "minecraft:sulfur_cube_explosive", "minecraft:sulfur_cube_hot" ] }, "add": { "component_groups": [ "minecraft:sulfur_cube_light" ] }, "set_property": { "minecraft:sulfur_cube_archetype": "light" } }, "minecraft:become_fast_sliding": { "remove": { "component_groups": [ "minecraft:sulfur_cube_bouncy", "minecraft:sulfur_cube_regular", "minecraft:sulfur_cube_slow_bouncy", "minecraft:sulfur_cube_slow_flat", "minecraft:sulfur_cube_fast_flat", "minecraft:sulfur_cube_light", "minecraft:sulfur_cube_slow_sliding", "minecraft:sulfur_cube_sticky", "minecraft:sulfur_cube_high_resistance", "minecraft:sulfur_cube_explosive", "minecraft:sulfur_cube_hot" ] }, "add": { "component_groups": [ "minecraft:sulfur_cube_fast_sliding" ] }, "set_property": { "minecraft:sulfur_cube_archetype": "fast_sliding" } }, "minecraft:become_slow_sliding": { "remove": { "component_groups": [ "minecraft:sulfur_cube_bouncy", "minecraft:sulfur_cube_regular", "minecraft:sulfur_cube_slow_bouncy", "minecraft:sulfur_cube_slow_flat", "minecraft:sulfur_cube_fast_flat", "minecraft:sulfur_cube_light", "minecraft:sulfur_cube_fast_sliding", "minecraft:sulfur_cube_sticky", "minecraft:sulfur_cube_high_resistance", "minecraft:sulfur_cube_explosive", "minecraft:sulfur_cube_hot" ] }, "add": { "component_groups": [ "minecraft:sulfur_cube_slow_sliding" ] }, "set_property": { "minecraft:sulfur_cube_archetype": "slow_sliding" } }, "minecraft:become_sticky": { "remove": { "component_groups": [ "minecraft:sulfur_cube_bouncy", "minecraft:sulfur_cube_regular", "minecraft:sulfur_cube_slow_bouncy", "minecraft:sulfur_cube_slow_flat", "minecraft:sulfur_cube_fast_flat", "minecraft:sulfur_cube_light", "minecraft:sulfur_cube_fast_sliding", "minecraft:sulfur_cube_slow_sliding", "minecraft:sulfur_cube_high_resistance", "minecraft:sulfur_cube_explosive", "minecraft:sulfur_cube_hot" ] }, "add": { "component_groups": [ "minecraft:sulfur_cube_sticky" ] }, "set_property": { "minecraft:sulfur_cube_archetype": "sticky" } }, "minecraft:become_high_resistance": { "remove": { "component_groups": [ "minecraft:sulfur_cube_bouncy", "minecraft:sulfur_cube_regular", "minecraft:sulfur_cube_slow_bouncy", "minecraft:sulfur_cube_slow_flat", "minecraft:sulfur_cube_fast_flat", "minecraft:sulfur_cube_light", "minecraft:sulfur_cube_fast_sliding", "minecraft:sulfur_cube_slow_sliding", "minecraft:sulfur_cube_sticky", "minecraft:sulfur_cube_explosive", "minecraft:sulfur_cube_hot" ] }, "add": { "component_groups": [ "minecraft:sulfur_cube_high_resistance" ] }, "set_property": { "minecraft:sulfur_cube_archetype": "high_resistance" } }, "minecraft:become_explosive": { "remove": { "component_groups": [ "minecraft:sulfur_cube_bouncy", "minecraft:sulfur_cube_regular", "minecraft:sulfur_cube_slow_bouncy", "minecraft:sulfur_cube_slow_flat", "minecraft:sulfur_cube_fast_flat", "minecraft:sulfur_cube_light", "minecraft:sulfur_cube_fast_sliding", "minecraft:sulfur_cube_slow_sliding", "minecraft:sulfur_cube_sticky", "minecraft:sulfur_cube_high_resistance", "minecraft:sulfur_cube_hot" ] }, "add": { "component_groups": [ "minecraft:sulfur_cube_explosive" ] }, "set_property": { "minecraft:sulfur_cube_archetype": "explosive" } }, "minecraft:become_hot": { "remove": { "component_groups": [ "minecraft:sulfur_cube_bouncy", "minecraft:sulfur_cube_regular", "minecraft:sulfur_cube_slow_bouncy", "minecraft:sulfur_cube_slow_flat", "minecraft:sulfur_cube_fast_flat", "minecraft:sulfur_cube_light", "minecraft:sulfur_cube_fast_sliding", "minecraft:sulfur_cube_slow_sliding", "minecraft:sulfur_cube_sticky", "minecraft:sulfur_cube_high_resistance", "minecraft:sulfur_cube_explosive" ] }, "add": { "component_groups": [ "minecraft:sulfur_cube_hot" ] }, "set_property": { "minecraft:sulfur_cube_archetype": "hot" } } } } }