How to use

Release the scroll to spend BLACK_FLAME_MANA_COST and apply Mystic Eyes of the Black Flame for BLACK_FLAME_TIME ticks. Recasting while active adds the configured duration to the remaining time.

Function

Igniting a creature

Every BLACK_FLAME_IGNITION_TICKS, the spell first checks for a living entity directly under the unobstructed crosshair within BLACK_FLAME_RANGE_FROM_USER. If one is found, it receives Black Burning for BLACK_FLAME_DEBUFF_TIME ticks; continuing to look at it refreshes that duration.

Black Burning deals BLACK_FLAME_DAMAGE Wither damage once per second and appears as black fire around the creature.

Creating black flames

Moving the crosshair over a nearby surface creates a trail of Black Flame up to BLACK_FLAME_RANGE_FROM_USER blocks away.

Living entities touching a flame receive Black Burning for BLACK_FLAME_DEBUFF_TIME ticks. Rain removes placed flames, and flames need a solid supporting face or a neighboring flammable block.

Flame lifetime

BLACK_FLAME_UPDATE_TICKS controls how often placed flames can age, and BLACK_FLAME_DEATH_AGE controls when a flame can disappear.

Configuration

SettingDefaultRangeEffect
BLACK_FLAME_MANA_COSTmahoutsukai-server.tomleyesblack flame3000–100000000 mana per castMana cost of releasing a Mystic Eyes of the Black Flame scroll.
BLACK_FLAME_TIMEmahoutsukai-server.tomleyesblack flame1000–100000000 ticks per castDuration added to the caster's Mystic Eyes of the Black Flame effect; 100 ticks is 5 seconds.
BLACK_FLAME_DAMAGEmahoutsukai-server.tomleyesblack flame1-10000000–10000000 health per secondWither damage attempted once per second against a living entity with Black Burning.
BLACK_FLAME_RANGE_FROM_USERmahoutsukai-server.tomleyesblack flame300–100000000 blocksMaximum targeting distance for directly viewed living entities and for the rays that place Black Flame.
BLACK_FLAME_IGNITION_TICKSmahoutsukai-server.tomleyesblack flame11–100000000 ticksInterval between the caster's attempts to ignite a viewed entity or place Black Flame.
BLACK_FLAME_UPDATE_TICKSmahoutsukai-server.tomleyesblack flame11–100000000 ticksInterval used to decide whether a scheduled Black Flame update processes aging.
BLACK_FLAME_DEATH_AGEmahoutsukai-server.tomleyesblack flame60–100000000 internal ageAge threshold for removing Black Flames unsupported by Netherrack.
BLACK_FLAME_DEBUFF_TIMEmahoutsukai-server.tomleyesblack flame1800–100000000 ticksBlack Burning duration applied to a directly viewed entity or a living entity touching placed Black Flame; 180 ticks is 9 seconds.
GLOBAL_LOOK_RANGEmahoutsukai-server.tomlgeneral1000–100000000 blocksMaximum unobstructed selection range shared by several spells and items.