Package com.sk89q.worldedit.cli
Class CLIWorldEdit
java.lang.Object
com.sk89q.worldedit.cli.CLIWorldEdit
The CLI implementation of WorldEdit.
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncom.sk89q.worldedit.extension.platform.Platform
Get the WorldEdit proxy for the platform.Get the working directory where WorldEdit's files are stored.static void
void
void
void
void
run
(InputStream inputStream) void
saveAllWorlds
(boolean force) void
-
Field Details
-
inst
-
-
Constructor Details
-
CLIWorldEdit
public CLIWorldEdit()
-
-
Method Details
-
setupRegistries
public void setupRegistries() -
onInitialized
public void onInitialized() -
onStarted
public void onStarted() -
onStopped
public void onStopped() -
getFileRegistries
-
getPlatform
public com.sk89q.worldedit.extension.platform.Platform getPlatform()Get the WorldEdit proxy for the platform.- Returns:
- the WorldEdit platform
-
getWorkingDir
Get the working directory where WorldEdit's files are stored.- Returns:
- the working directory
-
saveAllWorlds
public void saveAllWorlds(boolean force) -
run
-
main
-