Interface SignText
- All Superinterfaces:
BuildableDataComponent<SignText, SignText.Builder>
@NullMarked
@NonExtendable
public interface SignText
extends BuildableDataComponent<SignText, SignText.Builder>
Represents the text on a sign side.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptioncolor()Gets the color of the text on this sign side.Gets the list of messages on this sign side, filtered for the player.booleanChecks if the text on this sign side has a glowing effect.messages()Gets the list of messages on this sign side.static SignText.BuildersignText()static SignText.BuildersignText(List<? extends ComponentLike> messages) Methods inherited from interface BuildableDataComponent
toBuilder
-
Method Details
-
signText
@Contract(value="_ -> new", pure=true) static SignText.Builder signText(List<? extends ComponentLike> messages) -
signText
-
messages
-
filteredMessages
-
color
-
hasGlowingText
-