Class NetworkFabric1_20_6

java.lang.Object
mods.thecomputerizer.theimpossiblelibrary.fabric.v20.m6.network.NetworkFabric1_20_6
All Implemented Interfaces:
mods.thecomputerizer.theimpossiblelibrary.api.network.NetworkAPI<Object,Object>, mods.thecomputerizer.theimpossiblelibrary.fabric.network.FabricNetwork<Object,Object>

public class NetworkFabric1_20_6 extends Object implements mods.thecomputerizer.theimpossiblelibrary.fabric.network.FabricNetwork<Object,Object>
  • Field Summary

    Fields inherited from interface mods.thecomputerizer.theimpossiblelibrary.fabric.network.FabricNetwork

    CLIENT_LOGIN, CLIENT_PLAY, IMPL_CLIENT, IMPL_CLIENT_CLASS, IMPL_SERVER, IMPL_SERVER_CLASS, PLAY_CLIENT, PLAY_CLIENT_CLASS, PLAY_CLIENT_HANDLER_CLASS, PLAY_SERVER, PLAY_SERVER_CLASS, PLAY_SERVER_HANDLER_CLASS, PROXY_MAP, SERVER_LOGIN, SERVER_PLAY, UNLIMITED_ACCOUNTER, WRAPPED_WRAPPER_CLASS
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    registerMessage(mods.thecomputerizer.theimpossiblelibrary.api.network.message.MessageDirectionInfo<Object> dir, int id)
     
    protected <B extends io.netty.buffer.ByteBuf>
    net.minecraft.network.codec.StreamCodec<B, MessageWrapperFabric1_20_6>
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface mods.thecomputerizer.theimpossiblelibrary.fabric.network.FabricNetwork

    createHandlerProxy, createHandlerProxy, createInvoker, createInvokerCustomPayload, encodeMessage, getCheckedDir, getDirFromName, getDirToClient, getDirToClientLogin, getDirToServer, getDirToServerLogin, getNameFromDir, getNetwork, getOppositeDir, getRegistryName, getRegistryNameFromDir, getWrapper, isDirLogin, isDirToClient, readResourceLocation, readTag, receiveAndRespond, receiveAndRespond, registerMessageCustomPayload, registerWithProxy, sendToPlayer, sendToPlayer, sendToServer, sendToServer, wrapMessage, wrapMessages, wrapMessages, writeTag
  • Constructor Details

    • NetworkFabric1_20_6

      public NetworkFabric1_20_6()
  • Method Details

    • registerMessage

      public void registerMessage(mods.thecomputerizer.theimpossiblelibrary.api.network.message.MessageDirectionInfo<Object> dir, int id)
      Specified by:
      registerMessage in interface mods.thecomputerizer.theimpossiblelibrary.fabric.network.FabricNetwork<Object,Object>
      Specified by:
      registerMessage in interface mods.thecomputerizer.theimpossiblelibrary.api.network.NetworkAPI<Object,Object>
    • streamCodec

      protected <B extends io.netty.buffer.ByteBuf> net.minecraft.network.codec.StreamCodec<B, MessageWrapperFabric1_20_6> streamCodec(Object dir)