minecraft:behavior.dragonflaming for you with a switch.Get GodCraftOverview
minecraft:behavior.dragonflaming is an entity component: it goes in the components object of a custom mob, or in one of its component groups. Ender Dragon only: makes the perched dragon roar and then breathe fire.
Fields
| Field | Type | Default | Description |
|---|---|---|---|
ground_flame_count | integer | 4 | How many flame breaths the dragon does before taking off again. |
cooldown_time | number | 10 | Seconds between each roar and flame cycle. |
flame_time | number | 0.5 | Seconds the dragon breathes fire after roaring. |
roar_time | number | 2 | Seconds the dragon roars before breathing fire. |
smoke_radius | number | 5 | Size of the dragon breath smoke cloud. |
smoke_time | number | 10 | How long the dragon breath smoke stays. |
smoke_color | string | "#DC00EF" | Color of the dragon breath smoke. |
priority | integer | 0 | Lower numbers run first: when two goals compete, the one with the smaller priority wins.Range: 0 to … |
control_flags | Goal's control flags[] | none | Which body parts this goal takes over (move, look, jump), so goals using the same parts cannot run together. |
Example
Inside the components object of BP/entities/<name>.json (values are the defaults or placeholders):
BP/entities/<name>.json
{
"minecraft:behavior.dragonflaming": {
"ground_flame_count": 4,
"cooldown_time": 10,
"flame_time": 0.5,
"roar_time": 2,
"smoke_radius": 5,
"smoke_time": 10,
"smoke_color": "#DC00EF",
"priority": 0
}
}