Package net.minecraft

Record Class class_8104

java.lang.Object
java.lang.Record
net.minecraft.class_8104
Record Components:
block -
sky -

public record class_8104(int block, int sky) extends Record
Mappings:
Namespace Name
official anw
intermediary net/minecraft/class_8104
named net/minecraft/class_8104
official d
intermediary comp_1240
named block
official e
intermediary comp_1241
named sky
  • Field Details

    • block

      private final int block
      The field for the block record component.
    • sky

      private final int sky
      The field for the sky record component.
    • field_42262

      public static final com.mojang.serialization.Codec<Integer> field_42262
      Mappings:
      Namespace Name Mixin selector
      official a Lanw;a:Lcom/mojang/serialization/Codec;
      intermediary field_42262 Lnet/minecraft/class_8104;field_42262:Lcom/mojang/serialization/Codec;
      named field_42262 Lnet/minecraft/class_8104;field_42262:Lcom/mojang/serialization/Codec;
    • field_42263

      public static final com.mojang.serialization.Codec<class_8104> field_42263
      Mappings:
      Namespace Name Mixin selector
      official b Lanw;b:Lcom/mojang/serialization/Codec;
      intermediary field_42263 Lnet/minecraft/class_8104;field_42263:Lcom/mojang/serialization/Codec;
      named field_42263 Lnet/minecraft/class_8104;field_42263:Lcom/mojang/serialization/Codec;
    • field_42264

      public static class_8104 field_42264
      Mappings:
      Namespace Name Mixin selector
      official c Lanw;c:Lanw;
      intermediary field_42264 Lnet/minecraft/class_8104;field_42264:Lnet/minecraft/class_8104;
      named field_42264 Lnet/minecraft/class_8104;field_42264:Lnet/minecraft/class_8104;
  • Constructor Details

    • class_8104

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

    • method_48763

      public int method_48763()
      Mappings:
      Namespace Name Mixin selector
      official a Lanw;a()I
      intermediary method_48763 Lnet/minecraft/class_8104;method_48763()I
      named method_48763 Lnet/minecraft/class_8104;method_48763()I
    • method_48764

      public static class_8104 method_48764(int int2)
      Mappings:
      Namespace Name Mixin selector
      official a Lanw;a(I)Lanw;
      intermediary method_48764 Lnet/minecraft/class_8104;method_48764(I)Lnet/minecraft/class_8104;
      named method_48764 Lnet/minecraft/class_8104;method_48764(I)Lnet/minecraft/class_8104;
    • 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.
    • block

      public int block()
      Returns the value of the block record component.
      Returns:
      the value of the block record component
    • sky

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