Interface LineFormatter
- All Superinterfaces:
PortalPositionAttachment
- All Known Implementing Classes:
LegacyLineColorFormatter
,LineColorFormatter
,NoLineColorFormatter
A formatter for formatting a line on a sign
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.sgrewritten.stargate.api.network.portal.PortalPositionAttachment
PortalPositionAttachment.Type
-
Method Summary
Modifier and TypeMethodDescriptionconvertToSignLine
(LineData lineData) default SignLine[]
formatLineData
(LineData[] lineData) default PortalPositionAttachment.Type
getType()
-
Method Details
-
formatLineData
- Parameters:
lineData
-The line data to format
- Returns:
Formatted sign lines
-
convertToSignLine
-
getType
- Specified by:
getType
in interfacePortalPositionAttachment
- Returns:
The type of this attachment
-