WriteBlock("Generates one or more structured deposits of a single block type randomly within each chunk selected for update. The deposits are similar to natural ore deposits that appear in the world. Default values for depth, size, and number of rounds are provided for the true ores (coal, iron, gold, etc,). Other block types can be used as long as these values are specified in the command.");
Console.WriteLine();
options.PrintUsage();
}
elseif(args[1]=="replace"){
options=newReplaceOptions(args);
WriteBlock("Replaces one block type with another. By default all matching blocks in the world will be replaced, but updates can be restricted by the available options. This command can be used to set a new data value on blocks by replacing a block with itself.");
Console.WriteLine();
options.PrintUsage();
}
elseif(args[1]=="purge"){
options=newPurgeOptions(args);
WriteBlock("Deletes all chunks matching the chunk filtering options. If no options are specified, all world chunks will be deleted. Region files that have all of their chunks purged will also be deleted from the world directory.");
Console.WriteLine();
options.PrintUsage();
}
elseif(args[1]=="dump"){
options=newDumpOptions(args);
WriteBlock("Dumps out chunk data in a readable JSON file. Block data, which are byte arrays, are printed as Bas64-encoded strings.");
WriteBlock("Recalculates the blocklight and/or skylight values for selected chunks. This completely resets the lighting in a chunk, recalculates it from existing light sources, then stiches the lighting seamlessly back into neighboring chunks.");