public class Protocol1_14To1_13_2 extends Protocol<ClientboundPackets1_13,ClientboundPackets1_14,ServerboundPackets1_13,ServerboundPackets1_14>
Protocol.Packet, Protocol.ProtocolPacket| Modifier and Type | Field and Description | 
|---|---|
| static MappingData | MAPPINGS | 
newClientboundPacketEnum, newServerboundPacketEnum, oldClientboundPacketEnum, oldServerboundPacketEnum| Constructor and Description | 
|---|
| Protocol1_14To1_13_2() | 
| Modifier and Type | Method and Description | 
|---|---|
| MappingData | getMappingData() | 
| void | init(UserConnection userConnection)Initialise a user for this protocol setting up objects. | 
| protected void | onMappingDataLoaded()Called after  Protocol.loadMappingData()is called; load extra mapping data for the protocol. | 
| protected void | registerPackets()Register the packets for this protocol. | 
cancelIncoming, cancelIncoming, cancelIncoming, cancelOutgoing, cancelOutgoing, cancelOutgoing, filterPacket, get, hasMappingDataToLoad, hasRegisteredIncoming, hasRegisteredOutgoing, isFiltered, loadMappingData, put, register, registerIncoming, registerIncoming, registerIncoming, registerIncoming, registerIncoming, registerIncomingChannelIdChanges, registerOutgoing, registerOutgoing, registerOutgoing, registerOutgoing, registerOutgoing, registerOutgoing, registerOutgoingChannelIdChanges, toString, transformpublic static final MappingData MAPPINGS
protected void registerPackets()
Protocolprotected void onMappingDataLoaded()
ProtocolProtocol.loadMappingData() is called; load extra mapping data for the protocol.
 To be overridden if needed.
public void init(UserConnection userConnection)
ProtocolUserConnection
 To be overridden if needed.
init in class Protocol<ClientboundPackets1_13,ClientboundPackets1_14,ServerboundPackets1_13,ServerboundPackets1_14>userConnection - The user to initialisepublic MappingData getMappingData()
Copyright © 2016–2021. All rights reserved.