mirror of
https://github.com/Mojang/bedrock-samples.git
synced 2025-01-31 06:01:26 +00:00
61 lines
1.2 KiB
JSON
61 lines
1.2 KiB
JSON
{
|
|
"format_version": "1.12.0",
|
|
"minecraft:entity": {
|
|
"description": {
|
|
"identifier": "minecraft:ender_crystal",
|
|
"is_spawnable": false,
|
|
"is_summonable": true,
|
|
"is_experimental": false
|
|
},
|
|
|
|
"component_groups": {
|
|
"crystal_exploding": {
|
|
"minecraft:explode": {
|
|
"fuse_length": 0,
|
|
"fuse_lit": true,
|
|
"power": 6,
|
|
"causes_fire": false,
|
|
"destroy_affected_by_griefing": true
|
|
}
|
|
}
|
|
},
|
|
|
|
"components": {
|
|
"minecraft:collision_box": {
|
|
"width": 2,
|
|
"height": 2
|
|
},
|
|
"minecraft:health": {
|
|
"value": 1,
|
|
"max": 1
|
|
},
|
|
"minecraft:fire_immune": true,
|
|
"minecraft:on_hurt": {
|
|
"event": "minecraft:crystal_explode",
|
|
"target": "self"
|
|
},
|
|
"minecraft:physics": {
|
|
},
|
|
"minecraft:pushable": {
|
|
"is_pushable": true,
|
|
"is_pushable_by_piston": true
|
|
},
|
|
"minecraft:conditional_bandwidth_optimization": {
|
|
}
|
|
},
|
|
|
|
"events": {
|
|
"minecraft:crystal_explode": {
|
|
"remove": {
|
|
},
|
|
"add": {
|
|
"component_groups": [
|
|
"crystal_exploding"
|
|
]
|
|
}
|
|
}
|
|
}
|
|
|
|
}
|
|
}
|