Package net.minecraft

Record Class class_10266.class_10267

java.lang.Object
java.lang.Record
net.minecraft.class_10266.class_10267
Record Components:
contents -
flags -
Enclosing class:
class_10266

public static record class_10266.class_10267(class_10297 contents, byte flags) extends Record
Mappings:
Namespace Name
named net/minecraft/class_10266$class_10267
intermediary net/minecraft/class_10266$class_10267
official afe$a
named contents
intermediary comp_3233
official d
named flags
intermediary comp_3234
official e
  • Field Details

    • contents

      private final class_10297 contents
      The field for the contents record component.
    • flags

      private final byte flags
      The field for the flags record component.
    • field_54518

      public static final byte field_54518
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_54518 Lnet/minecraft/class_10266$class_10267;field_54518:B
      intermediary field_54518 Lnet/minecraft/class_10266$class_10267;field_54518:B
      official a Lafe$a;a:B
    • field_54519

      public static final byte field_54519
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_54519 Lnet/minecraft/class_10266$class_10267;field_54519:B
      intermediary field_54519 Lnet/minecraft/class_10266$class_10267;field_54519:B
      official b Lafe$a;b:B
    • field_54520

      public static final PacketCodec<RegistryByteBuf,class_10266.class_10267> field_54520
      Mappings:
      Namespace Name Mixin selector
      named field_54520 Lnet/minecraft/class_10266$class_10267;field_54520:Lnet/minecraft/network/codec/PacketCodec;
      intermediary field_54520 Lnet/minecraft/class_10266$class_10267;field_54520:Lnet/minecraft/class_9139;
      official c Lafe$a;c:Lzt;
  • Constructor Details

    • class_10267

      public class_10267(class_10297 class_10297, boolean bool, boolean bool2)
    • class_10267

      public class_10267(class_10297 class_10297, byte byte2)
  • Method Details

    • method_64561

      public boolean method_64561()
      Mappings:
      Namespace Name Mixin selector
      named method_64561 Lnet/minecraft/class_10266$class_10267;method_64561()Z
      intermediary method_64561 Lnet/minecraft/class_10266$class_10267;method_64561()Z
      official a Lafe$a;a()Z
    • method_64562

      public boolean method_64562()
      Mappings:
      Namespace Name Mixin selector
      named method_64562 Lnet/minecraft/class_10266$class_10267;method_64562()Z
      intermediary method_64562 Lnet/minecraft/class_10266$class_10267;method_64562()Z
      official b Lafe$a;b()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. Reference components are compared with Objects::equals(Object,Object); primitive components 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.
    • contents

      public class_10297 contents()
      Returns the value of the contents record component.
      Returns:
      the value of the contents record component
    • flags

      public byte flags()
      Returns the value of the flags record component.
      Returns:
      the value of the flags record component