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 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

      public ClientboundInitializeBorderPacket(FriendlyByteBuf p_178879_)
    • ClientboundInitializeBorderPacket

      public ClientboundInitializeBorderPacket(WorldBorder p_178877_)
  • Method Details

    • write

      public void write(FriendlyByteBuf p_178881_)
      Specified by:
      write in interface Packet<ClientGamePacketListener>
    • handle

      public void handle(ClientGamePacketListener p_178885_)
      Specified by:
      handle in interface Packet<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()