Class ServerTime

java.lang.Object
net.notcoded.codelib.server.ServerTime

public class ServerTime extends Object
  • Field Details

    • server

      public static net.minecraft.server.MinecraftServer server
  • Constructor Details

    • ServerTime

      public ServerTime()
  • Method Details

    • firstTick

      public static void firstTick(net.minecraft.server.MinecraftServer server)
    • runCommand

      public static void runCommand(String command)
      Runs a command as the server (console).
      Parameters:
      command - The command.
    • runCommands

      public static void runCommands(ArrayList<String> commands)
      Runs multiple commands as the server (console).
      Parameters:
      commands - The commands.