Package net.minecraft

Record Class class_11823

java.lang.Object
java.lang.Record
net.minecraft.class_11823
Record Components:
reference -
type -
enumValues -

public record class_11823(Optional<String> reference, Optional<String> type, Optional<List<String>> enumValues) extends Record
Mappings:
Namespace Name
named net/minecraft/class_11823
intermediary net/minecraft/class_11823
official aum
named reference
intermediary comp_4700
official b
named type
intermediary comp_4701
official c
named enumValues
intermediary comp_4702
official d
  • Field Details

    • reference

      private final Optional<String> reference
      The field for the reference record component.
    • type

      private final Optional<String> type
      The field for the type record component.
    • enumValues

      private final Optional<List<String>> enumValues
      The field for the enumValues record component.
    • field_62369

      public static final com.mojang.serialization.MapCodec<class_11823> field_62369
      Mappings:
      Namespace Name Mixin selector
      named field_62369 Lnet/minecraft/class_11823;field_62369:Lcom/mojang/serialization/MapCodec;
      intermediary field_62369 Lnet/minecraft/class_11823;field_62369:Lcom/mojang/serialization/MapCodec;
      official a Laum;a:Lcom/mojang/serialization/MapCodec;
  • Constructor Details

  • Method Details

    • method_73730

      public static class_11823 method_73730(String string)
      Mappings:
      Namespace Name Mixin selector
      named method_73730 Lnet/minecraft/class_11823;method_73730(Ljava/lang/String;)Lnet/minecraft/class_11823;
      intermediary method_73730 Lnet/minecraft/class_11823;method_73730(Ljava/lang/String;)Lnet/minecraft/class_11823;
      official a Laum;a(Ljava/lang/String;)Laum;
    • method_73731

      public static class_11823 method_73731(String string)
      Mappings:
      Namespace Name Mixin selector
      named method_73731 Lnet/minecraft/class_11823;method_73731(Ljava/lang/String;)Lnet/minecraft/class_11823;
      intermediary method_73731 Lnet/minecraft/class_11823;method_73731(Ljava/lang/String;)Lnet/minecraft/class_11823;
      official b Laum;b(Ljava/lang/String;)Laum;
    • toString

      public final String toString()
      Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • hashCode

      public final int hashCode()
      Returns a hash code value for this object. The value is derived from the hash code of each of the record components.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object object)
      Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared with Objects::equals(Object,Object).
      Specified by:
      equals in class Record
      Parameters:
      object - the object with which to compare
      Returns:
      true if this object is the same as the object argument; false otherwise.
    • reference

      public Optional<String> reference()
      Returns the value of the reference record component.
      Returns:
      the value of the reference record component
    • type

      public Optional<String> type()
      Returns the value of the type record component.
      Returns:
      the value of the type record component
    • enumValues

      public Optional<List<String>> enumValues()
      Returns the value of the enumValues record component.
      Returns:
      the value of the enumValues record component