Interface UpdateSignPacketView

All Superinterfaces:
PacketView

public interface UpdateSignPacketView extends PacketView
Copy-on-write indexed view of a serverbound sign update.
  • Method Summary

    Modifier and Type
    Method
    Description
    int
     
    int
     
    int
     
    boolean
     
    void
    frontText(boolean frontText)
    Changes whether the update targets the front text.
    line(int index)
     
    void
    line(int index, String line)
    Changes one of the four lines to a non-null value of at most 384 UTF-16 code units.
    int
     
    void
    position(int blockX, int blockY, int blockZ)
    Changes the sign block position.

    Methods inherited from interface devs.beer.nativepackets.api.PacketView

    isModified, nativeHandle, type
  • Method Details

    • blockX

      int blockX()
    • blockY

      int blockY()
    • blockZ

      int blockZ()
    • position

      void position(int blockX, int blockY, int blockZ)
      Changes the sign block position.
    • frontText

      boolean frontText()
    • frontText

      void frontText(boolean frontText)
      Changes whether the update targets the front text.
    • lineCount

      int lineCount()
    • line

      String line(int index)
    • line

      void line(int index, String line)
      Changes one of the four lines to a non-null value of at most 384 UTF-16 code units.