Package dev.jorel.commandapi
Interface CommandAPIVersionHandler
public interface CommandAPIVersionHandler
This file handles loading the correct platform implementation. The CommandAPIVersionHandler
file within the commandapi-core module is NOT used at run time. Instead, the platform modules
replace this class with their own version that handles loads the correct class for their version
-
Method Summary
Static MethodsModifier and TypeMethodDescriptionstatic CommandAPIPlatform<?,?, ?> Returns an instance of the version's implementation of CommandAPIPlatform.
-
Method Details
-
getPlatform
Returns an instance of the version's implementation of CommandAPIPlatform.- Returns:
- an instance of CommandAPIPlatform which can run on the currently active server
-