类 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
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
-
嵌套类概要
嵌套类修饰符和类型类说明static class
LivingConversionEvent.Post is triggered when an entity is replacing itself with another entity.static class
LivingConversionEvent.Pre is triggered when an entity is trying to replace itself with another entity This event may trigger every tick even if it was cancelled last tick for entities like Zombies and Hoglins.从类继承的嵌套类/接口 net.minecraftforge.event.entity.living.LivingEvent
LivingEvent.LivingJumpEvent, LivingEvent.LivingTickEvent, LivingEvent.LivingVisibilityEvent
从类继承的嵌套类/接口 net.minecraftforge.event.entity.EntityEvent
EntityEvent.EnteringSection, EntityEvent.EntityConstructing
从类继承的嵌套类/接口 net.minecraftforge.eventbus.api.Event
net.minecraftforge.eventbus.api.Event.HasResult, net.minecraftforge.eventbus.api.Event.Result
-
构造器概要
构造器 -
方法概要
从类继承的方法 net.minecraftforge.event.entity.living.LivingEvent
getEntity
从类继承的方法 net.minecraftforge.eventbus.api.Event
getListenerList, getPhase, getResult, hasResult, isCancelable, isCanceled, setCanceled, setPhase, setResult
-
构造器详细资料
-
LivingConversionEvent
-