// Path: src/main/java/team/creative/enhancedvisuals/EnhancedVisuals.java
// @Mod(modid = EnhancedVisuals.MODID, name = EnhancedVisuals.NAME, version = EnhancedVisuals.VERSION, acceptedMinecraftVersions = "", dependencies = "required-after:creativecore", guiFactory = "team.creative.enhancedvisuals.client.EVSettings")
// public class EnhancedVisuals {
// 	
// 	public static final String MODID = "enhancedvisuals";
// 	public static final String NAME = "Enhanced Visuals";
// 	public static final String VERSION = "1.3.0";
// 	
// 	public static final Logger LOGGER = LogManager.getLogger(EnhancedVisuals.MODID);
// 	public static EVEvents EVENTS;
// 	public static DeathMessages MESSAGES;
// 	public static EnhancedVisualsConfig CONFIG;
// 	
// 	@SidedProxy(clientSide = "team.creative.enhancedvisuals.client.EVClient", serverSide = "team.creative.enhancedvisuals.server.EVServer")
// 	public static EVServer proxy;
// 	
// 	@EventHandler
// 	public void load(FMLInitializationEvent event) {
// 		CreativeCorePacket.registerPacket(ExplosionPacket.class);
// 		CreativeCorePacket.registerPacket(DamagePacket.class);
// 		CreativeCorePacket.registerPacket(PotionPacket.class);
// 		
// 		MinecraftForge.EVENT_BUS.register(EVENTS = new EVEvents());
// 		
// 		VisualHandlers.init();
// 		MESSAGES = new DeathMessages();
// 		CONFIG = new EnhancedVisualsConfig();
// 		
// 		if (Loader.isModLoaded("toughasnails"))
// 			ToughAsNailsAddon.load();
// 		
// 		if (Loader.isModLoaded("simpledifficulty"))
// 			SimpleDifficultyAddon.load();
// 		
// 		proxy.load(event);
// 		
// 		ConfigHolderDynamic root = CreativeConfigRegistry.ROOT.registerFolder(MODID);
// 		root.registerValue("general", CONFIG, ConfigSynchronization.CLIENT, false);
// 		root.registerValue("messages", MESSAGES);
// 		ConfigHolderDynamic handlers = root.registerFolder("handlers", ConfigSynchronization.CLIENT);
// 		for (Entry<ResourceLocation, VisualHandler> entry : VisualRegistry.entrySet())
// 			handlers.registerValue(entry.getKey().getResourcePath(), entry.getValue());
// 		
// 	}
// 	
// }
// 
// Path: src/main/java/team/creative/enhancedvisuals/common/visual/VisualRegistry.java
// public class VisualRegistry {
// 	
// 	private static LinkedHashMap<ResourceLocation, VisualHandler> handlers = new LinkedHashMap<>();
// 	
// 	public static void registerHandler(ResourceLocation location, VisualHandler handler) {
// 		handlers.put(location, handler);
// 	}
// 	
// 	public static Collection<VisualHandler> handlers() {
// 		return handlers.values();
// 	}
// 	
// 	public static Set<Entry<ResourceLocation, VisualHandler>> entrySet() {
// 		return handlers.entrySet();
// 	}
// 	
// }


import net.minecraft.util.ResourceLocation;
import team.creative.enhancedvisuals.EnhancedVisuals;
import team.creative.enhancedvisuals.common.visual.VisualRegistry;
package team.creative.enhancedvisuals.common.addon.simpledifficulty;


public class SimpleDifficultyAddon {
	
	public static ThirstHandler thirst;
	public static TemperatureHandler temperature;
	
