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 rlintermediary net/minecraft/class_2730named net/minecraft/network/packet/s2c/play/WorldBorderS2CPacket
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classWorldBorderS2CPacket.Type -
Field Summary
Fields Modifier and Type Field Description private doublecenterXprivate doublecenterZprivate longinterpolationDurationprivate doubleoldSizeprivate intportalTeleportPosLimitprivate doublesizeprivate WorldBorderS2CPacket.Typetypeprivate intwarningBlocksprivate intwarningTime -
Constructor Summary
Constructors Constructor Description WorldBorderS2CPacket()WorldBorderS2CPacket(WorldBorder border, WorldBorderS2CPacket.Type type) -
Method Summary
Modifier and Type Method Description voidapply(ClientPlayPacketListener clientPlayPacketListener)voidapply(WorldBorder border)voidread(PacketByteBuf buf)voidwrite(PacketByteBuf buf)Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.network.Packet
isWritingErrorSkippable
-
Field Details
-
type
- Mappings:
Namespace Name Mixin selector official aLrl;a:Lrl$a;intermediary field_12448Lnet/minecraft/class_2730;field_12448:Lnet/minecraft/class_2730$class_2731;named typeLnet/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 bLrl;b:Iintermediary field_12446Lnet/minecraft/class_2730;field_12446:Inamed portalTeleportPosLimitLnet/minecraft/network/packet/s2c/play/WorldBorderS2CPacket;portalTeleportPosLimit:I
-
centerX
private double centerX- Mappings:
Namespace Name Mixin selector official cLrl;c:Dintermediary field_12443Lnet/minecraft/class_2730;field_12443:Dnamed centerXLnet/minecraft/network/packet/s2c/play/WorldBorderS2CPacket;centerX:D
-
centerZ
private double centerZ- Mappings:
Namespace Name Mixin selector official dLrl;d:Dintermediary field_12441Lnet/minecraft/class_2730;field_12441:Dnamed centerZLnet/minecraft/network/packet/s2c/play/WorldBorderS2CPacket;centerZ:D
-
size
private double size- Mappings:
Namespace Name Mixin selector official eLrl;e:Dintermediary field_12449Lnet/minecraft/class_2730;field_12449:Dnamed sizeLnet/minecraft/network/packet/s2c/play/WorldBorderS2CPacket;size:D
-
oldSize
private double oldSize- Mappings:
Namespace Name Mixin selector official fLrl;f:Dintermediary field_12447Lnet/minecraft/class_2730;field_12447:Dnamed oldSizeLnet/minecraft/network/packet/s2c/play/WorldBorderS2CPacket;oldSize:D
-
interpolationDuration
private long interpolationDuration- Mappings:
Namespace Name Mixin selector official gLrl;g:Jintermediary field_12445Lnet/minecraft/class_2730;field_12445:Jnamed interpolationDurationLnet/minecraft/network/packet/s2c/play/WorldBorderS2CPacket;interpolationDuration:J
-
warningTime
private int warningTime- Mappings:
Namespace Name Mixin selector official hLrl;h:Iintermediary field_12444Lnet/minecraft/class_2730;field_12444:Inamed warningTimeLnet/minecraft/network/packet/s2c/play/WorldBorderS2CPacket;warningTime:I
-
warningBlocks
private int warningBlocks- Mappings:
Namespace Name Mixin selector official iLrl;i:Iintermediary field_12442Lnet/minecraft/class_2730;field_12442:Inamed warningBlocksLnet/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;)Vintermediary <init>Lnet/minecraft/class_2730;<init>(Lnet/minecraft/class_2784;Lnet/minecraft/class_2730$class_2731;)Vnamed <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:
readin interfacePacket<ClientPlayPacketListener>- Throws:
IOException- Mappings:
Namespace Name Mixin selector official aLpa;a(Lnw;)Vintermediary method_11053Lnet/minecraft/class_2596;method_11053(Lnet/minecraft/class_2540;)Vnamed readLnet/minecraft/network/Packet;read(Lnet/minecraft/network/PacketByteBuf;)V
-
write
- Specified by:
writein interfacePacket<ClientPlayPacketListener>- Throws:
IOException- Mappings:
Namespace Name Mixin selector official bLpa;b(Lnw;)Vintermediary method_11052Lnet/minecraft/class_2596;method_11052(Lnet/minecraft/class_2540;)Vnamed writeLnet/minecraft/network/Packet;write(Lnet/minecraft/network/PacketByteBuf;)V
-
apply
- Specified by:
applyin interfacePacket<ClientPlayPacketListener>- Mappings:
Namespace Name Mixin selector official aLrl;a(Lpd;)Vintermediary method_11796Lnet/minecraft/class_2730;method_11796(Lnet/minecraft/class_2602;)Vnamed applyLnet/minecraft/network/packet/s2c/play/WorldBorderS2CPacket;apply(Lnet/minecraft/network/listener/ClientPlayPacketListener;)V
-
apply
- Mappings:
Namespace Name Mixin selector official aLrl;a(Lcjj;)Vintermediary method_11795Lnet/minecraft/class_2730;method_11795(Lnet/minecraft/class_2784;)Vnamed applyLnet/minecraft/network/packet/s2c/play/WorldBorderS2CPacket;apply(Lnet/minecraft/world/border/WorldBorder;)V
-