TextComponent - Sign Line (Expression) — SkBee

Addon: SkBee · Category: Expression · Since: 2.4.0, 2.11.0 (front|back)

Syntax

[the] [front|back] sign line %number% of %blocks%

Description

Get/set lines of a sign with text components. Optionally set the front/back of a sign. (Defaults to front)

Examples

set sign line 1 of target block to mini message from "<rainbow>LINE ONE"
set sign line 2 of target block to translate component from "item.minecraft.diamond_sword"
set {_line1} to sign line 1 of target block
set {_line1} to front sign line 1 of target block
set back sign line 1 of {_sign} to mini message from "<rainbow>LINE ONE"

View source