Fire Resistance

Fire Resistance is a status effect that grants the affected player/mob complete immunity to all sources of fire damage.

Effects
Fire Resistance grants immunity to damage from fire, blaze fireballs, fire charges, magma blocks, and lava. Negates any bonus fire damage from bows enchanted with Flame and swords enchanted with Fire Aspect, but the attacks themselves are unaffected.

This effect does not work against direct hits/explosions from ghast fireballs or against melee attacks from a blaze, as neither of these sources are considered to deal fire damage. It will, however, prevent damage from any fire created by a ghast's fireball.

Any undead mobs that receive Fire Resistance do not take damage from exposure to sunlight, nor do they catch fire from it.

Outside of sunlight, however, Fire Resistance does not prevent the affected target from catching fire, but it does prevent any damage that would normally be taken due to being set on fire. This can cause the player (or mob) to start taking damage if the Fire Resistant effect expires before said player/mob is able to put themselves out.

Fire resistance also reduces the fog effect created due to being submerged under lava. This effect is stronger $$ than it is $$. Fire Resistance also prevents the fire itself from covering the player's screen.

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

Many Nether mobs (blazes, ghasts, magma cubes, striders, wither skeletons, zoglins, 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.

Witches are not immune to fire by default, but they are able drink a potion of Fire Resistance when they are on fire.

ID