1. Wiki
  2. /Entities
  3. /minecraft:behavior.dragonflaming

minecraft:behavior.dragonflaming

Don't want to write this by hand? GodCraft sets minecraft:behavior.dragonflaming for you with a switch.Get GodCraft

Overview

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

FieldTypeDefaultDescription
ground_flame_countinteger4How many flame breaths the dragon does before taking off again.
cooldown_timenumber10Seconds between each roar and flame cycle.
flame_timenumber0.5Seconds the dragon breathes fire after roaring.
roar_timenumber2Seconds the dragon roars before breathing fire.
smoke_radiusnumber5Size of the dragon breath smoke cloud.
smoke_timenumber10How long the dragon breath smoke stays.
smoke_colorstring"#DC00EF"Color of the dragon breath smoke.
priorityinteger0Lower numbers run first: when two goals compete, the one with the smaller priority wins.Range: 0 to …
control_flagsGoal's control flags[]noneWhich 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
  }
}

We use cookies to improve your experience and analyse site traffic. Learn more