// Path: src/main/java/net/mcft/copy/backpacks/WearableBackpacks.java
// @Mod(modid = WearableBackpacks.MOD_ID, name = WearableBackpacks.MOD_NAME,
//      version = WearableBackpacks.VERSION, dependencies = "required-after:forge@[14.21.0.2375,)",
//      guiFactory = "net.mcft.copy.backpacks.client.BackpacksGuiFactory")
// public class WearableBackpacks {
// 	
// 	public static final String MOD_ID   = "wearablebackpacks";
// 	public static final String MOD_NAME = "Wearable Backpacks";
// 	public static final String VERSION  = "@VERSION@";
// 	
// 	@Instance
// 	public static WearableBackpacks INSTANCE;
// 	
// 	@SidedProxy(serverSide = "net.mcft.copy.backpacks.ProxyCommon",
// 	            clientSide = "net.mcft.copy.backpacks.ProxyClient")
// 	public static ProxyCommon PROXY;
// 	
// 	public static Logger LOG;
// 	public static BackpacksChannel CHANNEL;
// 	public static BackpacksConfig CONFIG;
// 	public static BackpacksContent CONTENT;
// 	
// 	@EventHandler
// 	public void preInit(FMLPreInitializationEvent event) {
// 		LOG = event.getModLog();
// 		CHANNEL = new BackpacksChannel();
// 		
// 		CONFIG = new BackpacksConfig(event.getSuggestedConfigurationFile());
// 		CONFIG.load();
// 		CONFIG.save();
// 		
// 		CONTENT = new BackpacksContent();
// 		CONTENT.registerRecipes();
// 		
// 		PROXY.preInit();
// 	}
// 	
// 	@EventHandler
// 	public void init(FMLInitializationEvent event) {
// 		CONFIG.init();
// 		PROXY.init();
// 	}
// 	
// }


import java.util.List;
import java.util.function.Predicate;
import net.minecraft.world.WorldServer;
import net.minecraft.world.World;
import net.minecraft.entity.Entity;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.entity.player.EntityPlayerMP;
import net.minecraftforge.fml.common.FMLCommonHandler;
import net.minecraftforge.fml.common.network.NetworkRegistry.TargetPoint;
import net.minecraftforge.fml.common.network.simpleimpl.IMessage;
import net.minecraftforge.fml.common.network.simpleimpl.SimpleNetworkWrapper;
import net.minecraftforge.fml.relauncher.Side;
import net.mcft.copy.backpacks.WearableBackpacks;
package net.mcft.copy.backpacks.network;





/** Main network class. Handles registering messages
 *  and sending them to clients as well as the server. */
public class BackpacksChannel extends SimpleNetworkWrapper {
	
	public BackpacksChannel() {
// Path: src/main/java/net/mcft/copy/backpacks/WearableBackpacks.java
// @Mod(modid = WearableBackpacks.MOD_ID, name = WearableBackpacks.MOD_NAME,
//      version = WearableBackpacks.VERSION, dependencies = "required-after:forge@[14.21.0.2375,)",
//      guiFactory = "net.mcft.copy.backpacks.client.BackpacksGuiFactory")
// public class WearableBackpacks {
// 	
// 	public static final String MOD_ID   = "wearablebackpacks";
// 	public static final String MOD_NAME = "Wearable Backpacks";
// 	public static final String VERSION  = "@VERSION@";
// 	
// 	@Instance
// 	public static WearableBackpacks INSTANCE;
// 	
// 	@SidedProxy(serverSide = "net.mcft.copy.backpacks.ProxyCommon",
// 	            clientSide = "net.mcft.copy.backpacks.ProxyClient")
// 	public static ProxyCommon PROXY;
// 	
// 	public static Logger LOG;
// 	public static BackpacksChannel CHANNEL;
// 	public static BackpacksConfig CONFIG;
// 	public static BackpacksContent CONTENT;
// 	
// 	@EventHandler
// 	public void preInit(FMLPreInitializationEvent event) {
// 		LOG = event.getModLog();
// 		CHANNEL = new BackpacksChannel();
// 		
// 		CONFIG = new BackpacksConfig(event.getSuggestedConfigurationFile());
// 		CONFIG.load();
// 		CONFIG.save();
// 		
// 		CONTENT = new BackpacksContent();
// 		CONTENT.registerRecipes();
// 		
// 		PROXY.preInit();
// 	}
// 	
// 	@EventHandler
// 	public void init(FMLInitializationEvent event) {
// 		CONFIG.init();
// 		PROXY.init();
// 	}
// 	
// }


// Path: src/main/java/net/mcft/copy/backpacks/network/BackpacksChannel.java
import java.util.List;
import java.util.function.Predicate;
import net.minecraft.world.WorldServer;
import net.minecraft.world.World;
import net.minecraft.entity.Entity;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.entity.player.EntityPlayerMP;
import net.minecraftforge.fml.common.FMLCommonHandler;
import net.minecraftforge.fml.common.network.NetworkRegistry.TargetPoint;
import net.minecraftforge.fml.common.network.simpleimpl.IMessage;
import net.minecraftforge.fml.common.network.simpleimpl.SimpleNetworkWrapper;
import net.minecraftforge.fml.relauncher.Side;
import net.mcft.copy.backpacks.WearableBackpacks;

package net.mcft.copy.backpacks.network;





/** Main network class. Handles registering messages
 *  and sending them to clients as well as the server. */
public class BackpacksChannel extends SimpleNetworkWrapper {
	
	public BackpacksChannel() {
		super(WearableBackpacks.MOD_ID);