public void Render(double delta, float t)
        {
            if (game.Camera.IsThirdPerson || !game.ShowBlockInHand)
            {
                return;
            }
            game.Graphics.Texturing = true;
            game.Graphics.DepthTest = false;
            game.Graphics.AlphaTest = true;

            fakeP.Position = Vector3.Zero;
            type           = (byte)game.Inventory.HeldBlock;
            if (playAnimation)
            {
                DoAnimation(delta);
            }
            PerformViewBobbing(t);
            SetupMatrices();

            if (game.BlockInfo.IsSprite[type])
            {
                game.Graphics.LoadMatrix(ref spriteMat);
            }
            else
            {
                game.Graphics.LoadMatrix(ref normalMat);
            }
            game.Graphics.SetMatrixMode(MatrixType.Projection);
            game.Graphics.LoadMatrix(ref game.HeldBlockProjection);
            fakeP.Block = type;
            block.RenderModel(fakeP);

            game.Graphics.LoadMatrix(ref game.Projection);
            game.Graphics.SetMatrixMode(MatrixType.Modelview);
            game.Graphics.LoadMatrix(ref game.View);
            game.Graphics.Texturing = false;
            game.Graphics.DepthTest = true;
            game.Graphics.AlphaTest = false;
        }