public class Protocol1_11To1_10 extends Protocol<ClientboundPackets1_9_3,ClientboundPackets1_9_3,ServerboundPackets1_9_3,ServerboundPackets1_9_3>
Protocol.Packet, Protocol.ProtocolPacket
newClientboundPacketEnum, newServerboundPacketEnum, oldClientboundPacketEnum, oldServerboundPacketEnum
Constructor and Description |
---|
Protocol1_11To1_10() |
Modifier and Type | Method and Description |
---|---|
void |
init(UserConnection userConnection)
Initialise a user for this protocol setting up objects.
|
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, register, registerIncoming, registerIncoming, registerIncoming, registerIncoming, registerIncoming, registerIncomingChannelIdChanges, registerOutgoing, registerOutgoing, registerOutgoing, registerOutgoing, registerOutgoing, registerOutgoing, registerOutgoingChannelIdChanges, toString, transform
protected void registerPackets()
Protocol
public void init(UserConnection userConnection)
Protocol
UserConnection
To be overridden if needed.
init
in class Protocol<ClientboundPackets1_9_3,ClientboundPackets1_9_3,ServerboundPackets1_9_3,ServerboundPackets1_9_3>
userConnection
- The user to initialiseCopyright © 2016–2021. All rights reserved.