Package net.minecraft

Record Class class_9778

java.lang.Object
java.lang.Record
net.minecraft.class_9778
Record Components:
bottom -
top -

public record class_9778(int bottom, int top) extends Record
Mappings:
Namespace Name
named net/minecraft/class_9778
intermediary net/minecraft/class_9778
official ejx
named bottom
intermediary comp_2818
official c
named top
intermediary comp_2819
official d
  • Field Details

    • bottom

      private final int bottom
      The field for the bottom record component.
    • top

      private final int top
      The field for the top record component.
    • field_51954

      private static final com.mojang.serialization.Codec<class_9778> field_51954
      Mappings:
      Namespace Name Mixin selector
      named field_51954 Lnet/minecraft/class_9778;field_51954:Lcom/mojang/serialization/Codec;
      intermediary field_51954 Lnet/minecraft/class_9778;field_51954:Lcom/mojang/serialization/Codec;
      official e Lejx;e:Lcom/mojang/serialization/Codec;
    • field_51952

      public static final com.mojang.serialization.Codec<class_9778> field_51952
      Mappings:
      Namespace Name Mixin selector
      named field_51952 Lnet/minecraft/class_9778;field_51952:Lcom/mojang/serialization/Codec;
      intermediary field_51952 Lnet/minecraft/class_9778;field_51952:Lcom/mojang/serialization/Codec;
      official a Lejx;a:Lcom/mojang/serialization/Codec;
    • field_51953

      public static final class_9778 field_51953
      Mappings:
      Namespace Name Mixin selector
      named field_51953 Lnet/minecraft/class_9778;field_51953:Lnet/minecraft/class_9778;
      intermediary field_51953 Lnet/minecraft/class_9778;field_51953:Lnet/minecraft/class_9778;
      official b Lejx;b:Lejx;
  • Constructor Details

    • class_9778

      public class_9778(int int2)
    • class_9778

      public class_9778(int int2, int int3)
  • Method Details

    • method_60629

      public boolean method_60629()
      Mappings:
      Namespace Name Mixin selector
      named method_60629 Lnet/minecraft/class_9778;method_60629()Z
      intermediary method_60629 Lnet/minecraft/class_9778;method_60629()Z
      official a Lejx;a()Z
    • 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 '=='.
      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.
    • bottom

      public int bottom()
      Returns the value of the bottom record component.
      Returns:
      the value of the bottom record component
    • top

      public int top()
      Returns the value of the top record component.
      Returns:
      the value of the top record component