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
named net/minecraft/network/packet/s2c/play/WorldBorderCenterChangedS2CPacket
intermediary net/minecraft/class_5895
official afq
  • Field Details

    • CODEC

      Mappings:
      Namespace Name Mixin selector
      named CODEC Lnet/minecraft/network/packet/s2c/play/WorldBorderCenterChangedS2CPacket;CODEC:Lnet/minecraft/network/codec/PacketCodec;
      intermediary field_47968 Lnet/minecraft/class_5895;field_47968:Lnet/minecraft/class_9139;
      official a Lafq;a:Lzt;
    • centerX

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

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

    • WorldBorderCenterChangedS2CPacket

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

      private WorldBorderCenterChangedS2CPacket(PacketByteBuf buf)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/network/packet/s2c/play/WorldBorderCenterChangedS2CPacket;<init>(Lnet/minecraft/network/PacketByteBuf;)V
      intermediary <init> Lnet/minecraft/class_5895;<init>(Lnet/minecraft/class_2540;)V
      official <init> Lafq;<init>(Lws;)V
  • Method Details

    • write

      private void write(PacketByteBuf buf)
      Mappings:
      Namespace Name Mixin selector
      named write Lnet/minecraft/network/packet/s2c/play/WorldBorderCenterChangedS2CPacket;write(Lnet/minecraft/network/PacketByteBuf;)V
      intermediary method_55915 Lnet/minecraft/class_5895;method_55915(Lnet/minecraft/class_2540;)V
      official a Lafq;a(Lws;)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 Laac;a()Laae;
    • 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/WorldBorderCenterChangedS2CPacket;apply(Lnet/minecraft/network/listener/ClientPlayPacketListener;)V
      intermediary method_34156 Lnet/minecraft/class_5895;method_34156(Lnet/minecraft/class_2602;)V
      official a Lafq;a(Lacr;)V
    • getCenterZ

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

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