Package com.nexomc.nexo.glyphs
Class AnimatedGlyph
-
- All Implemented Interfaces:
public final class AnimatedGlyph extends Glyph
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public class
AnimatedGlyph.Companion
-
Field Summary
Fields Modifier and Type Field Description public final static Integer
PRIVATE_USE_FIRST
private Integer
frameCount
private final Integer
offset
private final Key
texture
private final Key
font
private final TextColor
defaultColor
private final List<String>
unicodes
private final Array<FontProvider>
fontProviders
private final ConfigurationSection
section
private final CharArray
chars
private final String
formattedUnicodes
private final Component
component
private final Regex
baseRegex
private final Regex
escapedRegex
private final TextReplacementConfig
tagConfig
private final TextReplacementConfig
escapeTagConfig
private final TextReplacementConfig
unescapeTagConfig
private final TextReplacementConfig
placeholderConfig
private final TextReplacementConfig
escapePlaceholderConfig
private final TextReplacementConfig
unescapePlaceholderConfig
private final String
glyphTag
private final String
id
private final Integer
ascent
private final Integer
height
private final String
permission
private final List<String>
placeholders
private final Boolean
tabcomplete
private final Boolean
isEmoji
public final static AnimatedGlyph.Companion
Companion
-
Constructor Summary
Constructors Constructor Description AnimatedGlyph(ConfigurationSection section)
-
Method Summary
Modifier and Type Method Description final Integer
getFrameCount()
final Unit
setFrameCount(Integer frameCount)
final Integer
getOffset()
Key
getTexture()
Key
getFont()
TextColor
getDefaultColor()
List<String>
getUnicodes()
Array<FontProvider>
getFontProviders()
final ConfigurationSection
getSection()
Component
registerComponent()
final Unit
generateSplitGif(ResourcePack resourcePack)
-
Methods inherited from class com.nexomc.nexo.glyphs.Glyph
copy, getAscent, getBaseRegex, getChars, getComponent, getEscapePlaceholderConfig, getEscapeTagConfig, getEscapedRegex, getFormattedUnicodes, getGlyphTag, getHeight, getId, getPermission, getPlaceholderConfig, getPlaceholders, getTabcomplete, getTagConfig, getUnescapePlaceholderConfig, getUnescapeTagConfig, glyphComponent, glyphComponent, glyphComponent, glyphComponent, hasPermission, isEmoji
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
getFrameCount
final Integer getFrameCount()
-
setFrameCount
final Unit setFrameCount(Integer frameCount)
-
getTexture
Key getTexture()
-
getFont
Key getFont()
-
getDefaultColor
TextColor getDefaultColor()
-
getUnicodes
List<String> getUnicodes()
-
getFontProviders
Array<FontProvider> getFontProviders()
-
getSection
final ConfigurationSection getSection()
-
registerComponent
Component registerComponent()
-
generateSplitGif
final Unit generateSplitGif(ResourcePack resourcePack)
-
-
-
-