Self-explanatory - Undead mobs should have an NBT tag such as {BurnsInDaylight:1b} that determines whether they're set on fire during the day. For mobs that can't wear hats (like Phantoms) there is currently no equivalent workaround for this:
- Having a command block constantly remove its fire is overkill, because it makes the mob completely immune to fire damage, whereas a mob with this NBT tag (or a zombie wearing a hat) is still vulnerable to things like Fire Aspect.
- The Fire Resistance effect does the same thing, except the mob also visibly gets set on fire despite not taking any damage.
- Disabling fire damage doesn't even affect mobs to begin with.
Self-explanatory - Undead mobs should have an NBT tag such as {BurnsInDaylight:1b} that determines whether they're set on fire during the day. For mobs that can't wear hats (like Phantoms) there is currently no equivalent workaround for this:
- Having a command block constantly remove its fire is overkill, because it makes the mob completely immune to fire damage, whereas a mob with this NBT tag (or a zombie wearing a hat) is still vulnerable to things like Fire Aspect.
- The Fire Resistance effect does the same thing, except the mob also visibly gets set on fire despite not taking any damage.
- Disabling fire damage doesn't even affect mobs to begin with.