Package net.minecraft

Record Class class_11450

java.lang.Object
java.lang.Record
net.minecraft.class_11450
Record Components:
id -
template -
All Implemented Interfaces:
class_11449, class_11452

public record class_11450(Identifier id, class_11451 template) extends Record implements class_11449
Mappings:
Namespace Name
named net/minecraft/class_11450
intermediary net/minecraft/class_11450
official ass
named id
intermediary comp_4356
official c
named template
intermediary comp_4357
official d
  • Field Details

    • id

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

      private final class_11451 template
      The field for the template record component.
    • field_60656

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

  • Method Details

    • method_71738

      public com.mojang.serialization.MapCodec<class_11450> method_71738()
      Specified by:
      method_71738 in interface class_11449
      Specified by:
      method_71738 in interface class_11452
      Mappings:
      Namespace Name Mixin selector
      named method_71738 Lnet/minecraft/class_11452;method_71738()Lcom/mojang/serialization/MapCodec;
      intermediary method_71738 Lnet/minecraft/class_11452;method_71738()Lcom/mojang/serialization/MapCodec;
      official a Lasu;a()Lcom/mojang/serialization/MapCodec;
    • method_71742

      public String method_71742(Map<String,String> map)
      Specified by:
      method_71742 in interface class_11449
      Mappings:
      Namespace Name Mixin selector
      named method_71742 Lnet/minecraft/class_11449;method_71742(Ljava/util/Map;)Ljava/lang/String;
      intermediary method_71742 Lnet/minecraft/class_11449;method_71742(Ljava/util/Map;)Ljava/lang/String;
      official a Lasr;a(Ljava/util/Map;)Ljava/lang/String;
    • 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.
      Specified by:
      id in interface class_11449
      Returns:
      the value of the id record component
    • template

      public class_11451 template()
      Returns the value of the template record component.
      Returns:
      the value of the template record component