Package com.sk89q.worldedit.command
Class SnapshotUtilCommands
java.lang.Object
com.sk89q.worldedit.command.SnapshotUtilCommands
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
restore
(Actor actor, World world, LocalSession session, EditSession editSession, String snapshotName, boolean restoreBiomes, boolean restoreEntities)
-
Constructor Details
-
SnapshotUtilCommands
-
-
Method Details
-
restore
public void restore(Actor actor, World world, LocalSession session, EditSession editSession, @Arg(name="snapshot",desc="The snapshot to restore",def="") String snapshotName, @Switch(name='b',desc="If biomes should be restored. If restoring from pre-1.15 to 1.15+, biomes may not be exactly the same due to 3D biomes.") boolean restoreBiomes, @Switch(name='e',desc="If entities should be restored. Will cause issues with duplicate entities if all original entities were not removed.") boolean restoreEntities) throws WorldEditException, IOException - Throws:
WorldEditException
IOException
-