public class Protocol1_15To1_14_4 extends Protocol<ClientboundPackets1_14,ClientboundPackets1_15,ServerboundPackets1_14,ServerboundPackets1_14>
Protocol.Packet, Protocol.ProtocolPacket
Modifier and Type | Field and Description |
---|---|
static MappingData |
MAPPINGS |
newClientboundPacketEnum, newServerboundPacketEnum, oldClientboundPacketEnum, oldServerboundPacketEnum
Constructor and Description |
---|
Protocol1_15To1_14_4() |
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, transform
public static final MappingData MAPPINGS
protected void registerPackets()
Protocol
protected void onMappingDataLoaded()
Protocol
Protocol.loadMappingData()
is called; load extra mapping data for the protocol.
To be overridden if needed.
public void init(UserConnection userConnection)
Protocol
UserConnection
To be overridden if needed.
init
in class Protocol<ClientboundPackets1_14,ClientboundPackets1_15,ServerboundPackets1_14,ServerboundPackets1_14>
userConnection
- The user to initialisepublic MappingData getMappingData()
Copyright © 2016–2021. All rights reserved.