Package net.notcoded.codelib.server
Class ServerTime
java.lang.Object
net.notcoded.codelib.server.ServerTime
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidfirstTick(net.minecraft.server.MinecraftServer server) static voidrunCommand(String command) Runs a command as the server (console).static voidrunCommands(ArrayList<String> commands) Runs multiple commands as the server (console).
-
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
Runs a command as the server (console).- Parameters:
command- The command.
-
runCommands
Runs multiple commands as the server (console).- Parameters:
commands- The commands.
-