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 hgintermediary net/minecraft/class_1522named 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)
-
Field Details
-
type
- Mappings:
Namespace Name Mixin selector official aLhg;a:Lhg$a;intermediary field_6276Lnet/minecraft/class_1522;field_6276:Lnet/minecraft/class_1522$class_1523;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 bLhg;b:Iintermediary field_6277Lnet/minecraft/class_1522;field_6277:Inamed portalTeleportPosLimitLnet/minecraft/network/packet/s2c/play/WorldBorderS2CPacket;portalTeleportPosLimit:I
-
centerX
private double centerX- Mappings:
Namespace Name Mixin selector official cLhg;c:Dintermediary field_6278Lnet/minecraft/class_1522;field_6278:Dnamed centerXLnet/minecraft/network/packet/s2c/play/WorldBorderS2CPacket;centerX:D
-
centerZ
private double centerZ- Mappings:
Namespace Name Mixin selector official dLhg;d:Dintermediary field_6279Lnet/minecraft/class_1522;field_6279:Dnamed centerZLnet/minecraft/network/packet/s2c/play/WorldBorderS2CPacket;centerZ:D
-
size
private double size- Mappings:
Namespace Name Mixin selector official eLhg;e:Dintermediary field_6280Lnet/minecraft/class_1522;field_6280:Dnamed sizeLnet/minecraft/network/packet/s2c/play/WorldBorderS2CPacket;size:D
-
oldSize
private double oldSize- Mappings:
Namespace Name Mixin selector official fLhg;f:Dintermediary field_6281Lnet/minecraft/class_1522;field_6281:Dnamed oldSizeLnet/minecraft/network/packet/s2c/play/WorldBorderS2CPacket;oldSize:D
-
interpolationDuration
private long interpolationDuration- Mappings:
Namespace Name Mixin selector official gLhg;g:Jintermediary field_6282Lnet/minecraft/class_1522;field_6282:Jnamed interpolationDurationLnet/minecraft/network/packet/s2c/play/WorldBorderS2CPacket;interpolationDuration:J
-
warningTime
private int warningTime- Mappings:
Namespace Name Mixin selector official hLhg;h:Iintermediary field_6283Lnet/minecraft/class_1522;field_6283:Inamed warningTimeLnet/minecraft/network/packet/s2c/play/WorldBorderS2CPacket;warningTime:I
-
warningBlocks
private int warningBlocks- Mappings:
Namespace Name Mixin selector official iLhg;i:Iintermediary field_6284Lnet/minecraft/class_1522;field_6284:Inamed warningBlocksLnet/minecraft/network/packet/s2c/play/WorldBorderS2CPacket;warningBlocks:I
-
-
Constructor Details
-
WorldBorderS2CPacket
public WorldBorderS2CPacket() -
WorldBorderS2CPacket
- Mappings:
Namespace Name Mixin selector official <init>Lhg;<init>(Lams;Lhg$a;)Vintermediary <init>Lnet/minecraft/class_1522;<init>(Lnet/minecraft/class_395;Lnet/minecraft/class_1522$class_1523;)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 aLff;a(Lem;)Vintermediary method_5238Lnet/minecraft/class_1457;method_5238(Lnet/minecraft/class_1435;)Vnamed readLnet/minecraft/network/Packet;read(Lnet/minecraft/util/PacketByteBuf;)V
-
write
- Specified by:
writein interfacePacket<ClientPlayPacketListener>- Throws:
IOException- Mappings:
Namespace Name Mixin selector official bLff;b(Lem;)Vintermediary method_5240Lnet/minecraft/class_1457;method_5240(Lnet/minecraft/class_1435;)Vnamed writeLnet/minecraft/network/Packet;write(Lnet/minecraft/util/PacketByteBuf;)V
-
apply
- Specified by:
applyin interfacePacket<ClientPlayPacketListener>- Mappings:
Namespace Name Mixin selector official aLhg;a(Lfj;)Vintermediary method_5575Lnet/minecraft/class_1522;method_5575(Lnet/minecraft/class_1462;)Vnamed applyLnet/minecraft/network/packet/s2c/play/WorldBorderS2CPacket;apply(Lnet/minecraft/network/listener/ClientPlayPacketListener;)V
-
apply
- Mappings:
Namespace Name Mixin selector official aLhg;a(Lams;)Vintermediary method_5574Lnet/minecraft/class_1522;method_5574(Lnet/minecraft/class_395;)Vnamed applyLnet/minecraft/network/packet/s2c/play/WorldBorderS2CPacket;apply(Lnet/minecraft/world/border/WorldBorder;)V
-