Class WrapperPlayClientUpdateSign
java.lang.Object
com.comphenix.packetwrapper.wrappers.AbstractPacket
com.comphenix.packetwrapper.wrappers.play.serverbound.WrapperPlayClientUpdateSign
-
Field Summary
FieldsFields inherited from class com.comphenix.packetwrapper.wrappers.AbstractPacket
handle
-
Constructor Summary
ConstructorsConstructorDescriptionWrapperPlayClientUpdateSign
(com.comphenix.protocol.events.PacketContainer packet) -
Method Summary
Modifier and TypeMethodDescriptionboolean
Gets the face of the sign to updateString[]
getLines()
Retrieves the value of field 'lines'com.comphenix.protocol.wrappers.BlockPosition
getPos()
Retrieves the value of field 'pos'void
setFrontText
(boolean value) Sets the face of the sign to updatevoid
Sets the value of field 'lines'void
setPos
(com.comphenix.protocol.wrappers.BlockPosition value) Sets the value of field 'pos'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 TYPE
-
-
Constructor Details
-
WrapperPlayClientUpdateSign
public WrapperPlayClientUpdateSign() -
WrapperPlayClientUpdateSign
public WrapperPlayClientUpdateSign(com.comphenix.protocol.events.PacketContainer packet)
-
-
Method Details
-
getPos
public com.comphenix.protocol.wrappers.BlockPosition getPos()Retrieves the value of field 'pos'- Returns:
- 'pos'
-
setPos
public void setPos(com.comphenix.protocol.wrappers.BlockPosition value) Sets the value of field 'pos'- Parameters:
value
- New value for field 'pos'
-
getFrontText
public boolean getFrontText()Gets the face of the sign to update- Returns:
- whether the front (true) or on the back (false) of the sign is updated
- Since:
- 1.20
-
setFrontText
public void setFrontText(boolean value) Sets the face of the sign to update- Parameters:
value
- whether the front (true) or on the back (false) of the sign is updated- Since:
- 1.20
-
getLines
Retrieves the value of field 'lines'- Returns:
- 'lines'
-
setLines
Sets the value of field 'lines'- Parameters:
value
- New value for field 'lines'
-