Search in sources :

Example 1 with VSConfig

use of org.valkyrienskies.mod.common.config.VSConfig in project Valkyrien-Warfare-Revamped by ValkyrienWarfare.

the class VSCommandRegistry method registerCommands.

public static void registerCommands(MinecraftServer server) {
    ServerCommandManager manager = (ServerCommandManager) server.getCommandManager();
    manager.registerCommand(new VSConfigCommandBase("vsconfig", VSConfig.class, "vsc"));
    manager.registerCommand(new VSCommandBase<>(MainCommand.class));
    manager.registerCommand(new PhysSettingsCommand());
}
Also used : VSConfig(org.valkyrienskies.mod.common.config.VSConfig) ServerCommandManager(net.minecraft.command.ServerCommandManager) PhysSettingsCommand(org.valkyrienskies.mod.common.command.PhysSettingsCommand) MainCommand(org.valkyrienskies.mod.common.command.MainCommand) VSConfigCommandBase(org.valkyrienskies.mod.common.command.config.VSConfigCommandBase)

Aggregations

ServerCommandManager (net.minecraft.command.ServerCommandManager)1 MainCommand (org.valkyrienskies.mod.common.command.MainCommand)1 PhysSettingsCommand (org.valkyrienskies.mod.common.command.PhysSettingsCommand)1 VSConfigCommandBase (org.valkyrienskies.mod.common.command.config.VSConfigCommandBase)1 VSConfig (org.valkyrienskies.mod.common.config.VSConfig)1