retease.blogg.se

Wurst client 1.12
Wurst client 1.12










wurst client 1.12

Public int drawString( final String text, final float x, final float y,įor( int i = 0 i > 2 | color & - 16777216 įinal float red = ( color > 16 & 0xff) / 255F įinal float green = ( color > 8 & 0xff) / 255F įinal float blue = ( color & 0xff) / 255F įinal float alpha = ( color > 24 & 0xff) / 255F įinal Color c = new Color( red, green, blue, alpha) įinal String parts = text. Public void drawCenteredStringXY( final String s, final int x, final int y,ĭrawCenteredString( s, x, y - getHeight() / 2, color, shadow) ĭrawStringWithShadow( s, x - getStringWidth( s) / 2, y, Override Public void drawCenteredString( final String s, final int x, final int y,ĭrawStringWithShadow( s, x - getStringWidth( s) / 2, y, color) ĭrawString( s, x - getStringWidth( s) / 2, y, color) Return drawString( s, x, y, color, false)

wurst client 1.12

Public int drawStringWithShadow( final String s, final float x, Return drawString( s, x, y, color, Override Public int drawString( final String s, final float x, final float y, getTextureManager(), false) ĬustomColorCodes = new Color( 0, 90, 163) ĬolorcodeIdentifiers = setupColorcodeIdentifier() New ResourceLocation( "textures/font/ascii.png"), Public WurstFontRenderer( final Font font, final boolean antiAlias, Private String colorcodeIdentifiers = "0123456789abcdefklmnor" Private WurstFont font, boldFont, italicFont, boldItalicFont Private final Color customColorCodes = new Color Public final Random fontRandom = new Random()

wurst client 1.12

Public class WurstFontRenderer extends FontRenderer












Wurst client 1.12