Skip to content

Instantly share code, notes, and snippets.

View JTK222's full-sized avatar

JTK222

View GitHub Profile
@JTK222
JTK222 / NetworkHelper.java
Created March 2, 2019 23:00
"Simple Networking Implementation/Helper"
package net.dark_roleplay.library.networking;
import net.dark_roleplay.library.DRPLibrary;
import net.minecraftforge.client.model.ModelLoaderRegistry;
import net.minecraftforge.fml.network.simple.SimpleChannel;
public class NetworkHelper {
private static SimpleChannel CURRENT_CHANNEL = null;
private static int CURRENT_PACKET_ID = 0;