	public static void load() {
		VisualRegistry.registerHandler(new ResourceLocation(EnhancedVisuals.MODID, "simple-thirst"), thirst = new ThirstHandler());
// Path: src/main/java/team/creative/enhancedvisuals/EnhancedVisuals.java
// @Mod(modid = EnhancedVisuals.MODID, name = EnhancedVisuals.NAME, version = EnhancedVisuals.VERSION, acceptedMinecraftVersions = "", dependencies = "required-after:creativecore", guiFactory = "team.creative.enhancedvisuals.client.EVSettings")
// public class EnhancedVisuals {
// 	
// 	public static final String MODID = "enhancedvisuals";
// 	public static final String NAME = "Enhanced Visuals";
// 	public static final String VERSION = "1.3.0";
// 	
// 	public static final Logger LOGGER = LogManager.getLogger(EnhancedVisuals.MODID);
// 	public static EVEvents EVENTS;
// 	public static DeathMessages MESSAGES;
// 	public static EnhancedVisualsConfig CONFIG;
// 	
// 	@SidedProxy(clientSide = "team.creative.enhancedvisuals.client.EVClient", serverSide = "team.creative.enhancedvisuals.server.EVServer")
// 	public static EVServer proxy;
// 	
// 	@EventHandler
// 	public void load(FMLInitializationEvent event) {
// 		CreativeCorePacket.registerPacket(ExplosionPacket.class);
// 		CreativeCorePacket.registerPacket(DamagePacket.class);
// 		CreativeCorePacket.registerPacket(PotionPacket.class);
// 		
// 		MinecraftForge.EVENT_BUS.register(EVENTS = new EVEvents());
// 		
// 		VisualHandlers.init();
// 		MESSAGES = new DeathMessages();
// 		CONFIG = new EnhancedVisualsConfig();
// 		
// 		if (Loader.isModLoaded("toughasnails"))
// 			ToughAsNailsAddon.load();
// 		
// 		if (Loader.isModLoaded("simpledifficulty"))
// 			SimpleDifficultyAddon.load();
// 		
// 		proxy.load(event);
// 		
// 		ConfigHolderDynamic root = CreativeConfigRegistry.ROOT.registerFolder(MODID);
// 		root.registerValue("general", CONFIG, ConfigSynchronization.CLIENT, false);
// 		root.registerValue("messages", MESSAGES);
// 		ConfigHolderDynamic handlers = root.registerFolder("handlers", ConfigSynchronization.CLIENT);
// 		for (Entry<ResourceLocation, VisualHandler> entry : VisualRegistry.entrySet())
// 			handlers.registerValue(entry.getKey().getResourcePath(), entry.getValue());
// 		
// 	}
// 	
// }
// 
// Path: src/main/java/team/creative/enhancedvisuals/common/visual/VisualRegistry.java
// public class VisualRegistry {
// 	
// 	private static LinkedHashMap<ResourceLocation, VisualHandler> handlers = new LinkedHashMap<>();
// 	
// 	public static void registerHandler(ResourceLocation location, VisualHandler handler) {
// 		handlers.put(location, handler);
// 	}
// 	
// 	public static Collection<VisualHandler> handlers() {
// 		return handlers.values();
// 	}
// 	
// 	public static Set<Entry<ResourceLocation, VisualHandler>> entrySet() {
// 		return handlers.entrySet();
// 	}
// 	
// }


// Path: src/main/java/team/creative/enhancedvisuals/common/addon/simpledifficulty/SimpleDifficultyAddon.java
import net.minecraft.util.ResourceLocation;
import team.creative.enhancedvisuals.EnhancedVisuals;
import team.creative.enhancedvisuals.common.visual.VisualRegistry;

package team.creative.enhancedvisuals.common.addon.simpledifficulty;


public class SimpleDifficultyAddon {
	
	public static ThirstHandler thirst;
	public static TemperatureHandler temperature;
	
	public static void load() {
		VisualRegistry.registerHandler(new ResourceLocation(EnhancedVisuals.MODID, "simple-thirst"), thirst = new ThirstHandler());
		VisualRegistry.registerHandler(new ResourceLocation(EnhancedVisuals.MODID, "simple-temperature"), temperature = new TemperatureHandler());