@@ -0,0 +1,1788 @@
+/*%0A * Copyright (c) 2014, William %3Cw.cameron@crookedhill.co.nz%3E%0A * %0A * Permission to use, copy, modify, and/or distribute this software for any%0A * purpose with or without fee is hereby granted, provided that the above%0A * copyright notice and this permission notice appear in all copies.%0A *%0A * THE SOFTWARE IS PROVIDED %22AS IS%22 AND THE AUTHOR DISCLAIMS ALL WARRANTIES%0A * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF%0A * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR%0A * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES%0A * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN%0A * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF%0A * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.%0A */%0A%0Apackage nz.co.crookedhill.ggutils.network;%0A%0Aimport net.minecraft.block.Block;%0Aimport net.minecraft.inventory.IInventory;%0Aimport net.minecraft.world.World;%0Aimport nz.co.crookedhill.ggutils.block.GGUBlockSortivator;%0Aimport nz.co.crookedhill.ggutils.util.GGUSort;%0Aimport cpw.mods.fml.common.network.simpleimpl.IMessage;%0Aimport cpw.mods.fml.common.network.simpleimpl.IMessageHandler;%0Aimport cpw.mods.fml.common.network.simpleimpl.MessageContext;%0A%0Apublic abstract class GGUAbstracthandler implements IMessageHandler%3CGGUAbstractPacket, IMessage%3E%0A%7B%0A%09%0A%09/**%0A%09 * an example of sending a message is:%0A%09 * (what is passed to the packet)%0A%09 * String message = %22%22+(char)x+(char)y+(char)z;%0A%09 * (what apears in the main class)%0A%09 * GGUtils.network.sendToServer(new GGUSortPacket(message));%0A%09 */%0A%09 %0A  /**%0A   * what happens when one side of the network recieves the packet %0A   * associated with the extended class.%0A   */%0A%09@Override%0A%09public IMessage onMessage(GGUSortPacket message, MessageContext ctx);%0A%09%0A%7D%0A

Create GGUAbstractHandler.java