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
official sd
intermediary net/minecraft/class_5898
named net/minecraft/network/packet/s2c/play/WorldBorderWarningTimeChangedS2CPacket
  • Field Details

    • warningTime

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

    • WorldBorderWarningTimeChangedS2CPacket

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

      public WorldBorderWarningTimeChangedS2CPacket(PacketByteBuf buf)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lsd;<init>(Log;)V
      intermediary <init> Lnet/minecraft/class_5898;<init>(Lnet/minecraft/class_2540;)V
      named <init> Lnet/minecraft/network/packet/s2c/play/WorldBorderWarningTimeChangedS2CPacket;<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 Lpk;a(Log;)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 Lsd;a(Lpn;)V
      intermediary method_34165 Lnet/minecraft/class_5898;method_34165(Lnet/minecraft/class_2602;)V
      named apply Lnet/minecraft/network/packet/s2c/play/WorldBorderWarningTimeChangedS2CPacket;apply(Lnet/minecraft/network/listener/ClientPlayPacketListener;)V
    • getWarningTime

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