Class ChunkDataS2CPacket

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

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

    • chunkX

      private final int chunkX
      Mappings:
      Namespace Name Mixin selector
      official a Lse;a:I
      intermediary field_12236 Lnet/minecraft/class_2672;field_12236:I
      named chunkX Lnet/minecraft/network/packet/s2c/play/ChunkDataS2CPacket;chunkX:I
    • chunkZ

      private final int chunkZ
      Mappings:
      Namespace Name Mixin selector
      official b Lse;b:I
      intermediary field_12235 Lnet/minecraft/class_2672;field_12235:I
      named chunkZ Lnet/minecraft/network/packet/s2c/play/ChunkDataS2CPacket;chunkZ:I
    • chunkData

      private final ChunkData chunkData
      Mappings:
      Namespace Name Mixin selector
      official c Lse;c:Lsd;
      intermediary field_34870 Lnet/minecraft/class_2672;field_34870:Lnet/minecraft/class_6603;
      named chunkData Lnet/minecraft/network/packet/s2c/play/ChunkDataS2CPacket;chunkData:Lnet/minecraft/network/packet/s2c/play/ChunkData;
    • lightData

      private final LightData lightData
      Mappings:
      Namespace Name Mixin selector
      official d Lse;d:Lsi;
      intermediary field_34871 Lnet/minecraft/class_2672;field_34871:Lnet/minecraft/class_6606;
      named lightData Lnet/minecraft/network/packet/s2c/play/ChunkDataS2CPacket;lightData:Lnet/minecraft/network/packet/s2c/play/LightData;
  • Constructor Details

    • ChunkDataS2CPacket

      public ChunkDataS2CPacket(WorldChunk chunk, LightingProvider lightProvider, @Nullable @Nullable BitSet skyBits, @Nullable @Nullable BitSet blockBits, boolean nonEdge)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lse;<init>(Lcqi;Ldhm;Ljava/util/BitSet;Ljava/util/BitSet;Z)V
      intermediary <init> Lnet/minecraft/class_2672;<init>(Lnet/minecraft/class_2818;Lnet/minecraft/class_3568;Ljava/util/BitSet;Ljava/util/BitSet;Z)V
      named <init> Lnet/minecraft/network/packet/s2c/play/ChunkDataS2CPacket;<init>(Lnet/minecraft/world/chunk/WorldChunk;Lnet/minecraft/world/chunk/light/LightingProvider;Ljava/util/BitSet;Ljava/util/BitSet;Z)V
    • ChunkDataS2CPacket

      public ChunkDataS2CPacket(PacketByteBuf buf)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lse;<init>(Lpn;)V
      intermediary <init> Lnet/minecraft/class_2672;<init>(Lnet/minecraft/class_2540;)V
      named <init> Lnet/minecraft/network/packet/s2c/play/ChunkDataS2CPacket;<init>(Lnet/minecraft/network/PacketByteBuf;)V
  • Method Details

    • write

      public void write(PacketByteBuf buf)
      Specified by:
      write in interface Packet<ClientPlayPacketListener>
      Mappings:
      Namespace Name Mixin selector
      official a Lqr;a(Lpn;)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 Lse;a(Lqu;)V
      intermediary method_11528 Lnet/minecraft/class_2672;method_11528(Lnet/minecraft/class_2602;)V
      named apply Lnet/minecraft/network/packet/s2c/play/ChunkDataS2CPacket;apply(Lnet/minecraft/network/listener/ClientPlayPacketListener;)V
    • getX

      public int getX()
      Mappings:
      Namespace Name Mixin selector
      official b Lse;b()I
      intermediary method_11523 Lnet/minecraft/class_2672;method_11523()I
      named getX Lnet/minecraft/network/packet/s2c/play/ChunkDataS2CPacket;getX()I
    • getZ

      public int getZ()
      Mappings:
      Namespace Name Mixin selector
      official c Lse;c()I
      intermediary method_11524 Lnet/minecraft/class_2672;method_11524()I
      named getZ Lnet/minecraft/network/packet/s2c/play/ChunkDataS2CPacket;getZ()I
    • getChunkData

      public ChunkData getChunkData()
      Mappings:
      Namespace Name Mixin selector
      official d Lse;d()Lsd;
      intermediary method_38598 Lnet/minecraft/class_2672;method_38598()Lnet/minecraft/class_6603;
      named getChunkData Lnet/minecraft/network/packet/s2c/play/ChunkDataS2CPacket;getChunkData()Lnet/minecraft/network/packet/s2c/play/ChunkData;
    • getLightData

      public LightData getLightData()
      Mappings:
      Namespace Name Mixin selector
      official e Lse;e()Lsi;
      intermediary method_38599 Lnet/minecraft/class_2672;method_38599()Lnet/minecraft/class_6606;
      named getLightData Lnet/minecraft/network/packet/s2c/play/ChunkDataS2CPacket;getLightData()Lnet/minecraft/network/packet/s2c/play/LightData;