mirror of
https://github.com/Mojang/bedrock-samples.git
synced 2025-02-07 10:09:44 +00:00
160 lines
3.5 KiB
JSON
160 lines
3.5 KiB
JSON
{
|
|
"format_version": "1.21.40",
|
|
"minecraft:entity": {
|
|
"description": {
|
|
"identifier": "minecraft:ender_dragon",
|
|
"spawn_category": "monster",
|
|
"is_spawnable": true,
|
|
"is_summonable": true
|
|
},
|
|
|
|
"component_groups": {
|
|
"dragon_sitting": {
|
|
"minecraft:behavior.dragonlanding": {
|
|
"priority": 0
|
|
},
|
|
"minecraft:behavior.dragonflaming": {
|
|
"priority": 1
|
|
},
|
|
"minecraft:behavior.dragonscanning": {
|
|
"priority": 2
|
|
}
|
|
},
|
|
"dragon_flying": {
|
|
"minecraft:behavior.dragontakeoff": {
|
|
"priority": 0
|
|
},
|
|
"minecraft:behavior.dragonchargeplayer": {
|
|
"priority": 1
|
|
},
|
|
"minecraft:behavior.dragonstrafeplayer": {
|
|
"priority": 2
|
|
},
|
|
"minecraft:behavior.dragonholdingpattern": {
|
|
"priority": 3
|
|
},
|
|
"minecraft:shooter": {
|
|
"def": "minecraft:dragon_fireball"
|
|
}
|
|
},
|
|
"dragon_death": {
|
|
"minecraft:behavior.dragondeath": {
|
|
"priority": 0
|
|
}
|
|
}
|
|
},
|
|
|
|
"components": {
|
|
"minecraft:is_hidden_when_invisible": {
|
|
},
|
|
"minecraft:dimension_bound": {
|
|
},
|
|
"minecraft:type_family": {
|
|
"family": [ "dragon", "mob" ]
|
|
},
|
|
"minecraft:health": {
|
|
"value": 200,
|
|
"max": 200
|
|
},
|
|
"minecraft:boss": {
|
|
"should_darken_sky": false,
|
|
"hud_range": 125
|
|
},
|
|
"minecraft:collision_box": {
|
|
"width": 13,
|
|
"height": 4
|
|
},
|
|
"minecraft:movement": {
|
|
"value": 0.3
|
|
},
|
|
"minecraft:fire_immune": true,
|
|
"minecraft:knockback_resistance": {
|
|
"value": 100,
|
|
"max": 100
|
|
},
|
|
"minecraft:flying_speed": {
|
|
"value": 0.6
|
|
},
|
|
"minecraft:attack": {
|
|
"damage": 3
|
|
},
|
|
"minecraft:damage_sensor": {
|
|
"triggers": {
|
|
"cause": "fall",
|
|
"deals_damage": "no"
|
|
}
|
|
},
|
|
"minecraft:on_start_landing": {
|
|
"event": "minecraft:start_land",
|
|
"target": "self"
|
|
},
|
|
"minecraft:on_start_takeoff": {
|
|
"event": "minecraft:start_fly",
|
|
"target": "self"
|
|
},
|
|
"minecraft:on_death": {
|
|
"event": "minecraft:start_death",
|
|
"target": "self"
|
|
},
|
|
"minecraft:persistent": {
|
|
},
|
|
"minecraft:physics": {
|
|
"has_gravity": false,
|
|
"has_collision": false
|
|
},
|
|
"minecraft:game_event_movement_tracking": {
|
|
"emit_flap": true
|
|
}
|
|
},
|
|
|
|
"events": {
|
|
"minecraft:entity_spawned": {
|
|
"remove": {
|
|
},
|
|
"add": {
|
|
"component_groups": [
|
|
"dragon_flying"
|
|
]
|
|
}
|
|
},
|
|
"minecraft:start_land": {
|
|
"remove": {
|
|
"component_groups": [
|
|
"dragon_flying"
|
|
]
|
|
},
|
|
"add": {
|
|
"component_groups": [
|
|
"dragon_sitting"
|
|
]
|
|
}
|
|
},
|
|
"minecraft:start_fly": {
|
|
"remove": {
|
|
"component_groups": [
|
|
"dragon_sitting"
|
|
]
|
|
},
|
|
"add": {
|
|
"component_groups": [
|
|
"dragon_flying"
|
|
]
|
|
}
|
|
},
|
|
"minecraft:start_death": {
|
|
"remove": {
|
|
"component_groups": [
|
|
"dragon_sitting",
|
|
"dragon_flying"
|
|
]
|
|
},
|
|
"add": {
|
|
"component_groups": [
|
|
"dragon_death"
|
|
]
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|