Class WorldBorderS2CPacket

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

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

    • type

      Mappings:
      Namespace Name Mixin selector
      official a Lhg;a:Lhg$a;
      intermediary field_6276 Lnet/minecraft/class_1522;field_6276:Lnet/minecraft/class_1522$class_1523;
      named type Lnet/minecraft/network/packet/s2c/play/WorldBorderS2CPacket;type:Lnet/minecraft/network/packet/s2c/play/WorldBorderS2CPacket$Type;
    • portalTeleportPosLimit

      private int portalTeleportPosLimit
      Mappings:
      Namespace Name Mixin selector
      official b Lhg;b:I
      intermediary field_6277 Lnet/minecraft/class_1522;field_6277:I
      named portalTeleportPosLimit Lnet/minecraft/network/packet/s2c/play/WorldBorderS2CPacket;portalTeleportPosLimit:I
    • centerX

      private double centerX
      Mappings:
      Namespace Name Mixin selector
      official c Lhg;c:D
      intermediary field_6278 Lnet/minecraft/class_1522;field_6278:D
      named centerX Lnet/minecraft/network/packet/s2c/play/WorldBorderS2CPacket;centerX:D
    • centerZ

      private double centerZ
      Mappings:
      Namespace Name Mixin selector
      official d Lhg;d:D
      intermediary field_6279 Lnet/minecraft/class_1522;field_6279:D
      named centerZ Lnet/minecraft/network/packet/s2c/play/WorldBorderS2CPacket;centerZ:D
    • size

      private double size
      Mappings:
      Namespace Name Mixin selector
      official e Lhg;e:D
      intermediary field_6280 Lnet/minecraft/class_1522;field_6280:D
      named size Lnet/minecraft/network/packet/s2c/play/WorldBorderS2CPacket;size:D
    • oldSize

      private double oldSize
      Mappings:
      Namespace Name Mixin selector
      official f Lhg;f:D
      intermediary field_6281 Lnet/minecraft/class_1522;field_6281:D
      named oldSize Lnet/minecraft/network/packet/s2c/play/WorldBorderS2CPacket;oldSize:D
    • interpolationDuration

      private long interpolationDuration
      Mappings:
      Namespace Name Mixin selector
      official g Lhg;g:J
      intermediary field_6282 Lnet/minecraft/class_1522;field_6282:J
      named interpolationDuration Lnet/minecraft/network/packet/s2c/play/WorldBorderS2CPacket;interpolationDuration:J
    • warningTime

      private int warningTime
      Mappings:
      Namespace Name Mixin selector
      official h Lhg;h:I
      intermediary field_6283 Lnet/minecraft/class_1522;field_6283:I
      named warningTime Lnet/minecraft/network/packet/s2c/play/WorldBorderS2CPacket;warningTime:I
    • warningBlocks

      private int warningBlocks
      Mappings:
      Namespace Name Mixin selector
      official i Lhg;i:I
      intermediary field_6284 Lnet/minecraft/class_1522;field_6284:I
      named warningBlocks Lnet/minecraft/network/packet/s2c/play/WorldBorderS2CPacket;warningBlocks:I
  • Constructor Details

    • WorldBorderS2CPacket

      public WorldBorderS2CPacket()
    • WorldBorderS2CPacket

      public WorldBorderS2CPacket​(WorldBorder border, WorldBorderS2CPacket.Type type)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lhg;<init>(Lams;Lhg$a;)V
      intermediary <init> Lnet/minecraft/class_1522;<init>(Lnet/minecraft/class_395;Lnet/minecraft/class_1522$class_1523;)V
      named <init> Lnet/minecraft/network/packet/s2c/play/WorldBorderS2CPacket;<init>(Lnet/minecraft/world/border/WorldBorder;Lnet/minecraft/network/packet/s2c/play/WorldBorderS2CPacket$Type;)V
  • Method Details

    • read

      public void read​(PacketByteBuf buf) throws IOException
      Specified by:
      read in interface Packet<ClientPlayPacketListener>
      Throws:
      IOException
      Mappings:
      Namespace Name Mixin selector
      official a Lff;a(Lem;)V
      intermediary method_5238 Lnet/minecraft/class_1457;method_5238(Lnet/minecraft/class_1435;)V
      named read Lnet/minecraft/network/Packet;read(Lnet/minecraft/util/PacketByteBuf;)V
    • write

      public void write​(PacketByteBuf buf) throws IOException
      Specified by:
      write in interface Packet<ClientPlayPacketListener>
      Throws:
      IOException
      Mappings:
      Namespace Name Mixin selector
      official b Lff;b(Lem;)V
      intermediary method_5240 Lnet/minecraft/class_1457;method_5240(Lnet/minecraft/class_1435;)V
      named write Lnet/minecraft/network/Packet;write(Lnet/minecraft/util/PacketByteBuf;)V
    • apply

      public void apply​(ClientPlayPacketListener clientPlayPacketListener)
      Specified by:
      apply in interface Packet<ClientPlayPacketListener>
      Mappings:
      Namespace Name Mixin selector
      official a Lhg;a(Lfj;)V
      intermediary method_5575 Lnet/minecraft/class_1522;method_5575(Lnet/minecraft/class_1462;)V
      named apply Lnet/minecraft/network/packet/s2c/play/WorldBorderS2CPacket;apply(Lnet/minecraft/network/listener/ClientPlayPacketListener;)V
    • apply

      @Environment(CLIENT) public void apply​(WorldBorder border)
      Mappings:
      Namespace Name Mixin selector
      official a Lhg;a(Lams;)V
      intermediary method_5574 Lnet/minecraft/class_1522;method_5574(Lnet/minecraft/class_395;)V
      named apply Lnet/minecraft/network/packet/s2c/play/WorldBorderS2CPacket;apply(Lnet/minecraft/world/border/WorldBorder;)V