Package net.minecraft

Record Class class_10550

java.lang.Object
java.lang.Record
net.minecraft.class_10550
Record Components:
contents -
All Implemented Interfaces:
ReferenceCounted

public record class_10550(ByteBuf contents) extends Record implements ReferenceCounted
Mappings:
Namespace Name
named net/minecraft/class_10550
intermediary net/minecraft/class_10550
official vn
named contents
intermediary comp_3473
official a
  • Field Details

    • contents

      private final ByteBuf contents
      The field for the contents record component.
  • Constructor Details

    • class_10550

      public class_10550(ByteBuf byteBuf)
  • Method Details

    • method_65937

      public static Object method_65937(Object object)
      Mappings:
      Namespace Name Mixin selector
      named method_65937 Lnet/minecraft/class_10550;method_65937(Ljava/lang/Object;)Ljava/lang/Object;
      intermediary method_65937 Lnet/minecraft/class_10550;method_65937(Ljava/lang/Object;)Ljava/lang/Object;
      official a Lvn;a(Ljava/lang/Object;)Ljava/lang/Object;
    • method_65939

      public static Object method_65939(Object object)
      Mappings:
      Namespace Name Mixin selector
      named method_65939 Lnet/minecraft/class_10550;method_65939(Ljava/lang/Object;)Ljava/lang/Object;
      intermediary method_65939 Lnet/minecraft/class_10550;method_65939(Ljava/lang/Object;)Ljava/lang/Object;
      official b Lvn;b(Ljava/lang/Object;)Ljava/lang/Object;
    • refCnt

      public int refCnt()
      Specified by:
      refCnt in interface ReferenceCounted
    • retain

      public class_10550 retain()
      Specified by:
      retain in interface ReferenceCounted
      Mappings:
      Namespace Name Mixin selector
      named retain Lnet/minecraft/class_10550;retain()Lnet/minecraft/class_10550;
      intermediary method_65935 Lnet/minecraft/class_10550;method_65935()Lnet/minecraft/class_10550;
      official a Lvn;a()Lvn;
    • retain

      public class_10550 retain(int int2)
      Specified by:
      retain in interface ReferenceCounted
      Mappings:
      Namespace Name Mixin selector
      named retain Lnet/minecraft/class_10550;retain(I)Lnet/minecraft/class_10550;
      intermediary method_65936 Lnet/minecraft/class_10550;method_65936(I)Lnet/minecraft/class_10550;
      official a Lvn;a(I)Lvn;
    • touch

      public class_10550 touch()
      Specified by:
      touch in interface ReferenceCounted
      Mappings:
      Namespace Name Mixin selector
      named touch Lnet/minecraft/class_10550;touch()Lnet/minecraft/class_10550;
      intermediary method_65938 Lnet/minecraft/class_10550;method_65938()Lnet/minecraft/class_10550;
      official b Lvn;b()Lvn;
    • touch

      public class_10550 touch(Object object)
      Specified by:
      touch in interface ReferenceCounted
      Mappings:
      Namespace Name Mixin selector
      named touch Lnet/minecraft/class_10550;touch(Ljava/lang/Object;)Lnet/minecraft/class_10550;
      intermediary method_65940 Lnet/minecraft/class_10550;method_65940(Ljava/lang/Object;)Lnet/minecraft/class_10550;
      official c Lvn;c(Ljava/lang/Object;)Lvn;
    • release

      public boolean release()
      Specified by:
      release in interface ReferenceCounted
    • release

      public boolean release(int int2)
      Specified by:
      release in interface ReferenceCounted
    • 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.
    • contents

      public ByteBuf contents()
      Returns the value of the contents record component.
      Returns:
      the value of the contents record component