UnboundProtocol .java

net.minecraft.network.protocol.UnboundProtocol (interface, 11 lines): members: bind. imports: ProtocolInfo, PacketListener, ByteBuf.

net.minecraft.network.protocolinterface11 linescommonextends PacketListener391 B

API Surface (0)

No public/protected methods detected (fields or constants only).

Code Graph: Dependencies (2)

Edges (calls / imports / inherits / references) resolved by graphify from the AST. Every chip opens the class source.

Full Source

UnboundProtocol.java11 lines · Minecraft 26.3 · verbatim
1
package net.minecraft.network.protocol;
2
3
import io.netty.buffer.ByteBuf;
4
import java.util.function.Function;
5
import net.minecraft.network.PacketListener;
6
import net.minecraft.network.ProtocolInfo;
7
8
public interface UnboundProtocol<T extends PacketListener, B extends ByteBuf, C> extends ProtocolInfo.DetailsProvider {
9
	ProtocolInfo<T> bind(Function<ByteBuf, B> contextWrapper, C context);
10
}
11

Decompiled Minecraft 26.3 source of UnboundProtocol (net/minecraft/network/protocol/UnboundProtocol.java) with Mojang official mappings, stored verbatim on the site.