Skip to main content

Module sign

Module sign 

Source
Expand description

Sign block entity implementation.

Signs store text on both front and back sides, along with color and glow information.

Structsยง

SignBlockEntity
Sign block entity.
SignState ๐Ÿ”’
SignText
Text and styling for one side of a sign.

Constantsยง

MAX_EDIT_DISTANCE ๐Ÿ”’
Maximum distance (in blocks) a player can be from a sign while editing. If they move further away, the edit lock is released.
SIGN_LINES
Number of text lines on each side of a sign.