// Path: src/main/java/com/gamerforea/eventhelper/EventHelperMod.java
// @Mod(modid = MODID, name = NAME, version = VERSION, acceptableRemoteVersions = "*")
// public final class EventHelperMod
// {
// 	public static final File CFG_DIR = new File(Loader.instance().getConfigDir(), "Events");
// 	public static final Logger LOGGER = LogManager.getLogger(NAME);
// 
// 	@ConfigBoolean(comment = "Enable debugging messages")
// 	public static boolean debug = true;
// 
// 	@Nonnull
// 	@ConfigEnum(comment = "Default API for integration (AUTO, SPONGE, BUKKIT)")
// 	public static IntegrationType integrationType = IntegrationType.AUTO;
// 
// 	@Nonnull
// 	@ConfigEnum(comment = "Policy for recursive protection checks with same parameters (prevent Sponge-Forge events conversion stack overflow) (IGNORE, FORCE_ALLOW, FORCE_DENY)")
// 	public static RecursionProtectionPolicy recursionProtectionPolicy = RecursionProtectionPolicy.FORCE_DENY;
// 
// 	@ConfigBoolean(comment = "Print warning in case of recursive protection checks with same parameters")
// 	public static boolean recursionProtectionWarning = true;
// 
// 	@ConfigBoolean(comment = "Prevent Sponge-Forge events conversion stack overflow")
// 	public static boolean preventSponge2ForgeEventConversion = true;
// 
// 	@ConfigBoolean(comment = "Enable additional checks to grief prevention (may be needed for Bukkit)")
// 	public static boolean paranoidProtection = false;
// 
// 	@EventHandler
// 	public void preInit(FMLPreInitializationEvent event)
// 	{
// 		ConfigUtils.readConfig(this.getClass(), NAME);
// 	}
// 
// 	@EventHandler
// 	public void serverStart(FMLServerStartingEvent event)
// 	{
// 		event.registerServerCommand(new CommandReloadAllConfigs());
// 	}
// }


import com.gamerforea.eventhelper.EventHelperMod;
import it.unimi.dsi.fastutil.ints.IntOpenHashSet;
import it.unimi.dsi.fastutil.ints.IntSet;
import net.minecraft.block.Block;
import net.minecraft.block.state.IBlockState;
import net.minecraft.init.Blocks;
import net.minecraft.item.Item;
import net.minecraft.item.ItemBlock;
import net.minecraft.item.ItemStack;
import net.minecraft.util.ResourceLocation;
import net.minecraft.util.registry.RegistryNamespaced;
import net.minecraft.util.registry.RegistryNamespacedDefaultedByKey;
import org.apache.commons.lang3.StringUtils;
import javax.annotation.Nonnull;
import javax.annotation.Nullable;
import java.util.*;
import java.util.function.IntSupplier;
package com.gamerforea.eventhelper.config;



public final class ItemBlockList
{
	private static final String[] DEFAULT_VALUES = { "minecraft:bedrock", "modid:block_name@meta" };
	private static final char SEPARATOR = '@';
// Path: src/main/java/com/gamerforea/eventhelper/EventHelperMod.java
// @Mod(modid = MODID, name = NAME, version = VERSION, acceptableRemoteVersions = "*")
// public final class EventHelperMod
// {
// 	public static final File CFG_DIR = new File(Loader.instance().getConfigDir(), "Events");
// 	public static final Logger LOGGER = LogManager.getLogger(NAME);
// 
// 	@ConfigBoolean(comment = "Enable debugging messages")
// 	public static boolean debug = true;
// 
// 	@Nonnull
// 	@ConfigEnum(comment = "Default API for integration (AUTO, SPONGE, BUKKIT)")
// 	public static IntegrationType integrationType = IntegrationType.AUTO;
// 
// 	@Nonnull
// 	@ConfigEnum(comment = "Policy for recursive protection checks with same parameters (prevent Sponge-Forge events conversion stack overflow) (IGNORE, FORCE_ALLOW, FORCE_DENY)")
// 	public static RecursionProtectionPolicy recursionProtectionPolicy = RecursionProtectionPolicy.FORCE_DENY;
// 
// 	@ConfigBoolean(comment = "Print warning in case of recursive protection checks with same parameters")
// 	public static boolean recursionProtectionWarning = true;
// 
// 	@ConfigBoolean(comment = "Prevent Sponge-Forge events conversion stack overflow")
// 	public static boolean preventSponge2ForgeEventConversion = true;
// 
// 	@ConfigBoolean(comment = "Enable additional checks to grief prevention (may be needed for Bukkit)")
// 	public static boolean paranoidProtection = false;
// 
// 	@EventHandler
// 	public void preInit(FMLPreInitializationEvent event)
// 	{
// 		ConfigUtils.readConfig(this.getClass(), NAME);
// 	}
// 
// 	@EventHandler
// 	public void serverStart(FMLServerStartingEvent event)
// 	{
// 		event.registerServerCommand(new CommandReloadAllConfigs());
// 	}
// }


// Path: src/main/java/com/gamerforea/eventhelper/config/ItemBlockList.java
import com.gamerforea.eventhelper.EventHelperMod;
import it.unimi.dsi.fastutil.ints.IntOpenHashSet;
import it.unimi.dsi.fastutil.ints.IntSet;
import net.minecraft.block.Block;
import net.minecraft.block.state.IBlockState;
import net.minecraft.init.Blocks;
import net.minecraft.item.Item;
import net.minecraft.item.ItemBlock;
import net.minecraft.item.ItemStack;
import net.minecraft.util.ResourceLocation;
import net.minecraft.util.registry.RegistryNamespaced;
import net.minecraft.util.registry.RegistryNamespacedDefaultedByKey;
import org.apache.commons.lang3.StringUtils;
import javax.annotation.Nonnull;
import javax.annotation.Nullable;
import java.util.*;
import java.util.function.IntSupplier;

package com.gamerforea.eventhelper.config;



public final class ItemBlockList
{
	private static final String[] DEFAULT_VALUES = { "minecraft:bedrock", "modid:block_name@meta" };
	private static final char SEPARATOR = '@';
	private static final int ALL_META = -1;