package net.minecraft.client;// Decompiled by Jad v1.5.8g. Copyright 2001 Pavel Kouznetsov.
// Jad home page: http://www.kpdus.com/jad.html
// Decompiler options: fullnames deadcode fieldsfirst safe 
// Source File Name:   SourceFile

import java.util.HashMap;

import org.lwjgl.opengl.GL11;

public class r extends ex
{

    private java.util.Map b;

    public r()
    {
        b = ((java.util.Map) (new HashMap()));
    }

    public void a(bd bd1, double d, double d1, double d2, 
            float f)
    {
        org.lwjgl.opengl.GL11.glPushMatrix();
        org.lwjgl.opengl.GL11.glTranslatef((float)d + 0.5F, (float)d1, (float)d2 + 0.5F);
        kh kh1 = (kh)b.get(((java.lang.Object) (bd1.b)));
        if(kh1 == null)
        {
            kh1 = ew.a(bd1.b, ((cn) (null)));
            b.put(((java.lang.Object) (bd1.b)), ((java.lang.Object) (kh1)));
        }
        if(kh1 != null)
        {
            kh1.a(bd1.e);
            float f1 = 0.4375F;
            org.lwjgl.opengl.GL11.glTranslatef(0.0F, 0.4F, 0.0F);
            org.lwjgl.opengl.GL11.glRotatef((float)(bd1.d + (bd1.c - bd1.d) * (double)f) * 10F, 0.0F, 1.0F, 0.0F);
            org.lwjgl.opengl.GL11.glRotatef(-30F, 1.0F, 0.0F, 0.0F);
            org.lwjgl.opengl.GL11.glTranslatef(0.0F, -0.4F, 0.0F);
            org.lwjgl.opengl.GL11.glScalef(f1, f1, f1);
            kh1.c(d, d1, d2, 0.0F, 0.0F);
            kx.a.a(kh1, 0.0D, 0.0D, 0.0D, 0.0F, f);
        }
        org.lwjgl.opengl.GL11.glPopMatrix();
    }

    public void a(ic ic, double d, double d1, double d2, float f)
    {
        a((bd)ic, d, d1, d2, f);
    }
}
