MCreator issue tracker has been migrated to GitHub.
Existing tickets have been migrated to GitHub. Please open new tickets on the GitHub tracker instead. If you do not have a GitHub account, all feature requests and bug reports from forums are still considered and checked by the maintainers.
This was asked before but is not really possible. Minecraft at the moment does not have a reliable mechanic to determine whether mob will behave as passive or hostile mob as this depends on many attributes. For now, the best option is to list all the mods you want using is entity subtype of block and check for proper subtypes.