Platform
abstract class Platform
Content copied to clipboard
Base class for platform implementations.
Functions
checkPermission
Link copied to clipboard
abstract fun checkPermission(source: CommandSourceStack, permissionNode: String, fallbackLevel: Int): Boolean
Content copied to clipboard
Checks for permission of provided command source.
getConfigDirPath
Link copied to clipboard
Gets the path to the directory where the config files are stored.
getItemRegistrySize
Link copied to clipboard
Gets size of item registry.
isModLoaded
Link copied to clipboard
Checks whether certain mod is loaded.
openEditorGui
Link copied to clipboard
registerTaterzenType
Link copied to clipboard
abstract fun registerTaterzenType()
Content copied to clipboard
Registers the taterzen entity type.