Enum Class EntityConversionType

java.lang.Object
java.lang.Enum<EntityConversionType>
net.minecraft.entity.conversion.EntityConversionType
All Implemented Interfaces:
Serializable, Comparable<EntityConversionType>, Constable

public enum EntityConversionType extends Enum<EntityConversionType>
Mappings:
Namespace Name
named net/minecraft/entity/conversion/EntityConversionType
intermediary net/minecraft/class_10181
official bvf
  • Enum Constant Details

    • SINGLE

      public static final EntityConversionType 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

      public static final EntityConversionType 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

      public static EntityConversionType[] 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

      public static EntityConversionType valueOf(String name)
      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 name
      NullPointerException - 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

      void copyData(MobEntity oldEntity, MobEntity newEntity, EntityConversionContext context)
      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