Bunch of hooks re-added : network is more complete now, lot of basemod cleanup, moving stuff into

the registry area
This commit is contained in:
Christian committed 2012-08-06 22:30:13 -04:00
1 parent 8e96e60179
commit d8b92064d7
42 files changed
+539 -487

No files matched your search

@@ -5,5 +5,11 @@ import net.minecraft.src.Packet250CustomPayload;
public interface IPacketHandler
{
public void onPacketData(NetworkManager manager, Packet250CustomPayload packet);
/**
* Recieve a packet from one of the registered channels for this packet handler
* @param manager The network manager this packet arrived from
* @param packet The packet itself
* @param player A dummy interface representing the player - it can be cast into a real player instance if needed
*/
public void onPacketData(NetworkManager manager, Packet250CustomPayload packet, Player player);
}