Class WorldBorderWarningBlocksChangedS2CPacket

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

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

    • CODEC

      Mappings:
      Namespace Name Mixin selector
      named CODEC Lnet/minecraft/network/packet/s2c/play/WorldBorderWarningBlocksChangedS2CPacket;CODEC:Lnet/minecraft/network/codec/PacketCodec;
      intermediary field_47972 Lnet/minecraft/class_5899;field_47972:Lnet/minecraft/class_9139;
      official a Lafg;a:Lzn;
    • warningBlocks

      private final int warningBlocks
      Mappings:
      Namespace Name Mixin selector
      named warningBlocks Lnet/minecraft/network/packet/s2c/play/WorldBorderWarningBlocksChangedS2CPacket;warningBlocks:I
      intermediary field_29150 Lnet/minecraft/class_5899;field_29150:I
      official b Lafg;b:I
  • Constructor Details

    • WorldBorderWarningBlocksChangedS2CPacket

      public WorldBorderWarningBlocksChangedS2CPacket(WorldBorder worldBorder)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/network/packet/s2c/play/WorldBorderWarningBlocksChangedS2CPacket;<init>(Lnet/minecraft/world/border/WorldBorder;)V
      intermediary <init> Lnet/minecraft/class_5899;<init>(Lnet/minecraft/class_2784;)V
      official <init> Lafg;<init>(Ldtv;)V
    • WorldBorderWarningBlocksChangedS2CPacket

      private WorldBorderWarningBlocksChangedS2CPacket(PacketByteBuf buf)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/network/packet/s2c/play/WorldBorderWarningBlocksChangedS2CPacket;<init>(Lnet/minecraft/network/PacketByteBuf;)V
      intermediary <init> Lnet/minecraft/class_5899;<init>(Lnet/minecraft/class_2540;)V
      official <init> Lafg;<init>(Lwm;)V
  • Method Details

    • write

      private void write(PacketByteBuf buf)
      Mappings:
      Namespace Name Mixin selector
      named write Lnet/minecraft/network/packet/s2c/play/WorldBorderWarningBlocksChangedS2CPacket;write(Lnet/minecraft/network/PacketByteBuf;)V
      intermediary method_55919 Lnet/minecraft/class_5899;method_55919(Lnet/minecraft/class_2540;)V
      official a Lafg;a(Lwm;)V
    • 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 Lzw;a()Lzy;
    • 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/WorldBorderWarningBlocksChangedS2CPacket;apply(Lnet/minecraft/network/listener/ClientPlayPacketListener;)V
      intermediary method_34167 Lnet/minecraft/class_5899;method_34167(Lnet/minecraft/class_2602;)V
      official a Lafg;a(Laci;)V
    • getWarningBlocks

      public int getWarningBlocks()
      Mappings:
      Namespace Name Mixin selector
      named getWarningBlocks Lnet/minecraft/network/packet/s2c/play/WorldBorderWarningBlocksChangedS2CPacket;getWarningBlocks()I
      intermediary method_34168 Lnet/minecraft/class_5899;method_34168()I
      official b Lafg;b()I