Class WrapperPlayServerOpenSignEditor
java.lang.Object
com.comphenix.packetwrapper.wrappers.AbstractPacket
com.comphenix.packetwrapper.wrappers.play.clientbound.WrapperPlayServerOpenSignEditor
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final com.comphenix.protocol.PacketType
The 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 valuesWrapperPlayServerOpenSignEditor
(com.comphenix.protocol.events.PacketContainer packet) -
Method Summary
Modifier and TypeMethodDescriptionboolean
Gets the field front textcom.comphenix.protocol.wrappers.BlockPosition
getPos()
Retrieves the value of field 'pos'void
setIsFrontText
(boolean value) Sets the field front textvoid
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 TYPEThe packet type that is wrapped by this wrapper.
-
-
Constructor Details
-
WrapperPlayServerOpenSignEditor
public WrapperPlayServerOpenSignEditor()Constructs a new wrapper and initialize it with a packet handle with default values -
WrapperPlayServerOpenSignEditor
public WrapperPlayServerOpenSignEditor(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'
-
getIsFrontText
public boolean getIsFrontText()Gets the field front text- Returns:
- whether the opened editor is for the front or on the back of the sign
- Since:
- 1.20
-
setIsFrontText
public void setIsFrontText(boolean value) Sets the field front text- Parameters:
value
- whether the opened editor is for the front or on the back of the sign- Since:
- 1.20
-