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 rl
intermediary net/minecraft/class_2730
named net/minecraft/network/packet/s2c/play/WorldBorderS2CPacket
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
WorldBorderS2CPacket.Type
-
Field Summary
Fields Modifier and Type Field Description private double
centerX
private double
centerZ
private long
interpolationDuration
private double
oldSize
private int
portalTeleportPosLimit
private double
size
private WorldBorderS2CPacket.Type
type
private int
warningBlocks
private int
warningTime
-
Constructor Summary
Constructors Constructor Description WorldBorderS2CPacket()
WorldBorderS2CPacket(WorldBorder border, WorldBorderS2CPacket.Type type)
-
Method Summary
Modifier and Type Method Description void
apply(ClientPlayPacketListener clientPlayPacketListener)
void
apply(WorldBorder border)
void
read(PacketByteBuf buf)
void
write(PacketByteBuf buf)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraft.network.Packet
isWritingErrorSkippable
-
Field Details
-
type
- Mappings:
Namespace Name Mixin selector official a
Lrl;a:Lrl$a;
intermediary field_12448
Lnet/minecraft/class_2730;field_12448:Lnet/minecraft/class_2730$class_2731;
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
Lrl;b:I
intermediary field_12446
Lnet/minecraft/class_2730;field_12446:I
named portalTeleportPosLimit
Lnet/minecraft/network/packet/s2c/play/WorldBorderS2CPacket;portalTeleportPosLimit:I
-
centerX
private double centerX- Mappings:
Namespace Name Mixin selector official c
Lrl;c:D
intermediary field_12443
Lnet/minecraft/class_2730;field_12443:D
named centerX
Lnet/minecraft/network/packet/s2c/play/WorldBorderS2CPacket;centerX:D
-
centerZ
private double centerZ- Mappings:
Namespace Name Mixin selector official d
Lrl;d:D
intermediary field_12441
Lnet/minecraft/class_2730;field_12441:D
named centerZ
Lnet/minecraft/network/packet/s2c/play/WorldBorderS2CPacket;centerZ:D
-
size
private double size- Mappings:
Namespace Name Mixin selector official e
Lrl;e:D
intermediary field_12449
Lnet/minecraft/class_2730;field_12449:D
named size
Lnet/minecraft/network/packet/s2c/play/WorldBorderS2CPacket;size:D
-
oldSize
private double oldSize- Mappings:
Namespace Name Mixin selector official f
Lrl;f:D
intermediary field_12447
Lnet/minecraft/class_2730;field_12447:D
named oldSize
Lnet/minecraft/network/packet/s2c/play/WorldBorderS2CPacket;oldSize:D
-
interpolationDuration
private long interpolationDuration- Mappings:
Namespace Name Mixin selector official g
Lrl;g:J
intermediary field_12445
Lnet/minecraft/class_2730;field_12445:J
named interpolationDuration
Lnet/minecraft/network/packet/s2c/play/WorldBorderS2CPacket;interpolationDuration:J
-
warningTime
private int warningTime- Mappings:
Namespace Name Mixin selector official h
Lrl;h:I
intermediary field_12444
Lnet/minecraft/class_2730;field_12444:I
named warningTime
Lnet/minecraft/network/packet/s2c/play/WorldBorderS2CPacket;warningTime:I
-
warningBlocks
private int warningBlocks- Mappings:
Namespace Name Mixin selector official i
Lrl;i:I
intermediary field_12442
Lnet/minecraft/class_2730;field_12442:I
named warningBlocks
Lnet/minecraft/network/packet/s2c/play/WorldBorderS2CPacket;warningBlocks:I
-
-
Constructor Details
-
WorldBorderS2CPacket
public WorldBorderS2CPacket() -
WorldBorderS2CPacket
- Mappings:
Namespace Name Mixin selector official <init>
Lrl;<init>(Lcjj;Lrl$a;)V
intermediary <init>
Lnet/minecraft/class_2730;<init>(Lnet/minecraft/class_2784;Lnet/minecraft/class_2730$class_2731;)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
- Specified by:
read
in interfacePacket<ClientPlayPacketListener>
- Throws:
IOException
- Mappings:
Namespace Name Mixin selector official a
Lpa;a(Lnw;)V
intermediary method_11053
Lnet/minecraft/class_2596;method_11053(Lnet/minecraft/class_2540;)V
named read
Lnet/minecraft/network/Packet;read(Lnet/minecraft/network/PacketByteBuf;)V
-
write
- Specified by:
write
in interfacePacket<ClientPlayPacketListener>
- Throws:
IOException
- Mappings:
Namespace Name Mixin selector official b
Lpa;b(Lnw;)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
- Specified by:
apply
in interfacePacket<ClientPlayPacketListener>
- Mappings:
Namespace Name Mixin selector official a
Lrl;a(Lpd;)V
intermediary method_11796
Lnet/minecraft/class_2730;method_11796(Lnet/minecraft/class_2602;)V
named apply
Lnet/minecraft/network/packet/s2c/play/WorldBorderS2CPacket;apply(Lnet/minecraft/network/listener/ClientPlayPacketListener;)V
-
apply
- Mappings:
Namespace Name Mixin selector official a
Lrl;a(Lcjj;)V
intermediary method_11795
Lnet/minecraft/class_2730;method_11795(Lnet/minecraft/class_2784;)V
named apply
Lnet/minecraft/network/packet/s2c/play/WorldBorderS2CPacket;apply(Lnet/minecraft/world/border/WorldBorder;)V
-