setEntityOnFire

open override fun setEntityOnFire(player: Player, entityId: Int, onFire: Boolean)

Sets the on-fire visual state of an entity for the player via a metadata packet.

Parameters

player

The target player.

entityId

The entity to update.

onFire

Whether the entity should appear to be on fire.