mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-26 06:53:20 +00:00
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:
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);
|
||||
}
|
||||
Reference in new issue
Block a user