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 SummaryFieldsModifier and TypeFieldDescriptionprivate final longprivate final intprivate final doubleprivate final doubleprivate final doubleprivate final doubleprivate final intprivate final int
- 
Constructor SummaryConstructorsConstructorDescriptionClientboundInitializeBorderPacket(FriendlyByteBuf p_178879_) ClientboundInitializeBorderPacket(WorldBorder p_178877_) 
- 
Method SummaryModifier and TypeMethodDescriptionlongintdoubledoubledoubledoubleintintvoidhandle(ClientGamePacketListener p_178885_) voidwrite(FriendlyByteBuf p_178881_) Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.network.protocol.PacketisSkippable, nextProtocol
- 
Field Details- 
newCenterXprivate final double newCenterX
- 
newCenterZprivate final double newCenterZ
- 
oldSizeprivate final double oldSize
- 
newSizeprivate final double newSize
- 
lerpTimeprivate final long lerpTime
- 
newAbsoluteMaxSizeprivate final int newAbsoluteMaxSize
- 
warningBlocksprivate final int warningBlocks
- 
warningTimeprivate final int warningTime
 
- 
- 
Constructor Details- 
ClientboundInitializeBorderPacket
- 
ClientboundInitializeBorderPacket
 
- 
- 
Method Details- 
write- Specified by:
- writein interface- Packet<ClientGamePacketListener>
 
- 
handle- Specified by:
- handlein interface- Packet<ClientGamePacketListener>
 
- 
getNewCenterXpublic double getNewCenterX()
- 
getNewCenterZpublic double getNewCenterZ()
- 
getNewSizepublic double getNewSize()
- 
getOldSizepublic double getOldSize()
- 
getLerpTimepublic long getLerpTime()
- 
getNewAbsoluteMaxSizepublic int getNewAbsoluteMaxSize()
- 
getWarningTimepublic int getWarningTime()
- 
getWarningBlockspublic int getWarningBlocks()
 
-