Interface VillagerConversionCallback
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Callback for when a LivingEntity turns into another entity, like a villager being struck by lightning.
This event is fired after the conversion happens and cannot be cancelled.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final net.fabricmc.fabric.api.event.Event<VillagerConversionCallback> -
Method Summary
Modifier and TypeMethodDescriptionvoidinteract(net.minecraft.world.entity.npc.Villager original, net.minecraft.world.entity.LivingEntity outcome)
-
Field Details
-
EVENT
-
-
Method Details
-
interact
void interact(net.minecraft.world.entity.npc.Villager original, net.minecraft.world.entity.LivingEntity outcome)
-