Advertisement
drinfernoo

ClientPacketHandler.java

Nov 25th, 2012
332
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.53 KB | None | 0 0
  1. package com.drin.mods;
  2.  
  3. import java.io.ByteArrayInputStream;
  4. import java.io.DataInputStream;
  5.  
  6. import net.minecraft.src.NetworkManager;
  7. import net.minecraft.src.Packet250CustomPayload;
  8. import cpw.mods.fml.common.network.IPacketHandler;
  9. import cpw.mods.fml.common.network.Player;
  10.  
  11. public class ClientPacketHandler implements IPacketHandler {
  12.  
  13.     @Override
  14.     public void onPacketData(NetworkManager manager, Packet250CustomPayload payload, Player player) {
  15.         DataInputStream data = new DataInputStream(new ByteArrayInputStream(payload.data));
  16.     }
  17. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement