Class WorldBorderWarningTimeChangedS2CPacket

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

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

    • CODEC

      Mappings:
      Namespace Name Mixin selector
      named CODEC Lnet/minecraft/network/packet/s2c/play/WorldBorderWarningTimeChangedS2CPacket;CODEC:Lnet/minecraft/network/codec/PacketCodec;
      intermediary field_47971 Lnet/minecraft/class_5898;field_47971:Lnet/minecraft/class_9139;
      official a Laek;a:Lys;
    • warningTime

      private final int warningTime
      Mappings:
      Namespace Name Mixin selector
      named warningTime Lnet/minecraft/network/packet/s2c/play/WorldBorderWarningTimeChangedS2CPacket;warningTime:I
      intermediary field_29149 Lnet/minecraft/class_5898;field_29149:I
      official b Laek;b:I
  • Constructor Details

    • WorldBorderWarningTimeChangedS2CPacket

      public WorldBorderWarningTimeChangedS2CPacket(WorldBorder worldBorder)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/network/packet/s2c/play/WorldBorderWarningTimeChangedS2CPacket;<init>(Lnet/minecraft/world/border/WorldBorder;)V
      intermediary <init> Lnet/minecraft/class_5898;<init>(Lnet/minecraft/class_2784;)V
      official <init> Laek;<init>(Lduc;)V
    • WorldBorderWarningTimeChangedS2CPacket

      private WorldBorderWarningTimeChangedS2CPacket(PacketByteBuf buf)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/network/packet/s2c/play/WorldBorderWarningTimeChangedS2CPacket;<init>(Lnet/minecraft/network/PacketByteBuf;)V
      intermediary <init> Lnet/minecraft/class_5898;<init>(Lnet/minecraft/class_2540;)V
      official <init> Laek;<init>(Lvr;)V
  • Method Details

    • write

      private void write(PacketByteBuf buf)
      Mappings:
      Namespace Name Mixin selector
      named write Lnet/minecraft/network/packet/s2c/play/WorldBorderWarningTimeChangedS2CPacket;write(Lnet/minecraft/network/PacketByteBuf;)V
      intermediary method_55918 Lnet/minecraft/class_5898;method_55918(Lnet/minecraft/class_2540;)V
      official a Laek;a(Lvr;)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 Lzb;a()Lzd;
    • 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/WorldBorderWarningTimeChangedS2CPacket;apply(Lnet/minecraft/network/listener/ClientPlayPacketListener;)V
      intermediary method_34165 Lnet/minecraft/class_5898;method_34165(Lnet/minecraft/class_2602;)V
      official a Laek;a(Labn;)V
    • getWarningTime

      public int getWarningTime()
      Mappings:
      Namespace Name Mixin selector
      named getWarningTime Lnet/minecraft/network/packet/s2c/play/WorldBorderWarningTimeChangedS2CPacket;getWarningTime()I
      intermediary method_34166 Lnet/minecraft/class_5898;method_34166()I
      official b Laek;b()I