Class RenderableGlyphDiff
java.lang.Object
com.viaversion.viafabricplus.features.font.RenderableGlyphDiff
Data dump which contains the
ProtocolVersion for each renderable glyph. This is used to hide characters
which are not supported by the current protocol version. This is because some servers in older versions are using
characters which the client doesn't know about and therefore can't render as placeholder for e.g. scoreboards, we have
to hide them because our client would render them as a different character.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidinit()static booleanisGlyphRenderable(int codePoint)
-
Constructor Details
-
RenderableGlyphDiff
public RenderableGlyphDiff()
-
-
Method Details
-
init
public static void init() -
isGlyphRenderable
public static boolean isGlyphRenderable(int codePoint) - Parameters:
codePoint- the code point to check- Returns:
- true if the given code point is renderable in the current version of the game
-