public class Network1_12_2
extends java.lang.Object
implements mods.thecomputerizer.theimpossiblelibrary.api.network.NetworkAPI<net.minecraftforge.fml.common.network.simpleimpl.SimpleNetworkWrapper,net.minecraftforge.fml.relauncher.Side>
| Constructor and Description |
|---|
Network1_12_2() |
| Modifier and Type | Method and Description |
|---|---|
net.minecraftforge.fml.relauncher.Side |
getDirFromName(java.lang.String name) |
net.minecraftforge.fml.relauncher.Side |
getDirToClient() |
net.minecraftforge.fml.relauncher.Side |
getDirToClientLogin() |
net.minecraftforge.fml.relauncher.Side |
getDirToServer() |
net.minecraftforge.fml.relauncher.Side |
getDirToServerLogin() |
java.lang.String |
getNameFromDir(net.minecraftforge.fml.relauncher.Side side) |
net.minecraftforge.fml.common.network.simpleimpl.SimpleNetworkWrapper |
getNetwork() |
net.minecraftforge.fml.relauncher.Side |
getOppositeDir(net.minecraftforge.fml.relauncher.Side side) |
boolean |
isDirLogin(net.minecraftforge.fml.relauncher.Side d) |
boolean |
isDirToClient(net.minecraftforge.fml.relauncher.Side side) |
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 |
registerMessage(mods.thecomputerizer.theimpossiblelibrary.api.network.message.MessageDirectionInfo<net.minecraftforge.fml.relauncher.Side> dir,
int id) |
<P,M extends mods.thecomputerizer.theimpossiblelibrary.api.network.message.MessageWrapperAPI<?,?>> |
sendToPlayer(M message,
P player) |
<M extends mods.thecomputerizer.theimpossiblelibrary.api.network.message.MessageWrapperAPI<?,?>> |
sendToServer(M message) |
<CTX> mods.thecomputerizer.theimpossiblelibrary.api.network.message.MessageWrapperAPI<?,CTX> |
wrapMessage(net.minecraftforge.fml.relauncher.Side side,
mods.thecomputerizer.theimpossiblelibrary.api.network.message.MessageAPI<CTX> message) |
<CTX> mods.thecomputerizer.theimpossiblelibrary.api.network.message.MessageWrapperAPI<?,CTX> |
wrapMessages(net.minecraftforge.fml.relauncher.Side side,
java.util.Collection<mods.thecomputerizer.theimpossiblelibrary.api.network.message.MessageAPI<CTX>> messages) |
<CTX> mods.thecomputerizer.theimpossiblelibrary.api.network.message.MessageWrapperAPI<?,CTX> |
wrapMessages(net.minecraftforge.fml.relauncher.Side side,
mods.thecomputerizer.theimpossiblelibrary.api.network.message.MessageAPI<CTX>... messages) |
void |
writeTag(io.netty.buffer.ByteBuf buf,
mods.thecomputerizer.theimpossiblelibrary.api.tag.CompoundTagAPI<?> tag) |
public net.minecraftforge.fml.relauncher.Side getDirFromName(java.lang.String name)
getDirFromName in interface mods.thecomputerizer.theimpossiblelibrary.api.network.NetworkAPI<net.minecraftforge.fml.common.network.simpleimpl.SimpleNetworkWrapper,net.minecraftforge.fml.relauncher.Side>public java.lang.String getNameFromDir(net.minecraftforge.fml.relauncher.Side side)
getNameFromDir in interface mods.thecomputerizer.theimpossiblelibrary.api.network.NetworkAPI<net.minecraftforge.fml.common.network.simpleimpl.SimpleNetworkWrapper,net.minecraftforge.fml.relauncher.Side>public net.minecraftforge.fml.relauncher.Side getDirToClient()
getDirToClient in interface mods.thecomputerizer.theimpossiblelibrary.api.network.NetworkAPI<net.minecraftforge.fml.common.network.simpleimpl.SimpleNetworkWrapper,net.minecraftforge.fml.relauncher.Side>public net.minecraftforge.fml.relauncher.Side getDirToClientLogin()
getDirToClientLogin in interface mods.thecomputerizer.theimpossiblelibrary.api.network.NetworkAPI<net.minecraftforge.fml.common.network.simpleimpl.SimpleNetworkWrapper,net.minecraftforge.fml.relauncher.Side>public net.minecraftforge.fml.relauncher.Side getDirToServer()
getDirToServer in interface mods.thecomputerizer.theimpossiblelibrary.api.network.NetworkAPI<net.minecraftforge.fml.common.network.simpleimpl.SimpleNetworkWrapper,net.minecraftforge.fml.relauncher.Side>public net.minecraftforge.fml.relauncher.Side getDirToServerLogin()
getDirToServerLogin in interface mods.thecomputerizer.theimpossiblelibrary.api.network.NetworkAPI<net.minecraftforge.fml.common.network.simpleimpl.SimpleNetworkWrapper,net.minecraftforge.fml.relauncher.Side>public net.minecraftforge.fml.relauncher.Side getOppositeDir(net.minecraftforge.fml.relauncher.Side side)
getOppositeDir in interface mods.thecomputerizer.theimpossiblelibrary.api.network.NetworkAPI<net.minecraftforge.fml.common.network.simpleimpl.SimpleNetworkWrapper,net.minecraftforge.fml.relauncher.Side>public <CTX> mods.thecomputerizer.theimpossiblelibrary.api.network.message.MessageWrapperAPI<?,CTX> wrapMessage(net.minecraftforge.fml.relauncher.Side side,
mods.thecomputerizer.theimpossiblelibrary.api.network.message.MessageAPI<CTX> message)
wrapMessage in interface mods.thecomputerizer.theimpossiblelibrary.api.network.NetworkAPI<net.minecraftforge.fml.common.network.simpleimpl.SimpleNetworkWrapper,net.minecraftforge.fml.relauncher.Side>public <CTX> mods.thecomputerizer.theimpossiblelibrary.api.network.message.MessageWrapperAPI<?,CTX> wrapMessages(net.minecraftforge.fml.relauncher.Side side,
mods.thecomputerizer.theimpossiblelibrary.api.network.message.MessageAPI<CTX>... messages)
wrapMessages in interface mods.thecomputerizer.theimpossiblelibrary.api.network.NetworkAPI<net.minecraftforge.fml.common.network.simpleimpl.SimpleNetworkWrapper,net.minecraftforge.fml.relauncher.Side>public <CTX> mods.thecomputerizer.theimpossiblelibrary.api.network.message.MessageWrapperAPI<?,CTX> wrapMessages(net.minecraftforge.fml.relauncher.Side side,
java.util.Collection<mods.thecomputerizer.theimpossiblelibrary.api.network.message.MessageAPI<CTX>> messages)
wrapMessages in interface mods.thecomputerizer.theimpossiblelibrary.api.network.NetworkAPI<net.minecraftforge.fml.common.network.simpleimpl.SimpleNetworkWrapper,net.minecraftforge.fml.relauncher.Side>public net.minecraftforge.fml.common.network.simpleimpl.SimpleNetworkWrapper getNetwork()
getNetwork in interface mods.thecomputerizer.theimpossiblelibrary.api.network.NetworkAPI<net.minecraftforge.fml.common.network.simpleimpl.SimpleNetworkWrapper,net.minecraftforge.fml.relauncher.Side>public boolean isDirToClient(net.minecraftforge.fml.relauncher.Side side)
isDirToClient in interface mods.thecomputerizer.theimpossiblelibrary.api.network.NetworkAPI<net.minecraftforge.fml.common.network.simpleimpl.SimpleNetworkWrapper,net.minecraftforge.fml.relauncher.Side>public boolean isDirLogin(net.minecraftforge.fml.relauncher.Side d)
isDirLogin in interface mods.thecomputerizer.theimpossiblelibrary.api.network.NetworkAPI<net.minecraftforge.fml.common.network.simpleimpl.SimpleNetworkWrapper,net.minecraftforge.fml.relauncher.Side>public mods.thecomputerizer.theimpossiblelibrary.api.resource.ResourceLocationAPI<?> readResourceLocation(io.netty.buffer.ByteBuf buf)
readResourceLocation in interface mods.thecomputerizer.theimpossiblelibrary.api.network.NetworkAPI<net.minecraftforge.fml.common.network.simpleimpl.SimpleNetworkWrapper,net.minecraftforge.fml.relauncher.Side>public mods.thecomputerizer.theimpossiblelibrary.api.tag.CompoundTagAPI<?> readTag(io.netty.buffer.ByteBuf buf)
readTag in interface mods.thecomputerizer.theimpossiblelibrary.api.network.NetworkAPI<net.minecraftforge.fml.common.network.simpleimpl.SimpleNetworkWrapper,net.minecraftforge.fml.relauncher.Side>public void registerMessage(mods.thecomputerizer.theimpossiblelibrary.api.network.message.MessageDirectionInfo<net.minecraftforge.fml.relauncher.Side> dir,
int id)
registerMessage in interface mods.thecomputerizer.theimpossiblelibrary.api.network.NetworkAPI<net.minecraftforge.fml.common.network.simpleimpl.SimpleNetworkWrapper,net.minecraftforge.fml.relauncher.Side>public <P,M extends mods.thecomputerizer.theimpossiblelibrary.api.network.message.MessageWrapperAPI<?,?>> void sendToPlayer(M message,
P player)
sendToPlayer in interface mods.thecomputerizer.theimpossiblelibrary.api.network.NetworkAPI<net.minecraftforge.fml.common.network.simpleimpl.SimpleNetworkWrapper,net.minecraftforge.fml.relauncher.Side>public <M extends mods.thecomputerizer.theimpossiblelibrary.api.network.message.MessageWrapperAPI<?,?>> void sendToServer(M message)
sendToServer in interface mods.thecomputerizer.theimpossiblelibrary.api.network.NetworkAPI<net.minecraftforge.fml.common.network.simpleimpl.SimpleNetworkWrapper,net.minecraftforge.fml.relauncher.Side>public void writeTag(io.netty.buffer.ByteBuf buf,
mods.thecomputerizer.theimpossiblelibrary.api.tag.CompoundTagAPI<?> tag)
writeTag in interface mods.thecomputerizer.theimpossiblelibrary.api.network.NetworkAPI<net.minecraftforge.fml.common.network.simpleimpl.SimpleNetworkWrapper,net.minecraftforge.fml.relauncher.Side>