Class SWorldBorderPacket
java.lang.Object
net.minecraft.network.play.server.SWorldBorderPacket
- All Implemented Interfaces:
IPacket<IClientPlayNetHandler>
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionprivate long
private int
private double
private double
private double
private double
private SWorldBorderPacket.Action
private int
private int
-
Constructor Summary
ConstructorDescriptionSWorldBorderPacket
(WorldBorder p_i46921_1_, SWorldBorderPacket.Action p_i46921_2_) -
Method Summary
Modifier and TypeMethodDescriptionvoid
applyChanges
(WorldBorder p_179788_1_) void
handle
(IClientPlayNetHandler p_148833_1_) void
read
(PacketBuffer p_148837_1_) void
write
(PacketBuffer p_148840_1_) 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.IPacket
isSkippable
-
Field Details
-
type
-
newAbsoluteMaxSize
private int newAbsoluteMaxSize -
newCenterX
private double newCenterX -
newCenterZ
private double newCenterZ -
newSize
private double newSize -
oldSize
private double oldSize -
lerpTime
private long lerpTime -
warningTime
private int warningTime -
warningBlocks
private int warningBlocks
-
-
Constructor Details
-
SWorldBorderPacket
public SWorldBorderPacket() -
SWorldBorderPacket
-
-
Method Details
-
read
- Specified by:
read
in interfaceIPacket<IClientPlayNetHandler>
- Throws:
IOException
-
write
- Specified by:
write
in interfaceIPacket<IClientPlayNetHandler>
- Throws:
IOException
-
handle
- Specified by:
handle
in interfaceIPacket<IClientPlayNetHandler>
-
applyChanges
-