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
official xp
intermediary net/minecraft/class_5899
named net/minecraft/network/packet/s2c/play/WorldBorderWarningBlocksChangedS2CPacket
  • Field Details

    • warningBlocks

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

    • WorldBorderWarningBlocksChangedS2CPacket

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

      public WorldBorderWarningBlocksChangedS2CPacket(PacketByteBuf buf)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lxp;<init>(Lsf;)V
      intermediary <init> Lnet/minecraft/class_5899;<init>(Lnet/minecraft/class_2540;)V
      named <init> Lnet/minecraft/network/packet/s2c/play/WorldBorderWarningBlocksChangedS2CPacket;<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 Luo;a(Lsf;)V
      intermediary method_11052 Lnet/minecraft/class_2596;method_11052(Lnet/minecraft/class_2540;)V
      named write Lnet/minecraft/network/packet/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 Lxp;a(Lur;)V
      intermediary method_34167 Lnet/minecraft/class_5899;method_34167(Lnet/minecraft/class_2602;)V
      named apply Lnet/minecraft/network/packet/s2c/play/WorldBorderWarningBlocksChangedS2CPacket;apply(Lnet/minecraft/network/listener/ClientPlayPacketListener;)V
    • getWarningBlocks

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