Class LivingConversionEvent

java.lang.Object
net.minecraftforge.eventbus.api.Event
net.minecraftforge.event.entity.EntityEvent
net.minecraftforge.event.entity.living.LivingEvent
net.minecraftforge.event.entity.living.LivingConversionEvent
Direct Known Subclasses:
LivingConversionEvent.Post, LivingConversionEvent.Pre

public class LivingConversionEvent extends LivingEvent
Currently known conversions: Pig -> Zombie Piglin when struck by lightning Villager -> Zombie Villager when killed by a zombie Zombie -> Drowned when under water Husk -> Zombie when under water Zombie Villager -> Villager Hoglin -> Zogline when in overworld Piglin/Piglin Brute -> Zombie Pigman when in overworld Villager -> Witch when struck by lightning Skeleton -> Stray when sitting in snow Tadpole -> Frog when it grows up Mushroom Cow -> Cow when sheared
  • Constructor Details

    • LivingConversionEvent

      public LivingConversionEvent(LivingEntity entity)