Enum Class AttributeModifiersComponent.Display.Type

java.lang.Object
java.lang.Enum<AttributeModifiersComponent.Display.Type>
net.minecraft.component.type.AttributeModifiersComponent.Display.Type
All Implemented Interfaces:
Serializable, Comparable<AttributeModifiersComponent.Display.Type>, Constable, StringIdentifiable
Enclosing interface:
AttributeModifiersComponent.Display

public static enum AttributeModifiersComponent.Display.Type extends Enum<AttributeModifiersComponent.Display.Type> implements StringIdentifiable
Mappings:
Namespace Name
named net/minecraft/component/type/AttributeModifiersComponent$Display$Type
intermediary net/minecraft/class_9285$class_11193$class_11197
official dfm$b$d
  • Enum Constant Details

    • DEFAULT

      public static final AttributeModifiersComponent.Display.Type DEFAULT
      Mappings:
      Namespace Name Mixin selector
      named DEFAULT Lnet/minecraft/component/type/AttributeModifiersComponent$Display$Type;DEFAULT:Lnet/minecraft/component/type/AttributeModifiersComponent$Display$Type;
      intermediary field_59739 Lnet/minecraft/class_9285$class_11193$class_11197;field_59739:Lnet/minecraft/class_9285$class_11193$class_11197;
      official a Ldfm$b$d;a:Ldfm$b$d;
    • HIDDEN

      public static final AttributeModifiersComponent.Display.Type HIDDEN
      Mappings:
      Namespace Name Mixin selector
      named HIDDEN Lnet/minecraft/component/type/AttributeModifiersComponent$Display$Type;HIDDEN:Lnet/minecraft/component/type/AttributeModifiersComponent$Display$Type;
      intermediary field_59740 Lnet/minecraft/class_9285$class_11193$class_11197;field_59740:Lnet/minecraft/class_9285$class_11193$class_11197;
      official b Ldfm$b$d;b:Ldfm$b$d;
    • OVERRIDE

      public static final AttributeModifiersComponent.Display.Type OVERRIDE
      Mappings:
      Namespace Name Mixin selector
      named OVERRIDE Lnet/minecraft/component/type/AttributeModifiersComponent$Display$Type;OVERRIDE:Lnet/minecraft/component/type/AttributeModifiersComponent$Display$Type;
      intermediary field_59741 Lnet/minecraft/class_9285$class_11193$class_11197;field_59741:Lnet/minecraft/class_9285$class_11193$class_11197;
      official c Ldfm$b$d;c:Ldfm$b$d;
  • Field Details

    • CODEC

      static final com.mojang.serialization.Codec<AttributeModifiersComponent.Display.Type> CODEC
      Mappings:
      Namespace Name Mixin selector
      named CODEC Lnet/minecraft/component/type/AttributeModifiersComponent$Display$Type;CODEC:Lcom/mojang/serialization/Codec;
      intermediary field_59742 Lnet/minecraft/class_9285$class_11193$class_11197;field_59742:Lcom/mojang/serialization/Codec;
      official d Ldfm$b$d;d:Lcom/mojang/serialization/Codec;
    • INDEX_MAPPER

      private static final IntFunction<AttributeModifiersComponent.Display.Type> INDEX_MAPPER
      Mappings:
      Namespace Name Mixin selector
      named INDEX_MAPPER Lnet/minecraft/component/type/AttributeModifiersComponent$Display$Type;INDEX_MAPPER:Ljava/util/function/IntFunction;
      intermediary field_59743 Lnet/minecraft/class_9285$class_11193$class_11197;field_59743:Ljava/util/function/IntFunction;
      official e Ldfm$b$d;e:Ljava/util/function/IntFunction;
    • PACKET_CODEC

      Mappings:
      Namespace Name Mixin selector
      named PACKET_CODEC Lnet/minecraft/component/type/AttributeModifiersComponent$Display$Type;PACKET_CODEC:Lnet/minecraft/network/codec/PacketCodec;
      intermediary field_59744 Lnet/minecraft/class_9285$class_11193$class_11197;field_59744:Lnet/minecraft/class_9139;
      official f Ldfm$b$d;f:Lzm;
    • id

      private final String id
      Mappings:
      Namespace Name Mixin selector
      named id Lnet/minecraft/component/type/AttributeModifiersComponent$Display$Type;id:Ljava/lang/String;
      intermediary field_59745 Lnet/minecraft/class_9285$class_11193$class_11197;field_59745:Ljava/lang/String;
      official g Ldfm$b$d;g:Ljava/lang/String;
    • index

      private final int index
      Mappings:
      Namespace Name Mixin selector
      named index Lnet/minecraft/component/type/AttributeModifiersComponent$Display$Type;index:I
      intermediary field_59746 Lnet/minecraft/class_9285$class_11193$class_11197;field_59746:I
      official h Ldfm$b$d;h:I
    • codec

      final com.mojang.serialization.MapCodec<? extends AttributeModifiersComponent.Display> codec
      Mappings:
      Namespace Name Mixin selector
      named codec Lnet/minecraft/component/type/AttributeModifiersComponent$Display$Type;codec:Lcom/mojang/serialization/MapCodec;
      intermediary field_59747 Lnet/minecraft/class_9285$class_11193$class_11197;field_59747:Lcom/mojang/serialization/MapCodec;
      official i Ldfm$b$d;i:Lcom/mojang/serialization/MapCodec;
    • packetCodec

      private final PacketCodec<RegistryByteBuf,? extends AttributeModifiersComponent.Display> packetCodec
      Mappings:
      Namespace Name Mixin selector
      named packetCodec Lnet/minecraft/component/type/AttributeModifiersComponent$Display$Type;packetCodec:Lnet/minecraft/network/codec/PacketCodec;
      intermediary field_59748 Lnet/minecraft/class_9285$class_11193$class_11197;field_59748:Lnet/minecraft/class_9139;
      official j Ldfm$b$d;j:Lzm;
  • Constructor Details

    • Type

      private Type(String id, int index, com.mojang.serialization.MapCodec<? extends AttributeModifiersComponent.Display> codec, PacketCodec<RegistryByteBuf,? extends AttributeModifiersComponent.Display> packetCodec)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/component/type/AttributeModifiersComponent$Display$Type;<init>(Ljava/lang/String;ILjava/lang/String;ILcom/mojang/serialization/MapCodec;Lnet/minecraft/network/codec/PacketCodec;)V
      intermediary <init> Lnet/minecraft/class_9285$class_11193$class_11197;<init>(Ljava/lang/String;ILjava/lang/String;ILcom/mojang/serialization/MapCodec;Lnet/minecraft/class_9139;)V
      official <init> Ldfm$b$d;<init>(Ljava/lang/String;ILjava/lang/String;ILcom/mojang/serialization/MapCodec;Lzm;)V
  • Method Details

    • values

      public static AttributeModifiersComponent.Display.Type[] 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 AttributeModifiersComponent.Display.Type 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
    • asString

      public String asString()
      Returns the unique string representation of the enum, used for serialization.
      Specified by:
      asString in interface StringIdentifiable
      Returns:
      the unique string representation of the enum, used for serialization
      Mappings:
      Namespace Name Mixin selector
      named asString Lnet/minecraft/util/StringIdentifiable;asString()Ljava/lang/String;
      intermediary method_15434 Lnet/minecraft/class_3542;method_15434()Ljava/lang/String;
      official c Lbda;c()Ljava/lang/String;
    • getIndex

      private int getIndex()
      Mappings:
      Namespace Name Mixin selector
      named getIndex Lnet/minecraft/component/type/AttributeModifiersComponent$Display$Type;getIndex()I
      intermediary method_70736 Lnet/minecraft/class_9285$class_11193$class_11197;method_70736()I
      official a Ldfm$b$d;a()I
    • getPacketCodec

      Mappings:
      Namespace Name Mixin selector
      named getPacketCodec Lnet/minecraft/component/type/AttributeModifiersComponent$Display$Type;getPacketCodec()Lnet/minecraft/network/codec/PacketCodec;
      intermediary method_70737 Lnet/minecraft/class_9285$class_11193$class_11197;method_70737()Lnet/minecraft/class_9139;
      official b Ldfm$b$d;b()Lzm;