Class StreamNetworkChannel

java.lang.Object
codechicken.lib.packet.StreamNetworkChannel

public final class StreamNetworkChannel extends Object
A simple Stream based network channel, very similar to the NeoForge api, however provides raw, stream-based packets.

You would construct one of these and store it statically, see CCLNetwork for inspiration.

Created by covers1624 on 10/26/25.

  • Constructor Details

    • StreamNetworkChannel

      public StreamNetworkChannel(String namespace)
      Create a new network channel.
      Parameters:
      namespace - The namespace, usually your mod id.
  • Method Details