java.lang.Object
mods.thecomputerizer.theimpossiblelibrary.shared.v21.network.Network1_21<N,DIR>
All Implemented Interfaces:
mods.thecomputerizer.theimpossiblelibrary.api.network.NetworkAPI<N,DIR>

public abstract class Network1_21<N,DIR> extends Object implements mods.thecomputerizer.theimpossiblelibrary.api.network.NetworkAPI<N,DIR>
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    mods.thecomputerizer.theimpossiblelibrary.api.resource.ResourceLocationAPI<?>
    readResourceLocation(io.netty.buffer.ByteBuf buf)
     
    mods.thecomputerizer.theimpossiblelibrary.api.tag.CompoundTagAPI<?>
    readTag(io.netty.buffer.ByteBuf buf)
     
    void
    writeTag(io.netty.buffer.ByteBuf buf, mods.thecomputerizer.theimpossiblelibrary.api.tag.CompoundTagAPI<?> tag)
     

    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.api.network.NetworkAPI

    getDirFromName, getDirToClient, getDirToClientLogin, getDirToServer, getDirToServerLogin, getNameFromDir, getNetwork, getOppositeDir, isDirLogin, isDirToClient, messageRegistrationFinished, messageRegistrationStarted, registerLateMessages, registerMessage, sendToPlayer, sendToServer, wrapMessage, wrapMessages, wrapMessages
  • Constructor Details

    • Network1_21

      public Network1_21()
  • Method Details

    • readResourceLocation

      public mods.thecomputerizer.theimpossiblelibrary.api.resource.ResourceLocationAPI<?> readResourceLocation(io.netty.buffer.ByteBuf buf)
      Specified by:
      readResourceLocation in interface mods.thecomputerizer.theimpossiblelibrary.api.network.NetworkAPI<N,DIR>
    • readTag

      public mods.thecomputerizer.theimpossiblelibrary.api.tag.CompoundTagAPI<?> readTag(io.netty.buffer.ByteBuf buf)
      Specified by:
      readTag in interface mods.thecomputerizer.theimpossiblelibrary.api.network.NetworkAPI<N,DIR>
    • writeTag

      public void writeTag(io.netty.buffer.ByteBuf buf, mods.thecomputerizer.theimpossiblelibrary.api.tag.CompoundTagAPI<?> tag)
      Specified by:
      writeTag in interface mods.thecomputerizer.theimpossiblelibrary.api.network.NetworkAPI<N,DIR>