Package net.minecraft.entity.conversion
Enum Class EntityConversionType
- All Implemented Interfaces:
Serializable
,Comparable<EntityConversionType>
,Constable
- Mappings:
Namespace Name named net/minecraft/entity/conversion/EntityConversionType
intermediary net/minecraft/class_10181
official bvf
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription(package private) void
copyData
(MobEntity oldEntity, MobEntity newEntity, EntityConversionContext context) (package private) abstract void
setUpNewEntity
(MobEntity oldEntity, MobEntity newEntity, EntityConversionContext context) boolean
static EntityConversionType
Returns the enum constant of this class with the specified name.static EntityConversionType[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
SINGLE
- Mappings:
Namespace Name Mixin selector named SINGLE
Lnet/minecraft/entity/conversion/EntityConversionType;SINGLE:Lnet/minecraft/entity/conversion/EntityConversionType;
intermediary field_54080
Lnet/minecraft/class_10181;field_54080:Lnet/minecraft/class_10181;
official a
Lbvf;a:Lbvf;
-
SPLIT_ON_DEATH
- Mappings:
Namespace Name Mixin selector named SPLIT_ON_DEATH
Lnet/minecraft/entity/conversion/EntityConversionType;SPLIT_ON_DEATH:Lnet/minecraft/entity/conversion/EntityConversionType;
intermediary field_54081
Lnet/minecraft/class_10181;field_54081:Lnet/minecraft/class_10181;
official b
Lbvf;b:Lbvf;
-
-
Field Details
-
discardOldEntity
private final boolean discardOldEntity- Mappings:
Namespace Name Mixin selector named discardOldEntity
Lnet/minecraft/entity/conversion/EntityConversionType;discardOldEntity:Z
intermediary field_54082
Lnet/minecraft/class_10181;field_54082:Z
official c
Lbvf;c:Z
-
-
Constructor Details
-
EntityConversionType
private EntityConversionType(boolean discardOldEntity) - Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/entity/conversion/EntityConversionType;<init>(Ljava/lang/String;IZ)V
intermediary <init>
Lnet/minecraft/class_10181;<init>(Ljava/lang/String;IZ)V
official <init>
Lbvf;<init>(Ljava/lang/String;IZ)V
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-
shouldDiscardOldEntity
public boolean shouldDiscardOldEntity()- Mappings:
Namespace Name Mixin selector named shouldDiscardOldEntity
Lnet/minecraft/entity/conversion/EntityConversionType;shouldDiscardOldEntity()Z
intermediary method_63608
Lnet/minecraft/class_10181;method_63608()Z
official a
Lbvf;a()Z
-
setUpNewEntity
abstract void setUpNewEntity(MobEntity oldEntity, MobEntity newEntity, EntityConversionContext context) - Mappings:
Namespace Name Mixin selector named setUpNewEntity
Lnet/minecraft/entity/conversion/EntityConversionType;setUpNewEntity(Lnet/minecraft/entity/mob/MobEntity;Lnet/minecraft/entity/mob/MobEntity;Lnet/minecraft/entity/conversion/EntityConversionContext;)V
intermediary method_63609
Lnet/minecraft/class_10181;method_63609(Lnet/minecraft/class_1308;Lnet/minecraft/class_1308;Lnet/minecraft/class_10179;)V
official a
Lbvf;a(Lbwh;Lbwh;Lbve;)V
-
copyData
- Mappings:
Namespace Name Mixin selector named copyData
Lnet/minecraft/entity/conversion/EntityConversionType;copyData(Lnet/minecraft/entity/mob/MobEntity;Lnet/minecraft/entity/mob/MobEntity;Lnet/minecraft/entity/conversion/EntityConversionContext;)V
intermediary method_63611
Lnet/minecraft/class_10181;method_63611(Lnet/minecraft/class_1308;Lnet/minecraft/class_1308;Lnet/minecraft/class_10179;)V
official b
Lbvf;b(Lbwh;Lbwh;Lbve;)V
-