Package com.viaversion.viarewind.api
Interface ViaRewindPlatform
- All Known Implementing Classes:
ViaRewindPlatformImpl
public interface ViaRewindPlatform
The platform API for ViaRewind
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptiondefault StringReturns the platform's compression handler name.default StringReturns the platform's decompression handler name.Returns ViaRewind's data folder.Get the platform loggerdefault voidinit(ViaRewindConfig config) Initialize ViaRewinddefault void
-
Field Details
-
VERSION
- See Also:
-
IMPL_VERSION
- See Also:
-
-
Method Details
-
init
-
init
Initialize ViaRewind -
getLogger
Logger getLogger()Get the platform logger- Returns:
- the logger
-
getDataFolder
File getDataFolder()Returns ViaRewind's data folder.- Returns:
- data folder
-
compressHandlerName
Returns the platform's compression handler name. Only used in the 1.8 -> 1.7 protocol.- Returns:
- the compression handler name
-
decompressHandlerName
Returns the platform's decompression handler name. Only used in the 1.8 -> 1.7 protocol.- Returns:
- the decompression handler name
-