RebarFire

interface RebarFire(source)

Functions

Link copied to clipboard
open fun onDamageEntity(event: EntityDamageEvent, priority: EventPriority)
Link copied to clipboard
open fun onFireEatBlock(block: Block): Boolean

Spawns copies of this fire block itself if returns true, otherwise set the block to air.

Link copied to clipboard
open fun onFireSpawn(fire: Block)

Called when a fire is spawned

Link copied to clipboard
open fun onFireSpread(event: BlockSpreadEvent, priority: EventPriority)

Spawns copies of this fire block itself after calling, if the event is not cancelled

Link copied to clipboard
open fun onIgniteBlock(event: BlockIgniteEvent, priority: EventPriority)

Called when this fire block ignites block Spawns copies of this fire block itself after calling, if the event is not cancelled