public boolean addMobType(ArrayList<Object> toRemove, String type)
	{
		if (type.equalsIgnoreCase("monster"))
		{
			toRemove.add(MobType.MONSTER);
		}
		else if (type.equalsIgnoreCase("animal"))
		{
			toRemove.add(MobType.ANIMAL);
		}
		else if (type.equalsIgnoreCase("wateranimal"))
		{
			toRemove.add(MobType.WATER_ANIMAL);
		}
		else if (type.equalsIgnoreCase("ambient"))
		{
			toRemove.add(MobType.AMBIENT);
		}
		else if (type.equalsIgnoreCase("villager"))
		{
			toRemove.add(MobType.VILLAGER);
		}
		else
		{
			ExtendedEntityType entityType = ExtendedEntityType.valueOf(type);
			if (entityType == null)
				return false;
			toRemove.add(entityType);
		}
		return true;
	}