Class WrapperPlayServerInitializeBorder

java.lang.Object
com.comphenix.packetwrapper.wrappers.AbstractPacket
com.comphenix.packetwrapper.wrappers.play.clientbound.WrapperPlayServerInitializeBorder

public class WrapperPlayServerInitializeBorder extends AbstractPacket
  • Field Details

    • TYPE

      public static final com.comphenix.protocol.PacketType TYPE
      The packet type that is wrapped by this wrapper.
  • Constructor Details

    • WrapperPlayServerInitializeBorder

      public WrapperPlayServerInitializeBorder()
      Constructs a new wrapper and initialize it with a packet handle with default values
    • WrapperPlayServerInitializeBorder

      public WrapperPlayServerInitializeBorder(com.comphenix.protocol.events.PacketContainer packet)
      Constructors a new wrapper for the specified packet
      Parameters:
      packet - the packet to wrap
  • Method Details

    • getNewCenterX

      public double getNewCenterX()
      Retrieves the value of field 'newCenterX'
      Returns:
      'newCenterX'
    • setNewCenterX

      public void setNewCenterX(double value)
      Sets the value of field 'newCenterX'
      Parameters:
      value - New value for field 'newCenterX'
    • getNewCenterZ

      public double getNewCenterZ()
      Retrieves the value of field 'newCenterZ'
      Returns:
      'newCenterZ'
    • setNewCenterZ

      public void setNewCenterZ(double value)
      Sets the value of field 'newCenterZ'
      Parameters:
      value - New value for field 'newCenterZ'
    • getOldSize

      public double getOldSize()
      Retrieves the value of field 'oldSize'
      Returns:
      'oldSize'
    • setOldSize

      public void setOldSize(double value)
      Sets the value of field 'oldSize'
      Parameters:
      value - New value for field 'oldSize'
    • getNewSize

      public double getNewSize()
      Retrieves the value of field 'newSize'
      Returns:
      'newSize'
    • setNewSize

      public void setNewSize(double value)
      Sets the value of field 'newSize'
      Parameters:
      value - New value for field 'newSize'
    • getLerpTime

      public long getLerpTime()
      Retrieves the value of field 'lerpTime'
      Returns:
      'lerpTime'
    • setLerpTime

      public void setLerpTime(long value)
      Sets the value of field 'lerpTime'
      Parameters:
      value - New value for field 'lerpTime'
    • getNewAbsoluteMaxSize

      public int getNewAbsoluteMaxSize()
      Retrieves the value of field 'newAbsoluteMaxSize'
      Returns:
      'newAbsoluteMaxSize'
    • setNewAbsoluteMaxSize

      public void setNewAbsoluteMaxSize(int value)
      Sets the value of field 'newAbsoluteMaxSize'
      Parameters:
      value - New value for field 'newAbsoluteMaxSize'
    • getWarningBlocks

      public int getWarningBlocks()
      Retrieves the value of field 'warningBlocks'
      Returns:
      'warningBlocks'
    • setWarningBlocks

      public void setWarningBlocks(int value)
      Sets the value of field 'warningBlocks'
      Parameters:
      value - New value for field 'warningBlocks'
    • getWarningTime

      public int getWarningTime()
      Retrieves the value of field 'warningTime'
      Returns:
      'warningTime'
    • setWarningTime

      public void setWarningTime(int value)
      Sets the value of field 'warningTime'
      Parameters:
      value - New value for field 'warningTime'