onFire

fun onFire(entityId: Int, onFire: Boolean = true)

Sets the on-fire visual state of an entity for the player.

Parameters

entityId

The entity to update.

onFire

Whether the entity should appear to be on fire.