private static bool Func_50075_j(World par0World, int par1, int par2, int par3)
        {
            for (IEnumerator <Entity> iterator = par0World.GetEntitiesWithinAABB(typeof(net.minecraft.src.EntityOcelot), AxisAlignedBB.GetBoundingBoxFromPool(par1, par2 + 1, par3, par1 + 1, par2 + 2, par3 + 1)).GetEnumerator(); iterator.MoveNext();)
            {
                Entity       entity       = iterator.Current;
                EntityOcelot entityocelot = (EntityOcelot)entity;

                if (entityocelot.IsSitting())
                {
                    return(true);
                }
            }

            return(false);
        }
        /// <summary>
        /// Used for easily adding entity-dependent animations. The second and third float params here are the same second
        /// and third as in the setRotationAngles method.
        /// </summary>
        public override void SetLivingAnimations(EntityLiving par1EntityLiving, float par2, float par3, float par4)
        {
            EntityOcelot entityocelot = (EntityOcelot)par1EntityLiving;

            Field_48226_n.RotationPointY = 12F;
            Field_48226_n.RotationPointZ = -10F;
            Field_48220_g.RotationPointY = 15F;
            Field_48220_g.RotationPointZ = -9F;
            Field_48222_e.RotationPointY = 15F;
            Field_48222_e.RotationPointZ = 8F;
            Field_48219_f.RotationPointY = 20F;
            Field_48219_f.RotationPointZ = 14F;
            Field_48224_c.RotationPointY = Field_48221_d.RotationPointY = 13.8F;
            Field_48224_c.RotationPointZ = Field_48221_d.RotationPointZ = -5F;
            Field_48225_a.RotationPointY = Field_48223_b.RotationPointY = 18F;
            Field_48225_a.RotationPointZ = Field_48223_b.RotationPointZ = 5F;
            Field_48222_e.RotateAngleX   = 0.9F;

            if (entityocelot.IsSneaking())
            {
                Field_48226_n.RotationPointY++;
                Field_48220_g.RotationPointY += 2.0F;
                Field_48222_e.RotationPointY++;
                Field_48219_f.RotationPointY += -4F;
                Field_48219_f.RotationPointZ += 2.0F;
                Field_48222_e.RotateAngleX    = ((float)Math.PI / 2F);
                Field_48219_f.RotateAngleX    = ((float)Math.PI / 2F);
                Field_48227_o = 0;
            }
            else if (entityocelot.IsSprinting())
            {
                Field_48219_f.RotationPointY  = Field_48222_e.RotationPointY;
                Field_48219_f.RotationPointZ += 2.0F;
                Field_48222_e.RotateAngleX    = ((float)Math.PI / 2F);
                Field_48219_f.RotateAngleX    = ((float)Math.PI / 2F);
                Field_48227_o = 2;
            }
            else if (entityocelot.IsSitting())
            {
                Field_48226_n.RotateAngleX    = ((float)Math.PI / 4F);
                Field_48226_n.RotationPointY += -4F;
                Field_48226_n.RotationPointZ += 5F;
                Field_48220_g.RotationPointY += -3.3F;
                Field_48220_g.RotationPointZ++;
                Field_48222_e.RotationPointY += 8F;
                Field_48222_e.RotationPointZ += -2F;
                Field_48219_f.RotationPointY += 2.0F;
                Field_48219_f.RotationPointZ += -0.8F;
                Field_48222_e.RotateAngleX    = 1.727876F;
                Field_48219_f.RotateAngleX    = 2.670354F;
                Field_48224_c.RotateAngleX    = Field_48221_d.RotateAngleX = -0.1570796F;
                Field_48224_c.RotationPointY  = Field_48221_d.RotationPointY = 15.8F;
                Field_48224_c.RotationPointZ  = Field_48221_d.RotationPointZ = -7F;
                Field_48225_a.RotateAngleX    = Field_48223_b.RotateAngleX = -((float)Math.PI / 2F);
                Field_48225_a.RotationPointY  = Field_48223_b.RotationPointY = 21F;
                Field_48225_a.RotationPointZ  = Field_48223_b.RotationPointZ = 1.0F;
                Field_48227_o = 3;
            }
            else
            {
                Field_48227_o = 1;
            }
        }