Uses of Record Class
net.minecraft.entity.conversion.EntityConversionContext
-
Uses of EntityConversionContext in net.minecraft.entity.conversion
Modifier and TypeMethodDescriptionstatic EntityConversionContext
EntityConversionContext.create
(MobEntity entity, boolean keepEquipment, boolean preserveCanPickUpLoot) Modifier and TypeMethodDescription(package private) void
EntityConversionType.copyData
(MobEntity oldEntity, MobEntity newEntity, EntityConversionContext context) (package private) abstract void
EntityConversionType.setUpNewEntity
(MobEntity oldEntity, MobEntity newEntity, EntityConversionContext context) -
Uses of EntityConversionContext in net.minecraft.entity.mob
Modifier and TypeMethodDescription<T extends MobEntity>
TMobEntity.convertTo
(EntityType<T> entityType, EntityConversionContext context, EntityConversionContext.Finalizer<T> finalizer) Converts this entity to the providedentityType
.<T extends MobEntity>
TMobEntity.convertTo
(EntityType<T> entityType, EntityConversionContext context, SpawnReason reason, EntityConversionContext.Finalizer<T> finalizer)