Class AdventureComponentFormat
java.lang.Object
eu.cloudnetservice.ext.component.JavaEditionComponentFormat<Component>
eu.cloudnetservice.ext.component.AdventureComponentFormat
- All Implemented Interfaces:
ComponentFormat<Component>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final charprivate static final intprivate static final net.kyori.adventure.text.serializer.legacy.LegacyComponentSerializerFields inherited from class JavaEditionComponentFormat
COLOR_CHAR, LEGACY_CHAR -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncharintbooleannextSegmentIsHexadecimalFormatting(char[] fullData, int pos, char current, char next) booleanMethods inherited from class JavaEditionComponentFormat
charIsValidColorIndicationChar, colorIndicationChar, converterTo, nextSegmentIsLegacyFormatting
-
Field Details
-
HEX_CHAR
private static final char HEX_CHAR- See Also:
-
HEX_SEG_LENGTH
private static final int HEX_SEG_LENGTH- See Also:
-
SERIALIZER
private static final net.kyori.adventure.text.serializer.legacy.LegacyComponentSerializer SERIALIZER
-
-
Constructor Details
-
AdventureComponentFormat
AdventureComponentFormat()
-
-
Method Details
-
hexSegmentLength
public int hexSegmentLength() -
hexIndicationChar
public char hexIndicationChar() -
usesColorCharAsHexDelimiter
public boolean usesColorCharAsHexDelimiter() -
nextSegmentIsHexadecimalFormatting
public boolean nextSegmentIsHexadecimalFormatting(char[] fullData, int pos, char current, char next) -
encodeStringToComponent
-