Go to file
2020-12-09 22:39:20 -05:00
.github Disable codecov checks, as we don't fully test yet 2020-07-01 10:08:19 -07:00
buildSrc Always load internal strings.json for default locale 2020-11-29 17:20:32 -08:00
config/checkstyle Ensure CRLF stays out of the repo 2020-08-15 03:46:24 -07:00
contrib/craftscripts Update the CraftScript README and SUBMITTING files 2020-09-26 13:08:04 +10:00
gradle/wrapper Update ForgeGradle + Gradle 2019-09-22 14:12:34 -07:00
worldedit-bukkit Update adapters to fix #1586. 2020-12-09 22:39:19 -05:00
worldedit-cli Move to packaged translations (#1555) 2020-10-08 17:42:23 -07:00
worldedit-core Persist default state of selwand and navwand in session (#1600) 2020-12-09 15:03:42 +10:00
worldedit-fabric Implement UPDATE for Fabric (#1598) 2020-11-29 17:56:09 -08:00
worldedit-forge [Forge] Fix loading language files in prod env 2020-10-24 18:09:12 -07:00
worldedit-libs CRLF -> LF 2020-07-07 20:38:57 -07:00
worldedit-sponge Lower-case wand items on retrival from the config 2020-11-09 18:57:54 -08:00
.git-blame-ignore-revs Ensure CRLF stays out of the repo 2020-08-15 03:46:24 -07:00
.gitattributes Release 7.2.0 rc 2 2020-10-21 15:57:31 -04:00
.gitignore feat(i18n): add support for translatable text replacement (#478) 2019-12-09 12:46:18 +10:00
.travis.yml Fix travis. 2019-08-01 20:29:01 -04:00
build.gradle.kts Update build dependencies 2020-06-29 12:17:23 -07:00
CHANGELOG.txt Changelog for 7.2.1. 2020-12-09 22:39:20 -05:00
COMPILING.md Add fabric to the compiling.md (#1353) 2020-05-30 21:33:35 -07:00
CONTRIBUTING.md
crowdin-distributor.sh Update c-dist to upload strings 2020-11-28 14:51:29 -08:00
gradle.properties Back to snapshot for development. 2020-12-09 22:39:20 -05:00
gradlew Update ForgeGradle + Gradle 2019-09-22 14:12:34 -07:00
gradlew.bat Update to Gradle 5.5 2019-07-09 18:21:21 -07:00
HEADER.txt Officially propagate GPL downwards to all files 2020-08-13 21:06:39 -07:00
LICENSE.txt Officially propagate GPL downwards to all files 2020-08-13 21:06:39 -07:00
README.md Fixed image README width 2020-10-23 21:43:43 +10:00
settings.gradle.kts feature(cli): Added a CLI version of WorldEdit, and allowed most commands to be run from console (#508) 2019-08-25 19:58:28 +10:00
worldedit-logo.png Add logo to source. 2019-04-26 15:08:50 -04:00
worldedit-logo.svg Add an SVG variant of the logo 2020-10-23 21:37:29 +10:00

WorldEdit

A Minecraft Map Editor... that runs in-game!

  • With selections, schematics, copy and paste, brushes, and scripting!
  • Use it in creative, survival in single player or on your server.
  • Use it on your Minecraft server to fix grieving and mistakes.

Java Edition required. WorldEdit is compatible with Forge, Fabric, Bukkit, Spigot, Paper, and Sponge.

Download WorldEdit

This place contains the Java code for WorldEdit, but if you want to just use WorldEdit, get the mod or plugin from these pages:

Edit the Code

Want to add new features to WorldEdit or fix bugs yourself? You can get the game running, with WorldEdit, from the code here, without any additional outside steps, by doing the following four things:

  1. Download WorldEdit's source code and put it somewhere. We recommend you use something called Git if you already know how to use it, but you can also just download a .zip file. (If you plan on contributing the changes, you will need to figure out Git.)
  2. Install the Java Development Kit (JDK) v8 and restart your computer for safe measure. You absolutely need version 8 of the JDK, even if you have other versions installed.
  3. Open terminal / command prompt / bash and navigate to the directory where you put the source code.
  4. Run one of these following commands:
    • Mac OS X / Linux: ./gradlew :worldedit-fabric:runClient
    • Windows - Command Prompt: gradlew :worldedit-fabric:runClient
    • Windows - PowerShell: .\gradlew :worldedit-fabric:runClient

🎉 That's it. 🎉 It takes a long time to actually transform WorldEdit into a mod. If it succeeds, the Minecraft game will open and you can create a single player world with WorldEdit.

When you make changes to the code, you have to restart the game by re-running the command for your changes to take effect. If there are errors in your Java syntax, the command will fail.

Got an error?
If you get a Type javax.tools.JavaCompiler not present error, you need to edit your environmental variables and add a new JAVA_HOME variable. The value of the variable needs to be the path to where JDK 8 was installed.

For additional information about compiling WorldEdit, see COMPILING.md.

Using a Java IDE

To edit WorldEdit in a Java IDE, follow these steps:

  1. Download and install IntelliJ IDEA Community Edition.
  2. In the IDE, open the folder that you saved WorldEdit's code in. This creates a new project in IDEA.

That's pretty much it.

If you want to be able to run the game also, follow these instructions:

  1. Go to Run -> Edit Configurations.
  2. Add a Gradle task:
    1. Choose worldedit-fabric for the project.
    2. For the tasks, type in runClient
  3. Click OK
  4. Under the Run menu again, go to "Debug [your new task]".

Speeding up the Edit-Test-Edit-Test Cycle

It's a little annoying have to restart the game to test your changes. The best way to reduce the time is to run the server instead (using runServer instead of runClient) and then reconnect to the server after restarting it.

Submitting Your Changes

WorldEdit is open source (specifically licensed under GPL v3), so note that your contributions will also be open source. The best way to submit a change is to create a fork on GitHub, put your changes there, and then create a "pull request" on our WorldEdit repository.

Please read CONTRIBUTING.md for important guidelines to follow.