Speedyyz

Untitled

Feb 13th, 2020
181
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.41 KB | None | 0 0
  1. public class AlbCommon {
  2.  
  3. public static SimpleNetworkWrapper network;
  4.  
  5.  
  6.  
  7. public void preInit(){
  8. System.out.println("preinit common");
  9. network= NetworkRegistry.INSTANCE.newSimpleChannel("albidnetwork");
  10. network.registerMessage(PacketTest.Handler.class,PacketTest.class,0, Side.SERVER);
  11. }
  12.  
  13. public void init(){
  14.  
  15. }
  16.  
  17. public void postInit(){
  18.  
  19. }
  20.  
  21.  
  22.  
  23. }
Add Comment
Please, Sign In to add comment