Class EntitySwapTransformation
java.lang.Object
com.binaris.wizardry.setup.registries.EntitySwapTransformation
- All Implemented Interfaces:
EntityTransformation
-
Constructor Summary
ConstructorsConstructorDescriptionEntitySwapTransformation(Class<? extends net.minecraft.world.entity.LivingEntity> source, Function<net.minecraft.world.level.Level, ? extends net.minecraft.world.entity.LivingEntity> factory) -
Method Summary
Modifier and TypeMethodDescriptionbooleanapply(net.minecraft.world.entity.LivingEntity entity, CastContext ctx)
-
Constructor Details
-
EntitySwapTransformation
-
-
Method Details
-
apply
- Specified by:
applyin interfaceEntityTransformation
-