Interface ChangeProtocolVersionCallback
public interface ChangeProtocolVersionCallback
This event is fired when the user changes the target version in the screen, or if the user joins a server with a different version.
If the user disconnects, the event will also be fired with the current version.
-
Method Summary
Modifier and TypeMethodDescriptionvoidonChangeProtocolVersion(com.viaversion.viaversion.api.protocol.version.ProtocolVersion oldVersion, com.viaversion.viaversion.api.protocol.version.ProtocolVersion newVersion)
-
Method Details
-
onChangeProtocolVersion
void onChangeProtocolVersion(com.viaversion.viaversion.api.protocol.version.ProtocolVersion oldVersion, com.viaversion.viaversion.api.protocol.version.ProtocolVersion newVersion)
-