CommandAPI 9.6.0
An API for the command UI introduced in Minecraft 1.13
|
Configuration wrapper class. More...
Public Member Functions | |
InternalConfig (CommandAPIConfig<?> config) | |
Creates an InternalConfig from a CommandAPIConfig . More... | |
boolean | hasVerboseOutput () |
boolean | hasSilentLogs () |
boolean | shouldUseLatestNMSVersion () |
boolean | shouldBeLenientForMinorVersions () |
String | getMissingImplementationMessage () |
File | getDispatcherFile () |
boolean | shouldSkipSenderProxy (String commandName) |
Class<?> | getNBTContainerClass () |
Function< Object, ?> | getNBTContainerConstructor () |
void | lateInitializeNBT (Class<?> nbtContainerClass, Function< Object, ?> nbtContainerConstructor) |
String | getNamespace () |
Configuration wrapper class.
The config.yml file used by the CommandAPI is only ever read from, nothing is ever written to it. That's why there's only getter methods.
dev.jorel.commandapi.InternalConfig.InternalConfig | ( | CommandAPIConfig<?> | config | ) |
Creates an InternalConfig
from a CommandAPIConfig
.
config | The configuration to use to set up this internal configuration |
File dev.jorel.commandapi.InternalConfig.getDispatcherFile | ( | ) |
String dev.jorel.commandapi.InternalConfig.getMissingImplementationMessage | ( | ) |
String dev.jorel.commandapi.InternalConfig.getNamespace | ( | ) |
Class<?> dev.jorel.commandapi.InternalConfig.getNBTContainerClass | ( | ) |
Function< Object, ?> dev.jorel.commandapi.InternalConfig.getNBTContainerConstructor | ( | ) |
boolean dev.jorel.commandapi.InternalConfig.hasSilentLogs | ( | ) |
boolean dev.jorel.commandapi.InternalConfig.hasVerboseOutput | ( | ) |
boolean dev.jorel.commandapi.InternalConfig.shouldBeLenientForMinorVersions | ( | ) |
boolean dev.jorel.commandapi.InternalConfig.shouldSkipSenderProxy | ( | String | commandName | ) |
commandName | A command where sender proxying should be skipped |
boolean dev.jorel.commandapi.InternalConfig.shouldUseLatestNMSVersion | ( | ) |