Class ChunkLoadDistanceS2CPacket

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

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

    • CODEC

      Mappings:
      Namespace Name Mixin selector
      named CODEC Lnet/minecraft/network/packet/s2c/play/ChunkLoadDistanceS2CPacket;CODEC:Lnet/minecraft/network/codec/PacketCodec;
      intermediary field_47976 Lnet/minecraft/class_4273;field_47976:Lnet/minecraft/class_9139;
      official a Laew;a:Lyx;
    • distance

      private final int distance
      Mappings:
      Namespace Name Mixin selector
      named distance Lnet/minecraft/network/packet/s2c/play/ChunkLoadDistanceS2CPacket;distance:I
      intermediary field_19146 Lnet/minecraft/class_4273;field_19146:I
      official b Laew;b:I
  • Constructor Details

    • ChunkLoadDistanceS2CPacket

      public ChunkLoadDistanceS2CPacket(int distance)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/network/packet/s2c/play/ChunkLoadDistanceS2CPacket;<init>(I)V
      intermediary <init> Lnet/minecraft/class_4273;<init>(I)V
      official <init> Laew;<init>(I)V
    • ChunkLoadDistanceS2CPacket

      private ChunkLoadDistanceS2CPacket(PacketByteBuf buf)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/network/packet/s2c/play/ChunkLoadDistanceS2CPacket;<init>(Lnet/minecraft/network/PacketByteBuf;)V
      intermediary <init> Lnet/minecraft/class_4273;<init>(Lnet/minecraft/class_2540;)V
      official <init> Laew;<init>(Lvw;)V
  • Method Details

    • write

      private void write(PacketByteBuf buf)
      Mappings:
      Namespace Name Mixin selector
      named write Lnet/minecraft/network/packet/s2c/play/ChunkLoadDistanceS2CPacket;write(Lnet/minecraft/network/PacketByteBuf;)V
      intermediary method_55923 Lnet/minecraft/class_4273;method_55923(Lnet/minecraft/class_2540;)V
      official a Laew;a(Lvw;)V
    • getPacketId

      public PacketType<ChunkLoadDistanceS2CPacket> getPacketId()
      Specified by:
      getPacketId in interface Packet<ClientPlayPacketListener>
      Mappings:
      Namespace Name Mixin selector
      named getPacketId Lnet/minecraft/network/packet/Packet;getPacketId()Lnet/minecraft/network/packet/PacketType;
      intermediary method_55846 Lnet/minecraft/class_2596;method_55846()Lnet/minecraft/class_9145;
      official a Lzg;a()Lzi;
    • apply

      public void apply(ClientPlayPacketListener clientPlayPacketListener)
      Specified by:
      apply in interface Packet<ClientPlayPacketListener>
      Mappings:
      Namespace Name Mixin selector
      named apply Lnet/minecraft/network/packet/s2c/play/ChunkLoadDistanceS2CPacket;apply(Lnet/minecraft/network/listener/ClientPlayPacketListener;)V
      intermediary method_20205 Lnet/minecraft/class_4273;method_20205(Lnet/minecraft/class_2602;)V
      official a Laew;a(Labu;)V
    • getDistance

      public int getDistance()
      Mappings:
      Namespace Name Mixin selector
      named getDistance Lnet/minecraft/network/packet/s2c/play/ChunkLoadDistanceS2CPacket;getDistance()I
      intermediary method_20206 Lnet/minecraft/class_4273;method_20206()I
      official b Laew;b()I