net.earthcomputer.multiconnect.api.IMulticonnectTranslator Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of multiconnect Show documentation
Show all versions of multiconnect Show documentation
The full multiconnect mod JAR
The newest version!
package net.earthcomputer.multiconnect.api;
import io.netty.buffer.ByteBuf;
import io.netty.channel.Channel;
public interface IMulticonnectTranslator {
default int priority() {
return 0;
}
boolean isApplicableInEnvironment(IMulticonnectTranslatorApi api);
void init(IMulticonnectTranslatorApi api);
void inject(Channel channel);
void postPipelineModifiers(Channel channel);
boolean doesServerKnow(String registry, String entry);
void sendStringCustomPayload(Channel channel, String payloadChannel, ByteBuf payload) throws Exception;
void sendOpenedInventory(Channel channel) throws Exception;
}