Class WorldBorderCenterChangedS2CPacket

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

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

    • centerX

      private final double centerX
      Mappings:
      Namespace Name Mixin selector
      official a Lxl;a:D
      intermediary field_29143 Lnet/minecraft/class_5895;field_29143:D
      named centerX Lnet/minecraft/network/packet/s2c/play/WorldBorderCenterChangedS2CPacket;centerX:D
    • centerZ

      private final double centerZ
      Mappings:
      Namespace Name Mixin selector
      official b Lxl;b:D
      intermediary field_29144 Lnet/minecraft/class_5895;field_29144:D
      named centerZ Lnet/minecraft/network/packet/s2c/play/WorldBorderCenterChangedS2CPacket;centerZ:D
  • Constructor Details

    • WorldBorderCenterChangedS2CPacket

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

      public WorldBorderCenterChangedS2CPacket(PacketByteBuf buf)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lxl;<init>(Lsf;)V
      intermediary <init> Lnet/minecraft/class_5895;<init>(Lnet/minecraft/class_2540;)V
      named <init> Lnet/minecraft/network/packet/s2c/play/WorldBorderCenterChangedS2CPacket;<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 Lxl;a(Lur;)V
      intermediary method_34156 Lnet/minecraft/class_5895;method_34156(Lnet/minecraft/class_2602;)V
      named apply Lnet/minecraft/network/packet/s2c/play/WorldBorderCenterChangedS2CPacket;apply(Lnet/minecraft/network/listener/ClientPlayPacketListener;)V
    • getCenterZ

      public double getCenterZ()
      Mappings:
      Namespace Name Mixin selector
      official a Lxl;a()D
      intermediary method_34157 Lnet/minecraft/class_5895;method_34157()D
      named getCenterZ Lnet/minecraft/network/packet/s2c/play/WorldBorderCenterChangedS2CPacket;getCenterZ()D
    • getCenterX

      public double getCenterX()
      Mappings:
      Namespace Name Mixin selector
      official c Lxl;c()D
      intermediary method_34158 Lnet/minecraft/class_5895;method_34158()D
      named getCenterX Lnet/minecraft/network/packet/s2c/play/WorldBorderCenterChangedS2CPacket;getCenterX()D