package com.whammich.sstow.api;

import net.minecraft.entity.EntityLiving;

import java.util.ArrayList;

public class SoulShardsAPI {

    private static ArrayList<String> entityBlacklist = new ArrayList<String>();

    /**
     * Blacklists an entity from being bound and spawned.
     *
     * IMC: {@code FMLInterModComs.sendMessage("SoulShardsTOW", "blacklistEntity", EntityClass.getCanonicalName())}
     * Example: {@code FMLInterModComs.sendMessage("SoulShardsTOW", "blacklistEntity", EntityWolf.class.getCanonicalName())}
     *
     * @param className - The canonical name of the Entity Class
     */
    public static void blacklistEntity(String className) {
        if (!entityBlacklist.contains(className))
            entityBlacklist.add(className);
    }

    /**
     * @see {@link #blacklistEntity(String)}
     *
     * @param entityClass - The Entity class.
     */
    public static void blacklistEntity(Class<? extends EntityLiving> entityClass) {
        blacklistEntity(entityClass.getCanonicalName());
    }

    public static boolean isEntityBlacklisted(String className) {
        return entityBlacklist.contains(className);
    }

    public static boolean isEntityBlacklisted(EntityLiving living) {
        return isEntityBlacklisted(living.getClass().getCanonicalName());
    }
}

@@ -781,13 +781,8 @@
    *
- @see
  %7B@l

Fix Javadoc errors