Java 类net.minecraft.entity.MultiPartEntityPart 实例源码

项目:enderutilities    文件:BlackLists.java   
public static boolean isEntityBlacklistedForTeleport(Entity entity)
{
    return (entity instanceof MultiPartEntityPart && TELEPORT_BLACKLIST_CLASSES.contains(EntityDragon.class)) ||
            TELEPORT_BLACKLIST_CLASSES.contains(entity.getClass());
}