Package net.minecraft

Record Class class_11447

java.lang.Object
java.lang.Record
net.minecraft.class_11447
Record Components:
template -
All Implemented Interfaces:
class_11452

public record class_11447(class_11451 template) extends Record implements class_11452
Mappings:
Namespace Name
named net/minecraft/class_11447
intermediary net/minecraft/class_11447
official asp
named template
intermediary comp_4355
official c
  • Field Details

    • template

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

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

    • class_11447

      public class_11447(class_11451 class_11451)
  • Method Details

    • method_71738

      public com.mojang.serialization.MapCodec<class_11447> method_71738()
      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;
    • 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.
    • template

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