Class WrapperPlayClientUpdateSign

java.lang.Object
com.comphenix.packetwrapper.wrappers.AbstractPacket
com.comphenix.packetwrapper.wrappers.play.serverbound.WrapperPlayClientUpdateSign

public class WrapperPlayClientUpdateSign extends AbstractPacket
  • 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

      public String[] getLines()
      Retrieves the value of field 'lines'
      Returns:
      'lines'
    • setLines

      public void setLines(String[] value)
      Sets the value of field 'lines'
      Parameters:
      value - New value for field 'lines'