setEntityOnFire
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.
Sets the on-fire visual state of an entity for the player via a metadata packet.
The target player.
The entity to update.
Whether the entity should appear to be on fire.