Package net.minecraft

Record Class class_12087.class_12089

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

public static record class_12087.class_12089(class_12094 level) extends Record implements class_12087
Mappings:
Namespace Name
named net/minecraft/class_12087$class_12089
intermediary net/minecraft/class_12087$class_12089
official bbo$b
named level
intermediary comp_4943
official d
  • Field Details

    • level

      private final class_12094 level
      The field for the level record component.
    • CODEC

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

    • class_12089

      public class_12089(class_12094 class_12094)
  • Method Details

    • method_75012

      public com.mojang.serialization.MapCodec<class_12087.class_12089> 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;
    • 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.
    • level

      public class_12094 level()
      Returns the value of the level record component.
      Returns:
      the value of the level record component