Fire Aspect

Fire Aspect is a sword enchantment that sets the target on fire.

Usage
Fire Aspect adds 80 fire-ticks (4 seconds of burning) per level to the target. Because the first hit is caused by the item with this enchantment, the first second of fire damage is not recognized. Targets receive and  damage with level I and II respectively.

Formula to calculate the fire damage: fire damage in =

When a mob that normally drops raw meat is killed while it is burning, or if a mob is killed in one shot, even if it is in water, it drops cooked meat. However, enemies damaged through the sweep attack are unaffected by Fire Aspect. For example, if a player swings their sword at a piglin, and two other piglins are damaged by the sweep attack, only the first piglin will be affected by Fire Aspect.

$$, an item enchanted with Fire Aspect can also be used to light unlit candles and campfires. Clicking a Block of TNT with an item that has fire aspect (even an enchanted book) causes the block of TNT to ignite.

Immune mobs
Both Fire Aspect and Flame are nullified on all Nether exclusive mobs other than Piglins, Piglin Brutes, and Hoglins due to fire and lava immunity. The warden is also immune. Normal skeletons and endermen are not immune even in the Nether.

ID