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 doublestatic final StreamCodec<FriendlyByteBuf, ClientboundInitializeBorderPacket> private final intprivate final int - 
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateClientboundInitializeBorderPacket(WorldBorder pWorldBorder)  - 
Method Summary
Modifier and TypeMethodDescriptionlongintdoubledoubledoubledoubleintintvoidhandle(ClientGamePacketListener p_178885_) Passes this Packet on to the PacketListener for processing.type()private voidwrite(FriendlyByteBuf pBuffer) 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, isTerminal 
- 
Field Details
- 
STREAM_CODEC
 - 
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
 - 
type
- Specified by:
 typein interfacePacket<ClientGamePacketListener>
 - 
handle
Description copied from interface:PacketPasses this Packet on to the PacketListener for processing.- 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() 
 -