Pokechu22/WorldDownloader


Makes a copy of parts of a multiplayer world for singleplayer use (EG, for backups or renders) https://www.minecraftforum.net/forums/mapping-and-modding-java-edition/minecraft-mods/2520465-world-downloader-mod-create-backups-of-your-builds

Download


Step 1. Add the JitPack repository to your build file

Add it in your root settings.gradle at the end of repositories:

	dependencyResolutionManagement {
		repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
		repositories {
			mavenCentral()
			maven { url 'https://jitpack.io' }
		}
	}

Add it in your settings.gradle.kts at the end of repositories:

	dependencyResolutionManagement {
		repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
		repositories {
			mavenCentral()
			maven { url = uri("https://jitpack.io") }
		}
	}

Add to pom.xml

	<repositories>
		<repository>
		    <id>jitpack.io</id>
		    <url>https://jitpack.io</url>
		</repository>
	</repositories>

Add it in your build.sbt at the end of resolvers:

 
    resolvers += "jitpack" at "https://jitpack.io"
        
    

Add it in your project.clj at the end of repositories:

 
    :repositories [["jitpack" "https://jitpack.io"]]
        
    

Step 2. Add the dependency

	dependencies {
		implementation 'com.github.Pokechu22:WorldDownloader:'
	}
	dependencies {
		implementation("com.github.Pokechu22:WorldDownloader:")
	}
	<dependency>
	    <groupId>com.github.Pokechu22</groupId>
	    <artifactId>WorldDownloader</artifactId>
	    <version></version>
	</dependency>

                            
    libraryDependencies += "com.github.Pokechu22" % "WorldDownloader" % ""
        
        

                            
    :dependencies [[com.github.Pokechu22/WorldDownloader ""]]
        
        

Readme


Alternatives

This mod is currently stuck on 1.16.x, and as such, will not function on any newer versions, however as of 2023 there are currently 2 alternatives developed by other people:

World Downloader v4

World Downloader is a mod that allows making backups of Minecraft worlds. You can view the Minecraft forum thread here. Project wiki; issue tracker.

This is a continuation dslake's original version.

How do I compile this?

You first need to set up begradle. Right now, this can be done by downloading from this repo and then running gradlew install. Later this'll be put into a maven repo so that it doesn't need to manually be installed, but at this phase in development, it needs to manually be done.

Once that is set up, you should be able to get everything to work by running gradlew setupDecompWorkspace build. Hopefully. If something doesn't work quite right, it may be a bug with begradle or another part of the build system; there should be a notification in the most common cases as to what you need to do.

To compile for a single Minecraft version, run gradlew :version:build (for instance, gradlew :1.11.2-litemod:build).

What is this branch?

I'm going to be putting v4 development in this branch.

Why a new version?

I have been working on cleaning up the build process so that I can build for all versions of Minecraft at the same time, rather than developing against one version (usually 1.8) and porting to all the other versions at once.

However, the actual code for the project will remain more or less exactly the same - just moved to a new location within the project. It's not a rewrite, just a refactoring.

Why v4 specifically?

There's already legacy and wdl2 branches separate from the master branch. v4 seems like the next version. Plus, 4 is the IEEE-vetted random number.

Where's the old code?

On separate branches - master, and 1.7.10/1.9/1.10...