Class ClientboundInitializeBorderPacket
java.lang.Object
net.minecraft.network.protocol.game.ClientboundInitializeBorderPacket
- All Implemented Interfaces:
 Packet<ClientGamePacketListener>
public class ClientboundInitializeBorderPacket
extends Object
implements Packet<ClientGamePacketListener>
- 
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final longprivate final intprivate final doubleprivate final doubleprivate final doubleprivate final doubleprivate final intprivate final int - 
Constructor Summary
ConstructorsConstructorDescriptionClientboundInitializeBorderPacket(FriendlyByteBuf p_178879_) ClientboundInitializeBorderPacket(WorldBorder p_178877_)  - 
Method Summary
Modifier and TypeMethodDescriptionlongintdoubledoubledoubledoubleintintvoidhandle(ClientGamePacketListener p_178885_) voidwrite(FriendlyByteBuf p_178881_) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.network.protocol.Packet
isSkippable, nextProtocol 
- 
Field Details
- 
newCenterX
private final double newCenterX - 
newCenterZ
private final double newCenterZ - 
oldSize
private final double oldSize - 
newSize
private final double newSize - 
lerpTime
private final long lerpTime - 
newAbsoluteMaxSize
private final int newAbsoluteMaxSize - 
warningBlocks
private final int warningBlocks - 
warningTime
private final int warningTime 
 - 
 - 
Constructor Details
- 
ClientboundInitializeBorderPacket
 - 
ClientboundInitializeBorderPacket
 
 - 
 - 
Method Details
- 
write
- Specified by:
 writein interfacePacket<ClientGamePacketListener>
 - 
handle
- Specified by:
 handlein interfacePacket<ClientGamePacketListener>
 - 
getNewCenterX
public double getNewCenterX() - 
getNewCenterZ
public double getNewCenterZ() - 
getNewSize
public double getNewSize() - 
getOldSize
public double getOldSize() - 
getLerpTime
public long getLerpTime() - 
getNewAbsoluteMaxSize
public int getNewAbsoluteMaxSize() - 
getWarningTime
public int getWarningTime() - 
getWarningBlocks
public int getWarningBlocks() 
 -