Exemple #1
0
        public override bool Func_48135_b(EntityAnimal par1EntityAnimal)
        {
            if (par1EntityAnimal == this)
            {
                return(false);
            }

            if (!IsTamed())
            {
                return(false);
            }

            if (!(par1EntityAnimal is EntityOcelot))
            {
                return(false);
            }

            EntityOcelot entityocelot = (EntityOcelot)par1EntityAnimal;

            if (!entityocelot.IsTamed())
            {
                return(false);
            }
            else
            {
                return(IsInLove() && entityocelot.IsInLove());
            }
        }
Exemple #2
0
        protected virtual void Func_48423_a(EntityOcelot par1EntityOcelot, float par2)
        {
            base.PreRenderCallback(par1EntityOcelot, par2);

            if (par1EntityOcelot.IsTamed())
            {
                //GL.Scale(0.8F, 0.8F, 0.8F);
            }
        }