src/main/java/ivorius/invinciblehamster/entities/EntityInvincibleHamster.java
@Override
    public boolean canMateWith(EntityAnimal par1EntityAnimal)
    {
        if (par1EntityAnimal == this)
        {
            return false;
        }
        else if (!this.isTamed())
        {
            return false;
        }
        else if (!(par1EntityAnimal instanceof EntityInvincibleHamster))
        {
            return false;
        }
        else
        {
            EntityInvincibleHamster var2 = (EntityInvincibleHamster) par1EntityAnimal;
            return !var2.isTamed() ? false : this.isInLove() && var2.isInLove();
        }
    }
/**
     * Returns true if the mob is currently able to mate with the specified mob.
     */
Returns true if the mob is currently able to mate with the specified mob.
Returns true if the mob is currently able to mate with the specified mob .
@Override
    public boolean canMateWith(EntityAnimal par1EntityAnimal)
    {
        if (par1EntityAnimal == this)
        {
            return false;
        }
        else if (!this.isTamed())
        {
            return false;
        }
        else if (!(par1EntityAnimal instanceof EntityInvincibleHamster))
        {
            return false;
        }
        else
        {
            EntityInvincibleHamster var2 = (EntityInvincibleHamster) par1EntityAnimal;
            return !var2.isTamed() ? false : this.isInLove() && var2.isInLove();
        }
    }
@ Override public boolean canMateWith ( EntityAnimal par1EntityAnimal ) { if ( par1EntityAnimal == this ) { return false ; } else if ( ! this . isTamed ( ) ) { return false ; } else if ( ! ( par1EntityAnimal instanceof EntityInvincibleHamster ) ) { return false ; } else { EntityInvincibleHamster var2 = ( EntityInvincibleHamster ) par1EntityAnimal ; return ! var2 . isTamed ( ) ? false : this . isInLove ( ) && var2 . isInLove ( ) ; } }
Returns true if the mob is currently able to mate with the specified mob.
Returns true if the mob is currently able to mate with the specified mob .