All Downloads are FREE. Search and download functionalities are using the official Maven repository.

net.earthcomputer.multiconnect.api.IMulticonnectTranslator Maven / Gradle / Ivy

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;
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy