Files
minecraft-bedrock-json-schemas/source/behavior/entities/1.16.0/components/minecraft.explode.json

40 lines
2.0 KiB
JSON
Raw Normal View History

2020-11-01 17:22:42 +01:00
{
"$schema": "http://json-schema.org/draft-07/schema",
2021-04-04 13:52:35 +02:00
"$id": "blockception.minecraft.behavior.entities.1.16.0.minecraft.explode",
2020-11-01 17:22:42 +01:00
"type": "object",
"title": "Explode 1.16.0",
"additionalProperties": false,
"description": "Defines how the entity explodes.",
"required": [],
"properties": {
2021-03-21 15:18:38 +01:00
"breaks_blocks": { "type": "boolean", "default": true, "description": "If true, the explosion will destroy blocks in the explosion radius.", "title": "Breaks Blocks" },
"causes_fire": { "type": "boolean", "default": false, "description": "If true, blocks in the explosion radius will be set on fire.", "title": "Causes Fire" },
2020-11-01 17:22:42 +01:00
"destroy_affected_by_griefing": {
"type": "boolean",
"default": false,
"description": "If true, whether the explosion breaks blocks is affected by the mob griefing game rule.",
2021-03-21 15:18:38 +01:00
"title": "Destroy Affected By Griefing"
2020-11-01 17:22:42 +01:00
},
"fire_affected_by_griefing": {
"type": "boolean",
"default": false,
"description": "If true, whether the explosion causes fire is affected by the mob griefing game rule.",
2021-03-21 15:18:38 +01:00
"title": "Fire Affected By Griefing"
2020-11-01 17:22:42 +01:00
},
"fuse_length": {
"default": [0.0, 0.0],
"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.",
2021-03-21 15:18:38 +01:00
"title": "Fuse Length",
"oneOf": [{ "type": "array", "items": [{ "type": "number" }, { "type": "number" }] }, { "type": "number" }]
2020-11-01 17:22:42 +01:00
},
2021-03-21 15:18:38 +01:00
"fuse_lit": { "type": "boolean", "default": false, "description": "If true, the fuse is already lit when this component is added to the entity.", "title": "Fuse Lit" },
2020-11-01 17:22:42 +01:00
"max_resistance": {
"type": "number",
"default": 3.40282e38,
"description": "A blocks explosion resistance will be capped at this value when an explosion occurs.",
2021-03-21 15:18:38 +01:00
"title": "Max Resistance"
2020-11-01 17:22:42 +01:00
},
2021-03-21 15:18:38 +01:00
"power": { "type": "number", "default": 3, "description": "The radius of the explosion in blocks and the amount of damage the explosion deals.", "title": "Power" }
2020-11-01 17:22:42 +01:00
}
}