Fire Resistance

Fire Resistance nullifies most fire-based damage. Fire Resistance is a status effect that does not change its power as its potency changes.

Effects
Grants immunity to damage from fire, blaze fireballs, fire charges, magma blocks, and lava, but not ghast fireballs and blaze touch attacks. Negates the fire damage from bows enchanted with Flame and swords enchanted with Fire Aspect, but does not affect the attacks themselves. The fog effect under lava is also mitigated somewhat. $$, the view with the effect is stronger than $$. Fire Resistance also prevents the fire itself from covering the player's screen. ‌[BE only]

Immune mobs
Withers and ender dragons are immune to this status effect.

Many Nether mobs (blazes, ghasts, magma cubes, wither skeletons, zombified piglins) are naturally resistant to fire and lava, and are unaffected by the Fire Resistance status effect. Wardens are also resistant to fire and lava, despite not spawning in the Nether.

ID