Example #1
0
        protected virtual void Func_40272_a(EntityMooshroom par1EntityMooshroom, float par2)
        {
            base.RenderEquippedItems(par1EntityMooshroom, par2);

            if (par1EntityMooshroom.IsChild())
            {
                return;
            }
            else
            {
                LoadTexture("/terrain.png");
                //GL.Enable(EnableCap.CullFace);
                //GL.PushMatrix();
                //GL.Scale(1.0F, -1F, 1.0F);
                //GL.Translate(0.2F, 0.4F, 0.5F);
                //GL.Rotate(42F, 0.0F, 1.0F, 0.0F);
                RenderBlocks.RenderBlockAsItem(Block.MushroomRed, 0, 1.0F);
                //GL.Translate(0.1F, 0.0F, -0.6F);
                //GL.Rotate(42F, 0.0F, 1.0F, 0.0F);
                RenderBlocks.RenderBlockAsItem(Block.MushroomRed, 0, 1.0F);
                //GL.PopMatrix();
                //GL.PushMatrix();
                ((ModelQuadruped)MainModel).Head.PostRender(0.0625F);
                //GL.Scale(1.0F, -1F, 1.0F);
                //GL.Translate(0.0F, 0.75F, -0.2F);
                //GL.Rotate(12F, 0.0F, 1.0F, 0.0F);
                RenderBlocks.RenderBlockAsItem(Block.MushroomRed, 0, 1.0F);
                //GL.PopMatrix();
                //GL.Disable(EnableCap.CullFace);
                return;
            }
        }
Example #2
0
 public virtual void Func_40273_a(EntityMooshroom par1EntityMooshroom, double par2, double par4, double par6, float par8, float par9)
 {
     base.DoRenderLiving(par1EntityMooshroom, par2, par4, par6, par8, par9);
 }