Class NetworkX

java.lang.Object
org.moddingx.libx.network.NetworkX

public abstract class NetworkX extends Object
A class implementing network logic. You should subclass it and create an instance in your mods' constructor. registerPackets() will then automatically be called during setup. You can register custom packets there. The order in which they are registered is important.
  • Field Details

    • channel

      public final net.minecraftforge.network.simple.SimpleChannel channel
  • Constructor Details

    • NetworkX

      protected NetworkX(ModX mod)
  • Method Details