Class UnloadChunkS2CPacket

java.lang.Object
net.minecraft.network.packet.s2c.play.UnloadChunkS2CPacket
All Implemented Interfaces:
Packet<ClientPlayPacketListener>

public class UnloadChunkS2CPacket
extends Object
implements Packet<ClientPlayPacketListener>
Mappings:
Namespace Name
official qh
intermediary net/minecraft/class_2666
named net/minecraft/network/packet/s2c/play/UnloadChunkS2CPacket
  • Field Details

    • x

      private int x
      Mappings:
      Namespace Name Mixin selector
      official a Lqh;a:I
      intermediary field_12195 Lnet/minecraft/class_2666;field_12195:I
      named x Lnet/minecraft/network/packet/s2c/play/UnloadChunkS2CPacket;x:I
    • z

      private int z
      Mappings:
      Namespace Name Mixin selector
      official b Lqh;b:I
      intermediary field_12194 Lnet/minecraft/class_2666;field_12194:I
      named z Lnet/minecraft/network/packet/s2c/play/UnloadChunkS2CPacket;z:I
  • Constructor Details

    • UnloadChunkS2CPacket

      public UnloadChunkS2CPacket()
    • UnloadChunkS2CPacket

      public UnloadChunkS2CPacket​(int x, int z)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lqh;<init>(II)V
      intermediary <init> Lnet/minecraft/class_2666;<init>(II)V
      named <init> Lnet/minecraft/network/packet/s2c/play/UnloadChunkS2CPacket;<init>(II)V
  • Method Details

    • read

      public void read​(PacketByteBuf buf) throws IOException
      Specified by:
      read in interface Packet<ClientPlayPacketListener>
      Throws:
      IOException
      Mappings:
      Namespace Name Mixin selector
      official a Lpa;a(Lnw;)V
      intermediary method_11053 Lnet/minecraft/class_2596;method_11053(Lnet/minecraft/class_2540;)V
      named read Lnet/minecraft/network/Packet;read(Lnet/minecraft/network/PacketByteBuf;)V
    • write

      public void write​(PacketByteBuf buf) throws IOException
      Specified by:
      write in interface Packet<ClientPlayPacketListener>
      Throws:
      IOException
      Mappings:
      Namespace Name Mixin selector
      official b Lpa;b(Lnw;)V
      intermediary method_11052 Lnet/minecraft/class_2596;method_11052(Lnet/minecraft/class_2540;)V
      named write Lnet/minecraft/network/Packet;write(Lnet/minecraft/network/PacketByteBuf;)V
    • apply

      public void apply​(ClientPlayPacketListener clientPlayPacketListener)
      Specified by:
      apply in interface Packet<ClientPlayPacketListener>
      Mappings:
      Namespace Name Mixin selector
      official a Lqh;a(Lpd;)V
      intermediary method_11486 Lnet/minecraft/class_2666;method_11486(Lnet/minecraft/class_2602;)V
      named apply Lnet/minecraft/network/packet/s2c/play/UnloadChunkS2CPacket;apply(Lnet/minecraft/network/listener/ClientPlayPacketListener;)V
    • getX

      @Environment(CLIENT) public int getX()
      Mappings:
      Namespace Name Mixin selector
      official b Lqh;b()I
      intermediary method_11487 Lnet/minecraft/class_2666;method_11487()I
      named getX Lnet/minecraft/network/packet/s2c/play/UnloadChunkS2CPacket;getX()I
    • getZ

      @Environment(CLIENT) public int getZ()
      Mappings:
      Namespace Name Mixin selector
      official c Lqh;c()I
      intermediary method_11485 Lnet/minecraft/class_2666;method_11485()I
      named getZ Lnet/minecraft/network/packet/s2c/play/UnloadChunkS2CPacket;getZ()I