public class Protocol1_12To1_11_1 extends Protocol<ClientboundPackets1_9_3,ClientboundPackets1_12,ServerboundPackets1_9_3,ServerboundPackets1_12>
Protocol.Packet, Protocol.ProtocolPacketnewClientboundPacketEnum, newServerboundPacketEnum, oldClientboundPacketEnum, oldServerboundPacketEnum| Constructor and Description |
|---|
Protocol1_12To1_11_1() |
| Modifier and Type | Method and Description |
|---|---|
void |
init(UserConnection userConnection)
Initialise a user for this protocol setting up objects.
|
protected void |
register(ViaProviders providers)
Handle protocol registration phase, use this to register providers / tasks.
|
protected void |
registerPackets()
Register the packets for this protocol.
|
cancelIncoming, cancelIncoming, cancelIncoming, cancelOutgoing, cancelOutgoing, cancelOutgoing, filterPacket, get, getMappingData, hasMappingDataToLoad, hasRegisteredIncoming, hasRegisteredOutgoing, isFiltered, loadMappingData, onMappingDataLoaded, put, registerIncoming, registerIncoming, registerIncoming, registerIncoming, registerIncoming, registerIncomingChannelIdChanges, registerOutgoing, registerOutgoing, registerOutgoing, registerOutgoing, registerOutgoing, registerOutgoing, registerOutgoingChannelIdChanges, toString, transformprotected void registerPackets()
Protocolprotected void register(ViaProviders providers)
ProtocolTo be overridden if needed.
register in class Protocol<ClientboundPackets1_9_3,ClientboundPackets1_12,ServerboundPackets1_9_3,ServerboundPackets1_12>providers - The current providerspublic void init(UserConnection userConnection)
ProtocolUserConnection
To be overridden if needed.
init in class Protocol<ClientboundPackets1_9_3,ClientboundPackets1_12,ServerboundPackets1_9_3,ServerboundPackets1_12>userConnection - The user to initialiseCopyright © 2016–2021. All rights reserved.