What is the criteria for being on Fire?
What is the criteria for a mob or a player to be on fire for a scoreboard? I tried stat.OnFire, stat.beOnFire, stat.burning., stat.burn and stat.isBurning.
Best Answer
There is no automated scoreboard statistic for being on fire. You will need to manually detect it instead.
For example, when not on fire, players will have a Fire value of -20, which would otherwise be the number of ticks until they are no longer on fire. You will need to set their score as if they are on fire first, and then change their score if they actually aren't.
For mobs, their Fire value is instead -1 when not on fire.
Prerequisites:
Dummy objective to manually track fire status.
/scoreboard objectives add OnFire dummy
Detection:
The following must be run in numerical order on a clock.
Set their score to 1, indicating they are on fire.
/scoreboard players set @a OnFire 1 /scoreboard players set @e[type=Zombie] OnFire 1Set their score to 0 if they are not actually on fire.
/scoreboard players set @a OnFire 0 {Fire:-20s} /scoreboard players set @e[type=Zombie] OnFire 0 {Fire:-1s}You'd then target players based on their "OnFire" score.
/say @e[score_OnFire_min=1] is on fire.
Pictures about "What is the criteria for being on Fire?"



What is the main rule in case of fire?
Get down, get low, get out \u2013 smoke is poisonous, get underneath it on your hands and knees, and crawl to the nearest safe exit.How do you get on fire as mercy?
Pull out your pistol and get reses within a short time frame while simultaneously getting def and off assists. It takes work to catch on fire as mercy.What are priorities of fire?
a. Priority of Fires. Priority of fires are normally assigned to a forward security force, which may be the scout platoon, or to another maneuver force given a security or a counterreconnaissance mission. It can be subsequently assigned to weight a critical sector or battle position.What qualifications do you need to be a firefighter UK?
You don't need any particular qualifications to become a firefighter, however you'll be expected to pass English and Maths tests at a GCSE Grade C level (or equivalent).Is fire a solid, a liquid, or a gas? - Elizabeth Cox
Sources: Stack Exchange - This article follows the attribution requirements of Stack Exchange and is licensed under CC BY-SA 3.0.
Images: Ron Lach, Ron Lach, Jonathan Cooper, ROMAN ODINTSOV
