Package net.minecraft

Record Class class_12087.class_12088

java.lang.Object
java.lang.Record
net.minecraft.class_12087.class_12088
Record Components:
id -
All Implemented Interfaces:
class_12087
Enclosing interface:
class_12087

public static record class_12087.class_12088(Identifier id) extends Record implements class_12087
Mappings:
Namespace Name
named net/minecraft/class_12087$class_12088
intermediary net/minecraft/class_12087$class_12088
official bbo$a
named id
intermediary comp_4942
official d
  • Field Details

    • id

      private final Identifier id
      The field for the id record component.
    • CODEC

      public static final com.mojang.serialization.MapCodec<class_12087.class_12088> CODEC
      Mappings:
      Namespace Name Mixin selector
      named CODEC Lnet/minecraft/class_12087$class_12088;CODEC:Lcom/mojang/serialization/MapCodec;
      intermediary field_63190 Lnet/minecraft/class_12087$class_12088;field_63190:Lcom/mojang/serialization/MapCodec;
      official c Lbbo$a;c:Lcom/mojang/serialization/MapCodec;
  • Constructor Details

    • class_12088

      public class_12088(Identifier identifier)
  • Method Details

    • method_75012

      public com.mojang.serialization.MapCodec<class_12087.class_12088> method_75012()
      Specified by:
      method_75012 in interface class_12087
      Mappings:
      Namespace Name Mixin selector
      named method_75012 Lnet/minecraft/class_12087;method_75012()Lcom/mojang/serialization/MapCodec;
      intermediary method_75012 Lnet/minecraft/class_12087;method_75012()Lcom/mojang/serialization/MapCodec;
      official a Lbbo;a()Lcom/mojang/serialization/MapCodec;
    • method_75019

      public static class_12087.class_12088 method_75019(String string)
      Mappings:
      Namespace Name Mixin selector
      named method_75019 Lnet/minecraft/class_12087$class_12088;method_75019(Ljava/lang/String;)Lnet/minecraft/class_12087$class_12088;
      intermediary method_75019 Lnet/minecraft/class_12087$class_12088;method_75019(Ljava/lang/String;)Lnet/minecraft/class_12087$class_12088;
      official a Lbbo$a;a(Ljava/lang/String;)Lbbo$a;
    • method_75017

      public static class_12087.class_12088 method_75017(Identifier identifier)
      Mappings:
      Namespace Name Mixin selector
      named method_75017 Lnet/minecraft/class_12087$class_12088;method_75017(Lnet/minecraft/util/Identifier;)Lnet/minecraft/class_12087$class_12088;
      intermediary method_75017 Lnet/minecraft/class_12087$class_12088;method_75017(Lnet/minecraft/class_2960;)Lnet/minecraft/class_12087$class_12088;
      official a Lbbo$a;a(Lamy;)Lbbo$a;
    • 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.
    • id

      public Identifier id()
      Returns the value of the id record component.
      Returns:
      the value of the id record component