Schnittstelle 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.
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungvoidonChangeProtocolVersion(com.viaversion.viaversion.api.protocol.version.ProtocolVersion oldVersion, com.viaversion.viaversion.api.protocol.version.ProtocolVersion newVersion)
-
Methodendetails
-
onChangeProtocolVersion
void onChangeProtocolVersion(com.viaversion.viaversion.api.protocol.version.ProtocolVersion oldVersion, com.viaversion.viaversion.api.protocol.version.ProtocolVersion newVersion)
-