UNPKG

@minecraft/creator-tools

Version:

Minecraft Creator Tools command line and libraries.

523 lines 16.9 kB
{ "fields": [ { "id": "allow_underwater", "title": "Allow Underwater", "description": "If true, the explosion will affect blocks and entities under water.", "defaultValue": false, "dataType": 1, "samples": { "/vanilla/behavior_pack/entities/breeze_wind_charge_projectile.json": [ { "path": "/minecraft:entity/components/minecraft:explode/", "content": true } ], "/vanilla/behavior_pack/entities/wind_charge_projectile.json": [ { "path": "/minecraft:entity/components/minecraft:explode/", "content": true } ] } }, { "id": "breaks_blocks", "title": "Breaks Blocks", "description": "If true, the explosion will destroy blocks in the explosion radius.", "defaultValue": true, "dataType": 1 }, { "id": "causes_fire", "title": "Causes Fire", "description": "If true, blocks in the explosion radius will be set on fire.", "defaultValue": false, "dataType": 1, "samples": { "/vanilla/behavior_pack/entities/fireball.json": [ { "path": "/minecraft:entity/component_groups/minecraft:exploding/minecraft:explode/", "content": true } ] } }, { "id": "damage_scaling", "title": "Damage Scaling", "description": "A scale factor applied to the explosion's damage to entities. A value of 0 prevents the explosion from dealing any damage. Negative values cause the explosion to heal entities instead.", "defaultValue": 1, "dataType": 3 }, { "id": "destroy_affected_by_griefing", "title": "Destroy Affected By Griefing", "description": "If true, whether the explosion breaks blocks is affected by the mob griefing game rule.", "defaultValue": false, "dataType": 1, "samples": { "/vanilla/behavior_pack/entities/creeper.json": [ { "path": "/minecraft:entity/component_groups/minecraft:exploding/minecraft:explode/", "content": true }, { "path": "/minecraft:entity/component_groups/minecraft:charged_exploding/minecraft:explode/", "content": true } ] } }, { "id": "fire_affected_by_griefing", "title": "Fire Affected By Griefing", "description": "If true, whether the explosion causes fire is affected by the mob griefing game rule.", "defaultValue": false, "dataType": 1, "samples": { "/vanilla/behavior_pack/entities/fireball.json": [ { "path": "/minecraft:entity/component_groups/minecraft:exploding/minecraft:explode/", "content": true } ] } }, { "id": "fuse_length", "title": "Fuse Length", "description": "The range for the random amount of time the fuse will be lit before exploding, a negative value means the explosion will be immediate.", "dataType": 18, "samples": { "/vanilla/behavior_pack/entities/creeper.json": [ { "path": "/minecraft:entity/component_groups/minecraft:exploding/minecraft:explode/", "content": 1.5 }, { "path": "/minecraft:entity/component_groups/minecraft:charged_exploding/minecraft:explode/", "content": 1.5 } ], "/vanilla/behavior_pack/entities/tnt_minecart.json": [ { "path": "/minecraft:entity/component_groups/minecraft:primed_tnt/minecraft:explode/", "content": 4 } ] } }, { "id": "fuse_lit", "title": "Fuse Lit", "description": "If true, the fuse is already lit when this component is added to the entity.", "defaultValue": false, "dataType": 1, "samples": { "/vanilla/behavior_pack/entities/creeper.json": [ { "path": "/minecraft:entity/component_groups/minecraft:exploding/minecraft:explode/", "content": true }, { "path": "/minecraft:entity/component_groups/minecraft:charged_exploding/minecraft:explode/", "content": true } ] } }, { "id": "knockback_scaling", "title": "Knockback Scaling", "description": "A scale factor applied to the knockback force caused by the explosion.", "defaultValue": 1, "dataType": 3, "samples": { "/vanilla/behavior_pack/entities/breeze_wind_charge_projectile.json": [ { "path": "/minecraft:entity/components/minecraft:explode/", "content": 0.6 } ], "/vanilla/behavior_pack/entities/wind_charge_projectile.json": [ { "path": "/minecraft:entity/components/minecraft:explode/", "content": 1.22 } ] } }, { "id": "max_resistance", "title": "Max Resistance", "description": "A blocks explosion resistance will be capped at this value when an explosion occurs.", "defaultValue": 3.40282e+38, "dataType": 3, "samples": { "/vanilla/behavior_pack/entities/wither_skull_dangerous.json": [ { "path": "/minecraft:entity/component_groups/minecraft:exploding/minecraft:explode/", "content": 4 } ] } }, { "id": "negates_fall_damage", "title": "Negates Fall Damage", "description": "Defines whether the explosion should apply fall damage negation to Players above the point of collision.", "defaultValue": false, "dataType": 1, "samples": { "/vanilla/behavior_pack/entities/wind_charge_projectile.json": [ { "path": "/minecraft:entity/components/minecraft:explode/", "content": true } ] } }, { "id": "particle_effect", "title": "Particle Effect", "description": "The name of the particle effect to use. The accepted strings are 'explosion', 'wind_burst', or 'breeze_wind_burst'.", "defaultValue": "explosion", "dataType": 2, "samples": { "/vanilla/behavior_pack/entities/breeze_wind_charge_projectile.json": [ { "path": "/minecraft:entity/components/minecraft:explode/", "content": "breeze_wind_burst" } ], "/vanilla/behavior_pack/entities/wind_charge_projectile.json": [ { "path": "/minecraft:entity/components/minecraft:explode/", "content": "wind_burst" } ] } }, { "id": "power", "title": "Power", "description": "The radius of the explosion in blocks and the amount of damage the explosion deals.", "defaultValue": 3, "dataType": 3, "samples": { "/vanilla/behavior_pack/entities/breeze_wind_charge_projectile.json": [ { "path": "/minecraft:entity/components/minecraft:explode/", "content": 3 } ], "/vanilla/behavior_pack/entities/creeper.json": [ { "path": "/minecraft:entity/component_groups/minecraft:exploding/minecraft:explode/", "content": 3 }, { "path": "/minecraft:entity/component_groups/minecraft:charged_exploding/minecraft:explode/", "content": 6 }, { "path": "/minecraft:entity/component_groups/minecraft:forced_charged_exploding/minecraft:explode/", "content": 6 } ], "/vanilla/behavior_pack/entities/fireball.json": [ { "path": "/minecraft:entity/component_groups/minecraft:exploding/minecraft:explode/", "content": 1 } ], "/vanilla/behavior_pack/entities/wind_charge_projectile.json": [ { "path": "/minecraft:entity/components/minecraft:explode/", "content": 1.2 } ], "/vanilla/behavior_pack/entities/wither_skull_dangerous.json": [ { "path": "/minecraft:entity/component_groups/minecraft:exploding/minecraft:explode/", "content": 1 } ] } }, { "id": "sound_effect", "title": "Sound Effect", "description": "The name of the sound effect played when the explosion triggers.", "defaultValue": "explode", "dataType": 2, "samples": { "/vanilla/behavior_pack/entities/breeze_wind_charge_projectile.json": [ { "path": "/minecraft:entity/components/minecraft:explode/", "content": "breeze_wind_charge.burst" } ], "/vanilla/behavior_pack/entities/wind_charge_projectile.json": [ { "path": "/minecraft:entity/components/minecraft:explode/", "content": "wind_charge.burst" } ] } }, { "id": "toggles_blocks", "title": "Toggles Blocks", "description": "If true, the explosion will toggle blocks in the explosion radius.", "defaultValue": false, "dataType": 1, "samples": { "/vanilla/behavior_pack/entities/breeze_wind_charge_projectile.json": [ { "path": "/minecraft:entity/components/minecraft:explode/", "content": true } ], "/vanilla/behavior_pack/entities/wind_charge_projectile.json": [ { "path": "/minecraft:entity/components/minecraft:explode/", "content": true } ] } }, { "id": "add", "title": "Add", "dataType": 16, "subForm": { "id": "add", "title": "Add", "fields": [ { "id": "component_groups", "title": "Component_groups", "dataType": 2, "samples": { "/vanilla/behavior_pack/entities/fireball.json": [ { "path": "component_groups", "content": [ "minecraft:exploding" ] } ] } } ] }, "samples": { "/vanilla/behavior_pack/entities/fireball.json": [ { "path": "/minecraft:entity/events/minecraft:explode/", "content": { "component_groups": [ "minecraft:exploding" ] } } ], "/vanilla/behavior_pack/entities/wither_skull_dangerous.json": [ { "path": "/minecraft:entity/events/minecraft:explode/", "content": { "component_groups": [ "minecraft:exploding" ] } } ] } } ], "description": "Defines how the entity explodes.", "title": "Explode", "samples": { "/vanilla/behavior_pack/entities/breeze_wind_charge_projectile.json": [ { "path": "/minecraft:entity/components/minecraft:explode/", "content": { "power": 3, "particle_effect": "breeze_wind_burst", "sound_effect": "breeze_wind_charge.burst", "knockback_scaling": 0.6, "negates_fall_damage": false, "causes_fire": false, "breaks_blocks": false, "allow_underwater": true, "toggles_blocks": true, "damage_scaling": 0, "max_resistance": 0 } } ], "/vanilla/behavior_pack/entities/creeper.json": [ { "path": "/minecraft:entity/component_groups/minecraft:exploding/minecraft:explode/", "content": { "fuse_length": 1.5, "fuse_lit": true, "power": 3, "causes_fire": false, "destroy_affected_by_griefing": true } }, { "path": "/minecraft:entity/component_groups/minecraft:charged_exploding/minecraft:explode/", "content": { "fuse_length": 1.5, "fuse_lit": true, "power": 6, "causes_fire": false, "destroy_affected_by_griefing": true } }, { "path": "/minecraft:entity/component_groups/minecraft:forced_exploding/minecraft:explode/", "content": { "fuse_length": 1.5, "fuse_lit": true, "power": 3, "causes_fire": false, "destroy_affected_by_griefing": true } }, { "path": "/minecraft:entity/component_groups/minecraft:forced_charged_exploding/minecraft:explode/", "content": { "fuse_length": 1.5, "fuse_lit": true, "power": 6, "causes_fire": false, "destroy_affected_by_griefing": true } } ], "/vanilla/behavior_pack/entities/ender_crystal.json": [ { "path": "/minecraft:entity/component_groups/crystal_exploding/minecraft:explode/", "content": { "fuse_length": 0, "fuse_lit": true, "power": 6, "causes_fire": false, "destroy_affected_by_griefing": true } } ], "/vanilla/behavior_pack/entities/fireball.json": [ { "path": "/minecraft:entity/component_groups/minecraft:exploding/minecraft:explode/", "content": { "fuse_length": 0, "fuse_lit": true, "power": 1, "causes_fire": true, "fire_affected_by_griefing": true, "destroy_affected_by_griefing": true } }, { "path": "/minecraft:entity/events/minecraft:explode/", "content": { "add": { "component_groups": [ "minecraft:exploding" ] } } } ], "/vanilla/behavior_pack/entities/tnt_minecart.json": [ { "path": "/minecraft:entity/component_groups/minecraft:primed_tnt/minecraft:explode/", "content": { "fuse_length": 4, "fuse_lit": true, "power": 3, "causes_fire": false } }, { "path": "/minecraft:entity/component_groups/minecraft:instant_explode_tnt/minecraft:explode/", "content": { "fuse_length": 0, "fuse_lit": true, "power": 3, "causes_fire": false } } ], "/vanilla/behavior_pack/entities/wind_charge_projectile.json": [ { "path": "/minecraft:entity/components/minecraft:explode/", "content": { "power": 1.2, "particle_effect": "wind_burst", "sound_effect": "wind_charge.burst", "knockback_scaling": 1.22, "negates_fall_damage": true, "causes_fire": false, "breaks_blocks": false, "allow_underwater": true, "toggles_blocks": true, "damage_scaling": 0, "max_resistance": 0 } } ], "/vanilla/behavior_pack/entities/wither_skull_dangerous.json": [ { "path": "/minecraft:entity/component_groups/minecraft:exploding/minecraft:explode/", "content": { "fuse_length": 0, "fuse_lit": true, "power": 1, "causes_fire": false, "max_resistance": 4, "destroy_affected_by_griefing": true } }, { "path": "/minecraft:entity/events/minecraft:explode/", "content": { "add": { "component_groups": [ "minecraft:exploding" ] } } } ], "/vanilla/behavior_pack/entities/wither_skull.json": [ { "path": "/minecraft:entity/component_groups/minecraft:exploding/minecraft:explode/", "content": { "fuse_length": 0, "fuse_lit": true, "power": 1, "causes_fire": false, "destroy_affected_by_griefing": true } }, { "path": "/minecraft:entity/events/minecraft:explode/", "content": { "add": { "component_groups": [ "minecraft:exploding" ] } } } ] }, "id": "minecraft:explode" }