Package net.minecraft

Record Class class_11816

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

public record class_11816(Optional<String> reference, Optional<String> type, Optional<class_11823> items, Optional<List<String>> enumValues) extends Record
Mappings:
Namespace Name
named net/minecraft/class_11816
intermediary net/minecraft/class_11816
official auf
named reference
intermediary comp_4676
official b
named type
intermediary comp_4677
official c
named items
intermediary comp_4678
official d
named enumValues
intermediary comp_4679
official e
  • 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.
    • items

      private final Optional<class_11823> items
      The field for the items record component.
    • enumValues

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

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

  • Method Details

    • method_73701

      public static class_11816 method_73701(String string)
      Mappings:
      Namespace Name Mixin selector
      named method_73701 Lnet/minecraft/class_11816;method_73701(Ljava/lang/String;)Lnet/minecraft/class_11816;
      intermediary method_73701 Lnet/minecraft/class_11816;method_73701(Ljava/lang/String;)Lnet/minecraft/class_11816;
      official a Lauf;a(Ljava/lang/String;)Lauf;
    • method_73703

      public static class_11816 method_73703(String string)
      Mappings:
      Namespace Name Mixin selector
      named method_73703 Lnet/minecraft/class_11816;method_73703(Ljava/lang/String;)Lnet/minecraft/class_11816;
      intermediary method_73703 Lnet/minecraft/class_11816;method_73703(Ljava/lang/String;)Lnet/minecraft/class_11816;
      official b Lauf;b(Ljava/lang/String;)Lauf;
    • method_73702

      public static class_11816 method_73702(List<String> list)
      Mappings:
      Namespace Name Mixin selector
      named method_73702 Lnet/minecraft/class_11816;method_73702(Ljava/util/List;)Lnet/minecraft/class_11816;
      intermediary method_73702 Lnet/minecraft/class_11816;method_73702(Ljava/util/List;)Lnet/minecraft/class_11816;
      official a Lauf;a(Ljava/util/List;)Lauf;
    • method_73699

      public static class_11816 method_73699(class_11823 class_11823)
      Mappings:
      Namespace Name Mixin selector
      named method_73699 Lnet/minecraft/class_11816;method_73699(Lnet/minecraft/class_11823;)Lnet/minecraft/class_11816;
      intermediary method_73699 Lnet/minecraft/class_11816;method_73699(Lnet/minecraft/class_11823;)Lnet/minecraft/class_11816;
      official a Lauf;a(Laum;)Lauf;
    • method_73698

      public class_11816 method_73698()
      Mappings:
      Namespace Name Mixin selector
      named method_73698 Lnet/minecraft/class_11816;method_73698()Lnet/minecraft/class_11816;
      intermediary method_73698 Lnet/minecraft/class_11816;method_73698()Lnet/minecraft/class_11816;
      official a Lauf;a()Lauf;
    • 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
    • items

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

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