Class DLNetworkImpl

java.lang.Object
de.mrjulsen.mcdragonlib.network.v2.fabric.DLNetworkImpl

public class DLNetworkImpl extends Object
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static void
    registerChannel(net.minecraft.resources.ResourceLocation channelId, String protocolVersion)
     
    static net.minecraft.network.protocol.Packet<?>
    toPacket(net.minecraft.resources.ResourceLocation channelId, de.mrjulsen.mcdragonlib.network.v2.NetworkFlow flow, net.minecraft.network.FriendlyByteBuf frame)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • DLNetworkImpl

      public DLNetworkImpl()
  • Method Details

    • registerChannel

      public static void registerChannel(net.minecraft.resources.ResourceLocation channelId, String protocolVersion)
    • toPacket

      public static net.minecraft.network.protocol.Packet<?> toPacket(net.minecraft.resources.ResourceLocation channelId, de.mrjulsen.mcdragonlib.network.v2.NetworkFlow flow, net.minecraft.network.FriendlyByteBuf frame)