Package net.minecraft

Record Class class_12266

java.lang.Object
java.lang.Record
net.minecraft.class_12266
All Implemented Interfaces:
class_12275, LootContextAware

public record class_12266() extends Record implements class_12275
Mappings:
Namespace Name
named net/minecraft/class_12266
intermediary net/minecraft/class_12266
official dtl
  • Field Details

    • CODEC

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

    • class_12266

      public class_12266()
      Creates an instance of a class_12266 record class.
  • Method Details

    • method_76106

      public com.mojang.serialization.MapCodec<class_12266> method_76106()
      Specified by:
      method_76106 in interface class_12275
      Mappings:
      Namespace Name Mixin selector
      named method_76106 Lnet/minecraft/class_12275;method_76106()Lcom/mojang/serialization/MapCodec;
      intermediary method_76106 Lnet/minecraft/class_12275;method_76106()Lcom/mojang/serialization/MapCodec;
      official a Ldtr;a()Lcom/mojang/serialization/MapCodec;
    • method_76108

      public class_12271 method_76108(LootContext lootContext)
      Specified by:
      method_76108 in interface class_12275
      Mappings:
      Namespace Name Mixin selector
      named method_76108 Lnet/minecraft/class_12275;method_76108(Lnet/minecraft/loot/context/LootContext;)Lnet/minecraft/class_12271;
      intermediary method_76108 Lnet/minecraft/class_12275;method_76108(Lnet/minecraft/class_47;)Lnet/minecraft/class_12271;
      official a Ldtr;a(Lfmm;)Ldtq;
    • 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.
      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.