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

59 lines
2.1 KiB
JSON
Raw Normal View History

2021-06-06 10:07:19 +00:00
{
2021-10-08 12:54:09 +02:00
"$id": "blockception.minecraft.behavior.entities.1.16.0.minecraft.explode",
2021-06-06 10:07:19 +00:00
"type": "object",
2021-10-08 12:54:09 +02:00
"title": "Explode 1.16.0",
2021-06-06 10:07:19 +00:00
"additionalProperties": false,
"description": "Defines how the entity explodes.",
2021-10-08 12:51:40 +02:00
2021-06-06 10:07:19 +00:00
"properties": {
2021-10-08 12:51:40 +02:00
"breaks_blocks": {
2021-06-06 10:07:19 +00:00
"type": "boolean",
2021-10-08 12:51:40 +02:00
"default": true,
"description": "If true, the explosion will destroy blocks in the explosion radius.",
"title": "Breaks Blocks"
2021-06-06 10:07:19 +00:00
},
2021-10-08 12:51:40 +02:00
"causes_fire": {
2021-06-06 10:07:19 +00:00
"type": "boolean",
"default": false,
2021-10-08 12:51:40 +02:00
"description": "If true, blocks in the explosion radius will be set on fire.",
2021-06-06 10:07:19 +00:00
"title": "Causes Fire"
},
2021-10-08 12:51:40 +02:00
"destroy_affected_by_griefing": {
2021-06-06 10:07:19 +00:00
"type": "boolean",
2021-10-08 12:51:40 +02:00
"default": false,
"description": "If true, whether the explosion breaks blocks is affected by the mob griefing game rule.",
"title": "Destroy Affected By Griefing"
2021-06-06 10:07:19 +00:00
},
2021-10-08 12:51:40 +02:00
"fire_affected_by_griefing": {
2021-06-06 10:07:19 +00:00
"type": "boolean",
"default": false,
2021-10-08 12:51:40 +02:00
"description": "If true, whether the explosion causes fire is affected by the mob griefing game rule.",
2021-06-06 10:07:19 +00:00
"title": "Fire Affected By Griefing"
},
2021-10-08 12:51:40 +02: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.",
"title": "Fuse Length",
2021-10-08 12:54:09 +02:00
"oneOf": [{ "type": "array", "items": [{ "type": "number" }, { "type": "number" }] }, { "type": "number" }]
2021-10-08 12:51:40 +02:00
},
"fuse_lit": {
2021-06-06 10:07:19 +00:00
"type": "boolean",
"default": false,
2021-10-08 12:51:40 +02:00
"description": "If true, the fuse is already lit when this component is added to the entity.",
"title": "Fuse Lit"
},
"max_resistance": {
"type": "number",
"default": 3.40282e38,
"description": "A blocks explosion resistance will be capped at this value when an explosion occurs.",
"title": "Maximum Resistance"
},
"power": {
"type": "number",
"default": 3,
"description": "The radius of the explosion in blocks and the amount of damage the explosion deals.",
"title": "Power"
2021-06-06 10:07:19 +00:00
}
}
}