RobJan.Minecraft.ChunkRemover 1.1.2

dotnet tool install --global RobJan.Minecraft.ChunkRemover --version 1.1.2
This package contains a .NET tool you can call from the shell/command line.
dotnet new tool-manifest # if you are setting up this repo
dotnet tool install --local RobJan.Minecraft.ChunkRemover --version 1.1.2
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=RobJan.Minecraft.ChunkRemover&version=1.1.2
nuke :add-package RobJan.Minecraft.ChunkRemover --version 1.1.2

How to use

Open your terminal and navigate to the world folder. From there you can use the command as followed:

chunkrm -r <range> -c <coord> [<coord> <coord> ...]

Arguments

  • -w or --world Defaults to the current directory. Path to the world folder.
  • -r or --range Defaults to 32. Range of chunks to not remove.
  • -c or --coordinates List of coordinates to not remove any chunks around within the range. Coordinates are in the format x,z. Optionally the range can be overridden for each coordinate by using the format x,z,r where r is the range.

Examples

Remove everything but regions within 32 chunks from origin.

chunkrm -c 0,0

Remove everything but regions that are within 50 chunks from x:0, z:0; x:-1000, z:500; and x:5600, z:5000.

chunkrm -r 50 -c 0,0 -1000,500 5600,5000

Remove everything but regions that are within 32 chunks from origin in the world located at /home/user/world.

chunkrm -w /home/user/world -c 0,0

Remove everything but regions that are within 50 chunk from x:0, z:0. Or 16 chunks from x:1234, y:-2345; x:-4321, z:567; and x:5678, z:8765. We use the specified 16 chunk range for each coordinate. However, for the origin we want a larger range, so for that we add ,50 to its coordinate, making it 0,0,50.

chunkrm -r 16 -c 0,0,50 1234,-2345 -4321,567 5678,8765
Product Compatible and additional computed target framework versions.
.NET net6.0 is compatible.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

Version Downloads Last updated
1.1.2 446 6/20/2022
1.1.1 390 6/20/2022
1.1.0 417 6/19/2022