Class WrapperPlayServerInitializeBorder
java.lang.Object
com.comphenix.packetwrapper.wrappers.AbstractPacket
com.comphenix.packetwrapper.wrappers.play.clientbound.WrapperPlayServerInitializeBorder
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final com.comphenix.protocol.PacketTypeThe packet type that is wrapped by this wrapper.Fields inherited from class com.comphenix.packetwrapper.wrappers.AbstractPacket
handle -
Constructor Summary
ConstructorsConstructorDescriptionConstructs a new wrapper and initialize it with a packet handle with default valuesWrapperPlayServerInitializeBorder(com.comphenix.protocol.events.PacketContainer packet) Constructors a new wrapper for the specified packet -
Method Summary
Modifier and TypeMethodDescriptionlongRetrieves the value of field 'lerpTime'intRetrieves the value of field 'newAbsoluteMaxSize'doubleRetrieves the value of field 'newCenterX'doubleRetrieves the value of field 'newCenterZ'doubleRetrieves the value of field 'newSize'doubleRetrieves the value of field 'oldSize'intRetrieves the value of field 'warningBlocks'intRetrieves the value of field 'warningTime'voidsetLerpTime(long value) Sets the value of field 'lerpTime'voidsetNewAbsoluteMaxSize(int value) Sets the value of field 'newAbsoluteMaxSize'voidsetNewCenterX(double value) Sets the value of field 'newCenterX'voidsetNewCenterZ(double value) Sets the value of field 'newCenterZ'voidsetNewSize(double value) Sets the value of field 'newSize'voidsetOldSize(double value) Sets the value of field 'oldSize'voidsetWarningBlocks(int value) Sets the value of field 'warningBlocks'voidsetWarningTime(int value) Sets the value of field 'warningTime'Methods inherited from class com.comphenix.packetwrapper.wrappers.AbstractPacket
broadcastPacket, equals, getHandle, hashCode, receivePacket, sendPacket
-
Field Details
-
TYPE
public static final com.comphenix.protocol.PacketType TYPEThe 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'
-