Class ChunkRenderDistanceCenterS2CPacket

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

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

    • chunkX

      private int chunkX
      Mappings:
      Namespace Name Mixin selector
      official a Lro;a:I
      intermediary field_19206 Lnet/minecraft/class_4282;field_19206:I
      named chunkX Lnet/minecraft/network/packet/s2c/play/ChunkRenderDistanceCenterS2CPacket;chunkX:I
    • chunkZ

      private int chunkZ
      Mappings:
      Namespace Name Mixin selector
      official b Lro;b:I
      intermediary field_19207 Lnet/minecraft/class_4282;field_19207:I
      named chunkZ Lnet/minecraft/network/packet/s2c/play/ChunkRenderDistanceCenterS2CPacket;chunkZ:I
  • Constructor Details

    • ChunkRenderDistanceCenterS2CPacket

      public ChunkRenderDistanceCenterS2CPacket()
    • ChunkRenderDistanceCenterS2CPacket

      public ChunkRenderDistanceCenterS2CPacket​(int x, int z)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lro;<init>(II)V
      intermediary <init> Lnet/minecraft/class_4282;<init>(II)V
      named <init> Lnet/minecraft/network/packet/s2c/play/ChunkRenderDistanceCenterS2CPacket;<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 Lro;a(Lpd;)V
      intermediary method_20321 Lnet/minecraft/class_4282;method_20321(Lnet/minecraft/class_2602;)V
      named apply Lnet/minecraft/network/packet/s2c/play/ChunkRenderDistanceCenterS2CPacket;apply(Lnet/minecraft/network/listener/ClientPlayPacketListener;)V
    • getChunkX

      @Environment(CLIENT) public int getChunkX()
      Mappings:
      Namespace Name Mixin selector
      official b Lro;b()I
      intermediary method_20322 Lnet/minecraft/class_4282;method_20322()I
      named getChunkX Lnet/minecraft/network/packet/s2c/play/ChunkRenderDistanceCenterS2CPacket;getChunkX()I
    • getChunkZ

      @Environment(CLIENT) public int getChunkZ()
      Mappings:
      Namespace Name Mixin selector
      official c Lro;c()I
      intermediary method_20323 Lnet/minecraft/class_4282;method_20323()I
      named getChunkZ Lnet/minecraft/network/packet/s2c/play/ChunkRenderDistanceCenterS2CPacket;getChunkZ()I