接口 SimpleHandlerProtocol<BUF extends FriendlyByteBuf,BASE>
- 所有超级接口:
BaseProtocol<SimpleHandlerFlow<BUF,
,BASE>, SimpleHandlerProtocol<BUF, BASE>> SimpleConnection<BASE>
- 所有已知子接口:
SimpleHandlerFlow<BUF,
BASE>
public interface SimpleHandlerProtocol<BUF extends FriendlyByteBuf,BASE>
extends BaseProtocol<SimpleHandlerFlow<BUF,BASE>,SimpleHandlerProtocol<BUF,BASE>>, SimpleConnection<BASE>
Entry point for a
SimpleChannel
protocol that mimics vanilla's
Packet
system where every packet must implement
SimplePacket
and will have their handle(CTX, Context)
method called.-
方法概要
从接口继承的方法 net.minecraftforge.network.simple.BaseProtocol
bidirectional, bidirectional, clientbound, clientbound, flow, flow, flow, serverbound, serverbound
从接口继承的方法 net.minecraftforge.network.simple.SimpleConnection
any, any, any, any, configuration, configuration, configuration, configuration, login, login, login, login, play, play, play, play, protocol, protocol, protocol, protocol