Package net.minecraft

Record Class class_8212.class_8213

java.lang.Object
java.lang.Record
net.minecraft.class_8212.class_8213
Record Components:
pos -
buffer -
Enclosing class:
class_8212

public static record class_8212.class_8213(ChunkPos pos, byte[] buffer) extends Record
Mappings:
Namespace Name
official vr$a
intermediary net/minecraft/class_8212$class_8213
named net/minecraft/class_8212$class_8213
official a
intermediary comp_1314
named pos
official b
intermediary comp_1315
named buffer
  • Field Details

    • pos

      private final ChunkPos pos
      The field for the pos record component.
    • buffer

      private final byte[] buffer
      The field for the buffer record component.
  • Constructor Details

    • class_8213

      public class_8213(WorldChunk worldChunk)
    • class_8213

      public class_8213(PacketByteBuf packetByteBuf)
    • class_8213

      public class_8213(ChunkPos chunkPos, byte[] byte2)
  • Method Details

    • method_49689

      private static int method_49689(WorldChunk worldChunk)
      Mappings:
      Namespace Name Mixin selector
      official a Lvr$a;a(Lddw;)I
      intermediary method_49689 Lnet/minecraft/class_8212$class_8213;method_49689(Lnet/minecraft/class_2818;)I
      named method_49689 Lnet/minecraft/class_8212$class_8213;method_49689(Lnet/minecraft/world/chunk/WorldChunk;)I
    • method_49688

      public PacketByteBuf method_49688()
      Mappings:
      Namespace Name Mixin selector
      official a Lvr$a;a()Lsr;
      intermediary method_49688 Lnet/minecraft/class_8212$class_8213;method_49688()Lnet/minecraft/class_2540;
      named method_49688 Lnet/minecraft/class_8212$class_8213;method_49688()Lnet/minecraft/network/PacketByteBuf;
    • method_49692

      private ByteBuf method_49692()
      Mappings:
      Namespace Name Mixin selector
      official d Lvr$a;d()Lio/netty/buffer/ByteBuf;
      intermediary method_49692 Lnet/minecraft/class_8212$class_8213;method_49692()Lio/netty/buffer/ByteBuf;
      named method_49692 Lnet/minecraft/class_8212$class_8213;method_49692()Lio/netty/buffer/ByteBuf;
    • method_49691

      public static void method_49691(PacketByteBuf packetByteBuf, WorldChunk worldChunk)
      Mappings:
      Namespace Name Mixin selector
      official a Lvr$a;a(Lsr;Lddw;)V
      intermediary method_49691 Lnet/minecraft/class_8212$class_8213;method_49691(Lnet/minecraft/class_2540;Lnet/minecraft/class_2818;)V
      named method_49691 Lnet/minecraft/class_8212$class_8213;method_49691(Lnet/minecraft/network/PacketByteBuf;Lnet/minecraft/world/chunk/WorldChunk;)V
    • method_49690

      public void method_49690(PacketByteBuf packetByteBuf)
      Mappings:
      Namespace Name Mixin selector
      official a Lvr$a;a(Lsr;)V
      intermediary method_49690 Lnet/minecraft/class_8212$class_8213;method_49690(Lnet/minecraft/class_2540;)V
      named method_49690 Lnet/minecraft/class_8212$class_8213;method_49690(Lnet/minecraft/network/PacketByteBuf;)V
    • 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.
    • pos

      public ChunkPos pos()
      Returns the value of the pos record component.
      Returns:
      the value of the pos record component
    • buffer

      public byte[] buffer()
      Returns the value of the buffer record component.
      Returns:
      the value of the buffer record component