singletonMap(1, ("Command blocks disabled by server"))}; } 代码示例来源:origin: ForestryMC/ForestryMC public static void serverStarting(MinecraftServer server) { CommandHandler commandManager = (CommandHandler) server.getCommandManager(); for (IForestryModule module : loadedModules) { ICommand[] ...