Package net.minecraft.client.renderer.entity

Examples of net.minecraft.client.renderer.entity.RenderManager


    /**
     * Renders a floating text in a specific position.
     */
    public static void renderFloatingText(String text, float x, float y, float z, int color)
    {
        RenderManager renderManager = RenderManager.instance;
        FontRenderer fontRenderer = renderManager.getFontRenderer();
        float scale = 0.027f;
        GL11.glColor4f(1f, 1f, 1f, 0.5f);
        GL11.glPushMatrix();
        GL11.glTranslatef(x + 0.0F, y + 2.3F, z);
        GL11.glNormal3f(0.0F, 1.0F, 0.0F);
View Full Code Here

TOP

Related Classes of net.minecraft.client.renderer.entity.RenderManager

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.