Class SWorldBorderPacket
java.lang.Object
net.minecraft.network.play.server.SWorldBorderPacket
- All Implemented Interfaces:
IPacket<IClientPlayNetHandler>
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate longprivate intprivate doubleprivate doubleprivate doubleprivate doubleprivate SWorldBorderPacket.Actionprivate intprivate int -
Constructor Summary
ConstructorsConstructorDescriptionSWorldBorderPacket(WorldBorder p_i46921_1_, SWorldBorderPacket.Action p_i46921_2_) -
Method Summary
Modifier and TypeMethodDescriptionvoidapplyChanges(WorldBorder p_179788_1_) voidhandle(IClientPlayNetHandler p_148833_1_) voidread(PacketBuffer p_148837_1_) voidwrite(PacketBuffer p_148840_1_) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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:
readin interfaceIPacket<IClientPlayNetHandler>- Throws:
IOException
-
write
- Specified by:
writein interfaceIPacket<IClientPlayNetHandler>- Throws:
IOException
-
handle
- Specified by:
handlein interfaceIPacket<IClientPlayNetHandler>
-
applyChanges
-