Go to file
2022-03-17 16:42:46 +10:00
.github Revert to v2 setup-java 2022-03-04 22:03:12 -08:00
buildSrc [Fabric] 1.18.2 update 2022-03-04 22:03:12 -08:00
config/checkstyle Move adapters to paperweight (#1909) 2021-10-01 21:11:29 -07:00
contrib/craftscripts Update the CraftScript README and SUBMITTING files 2020-09-26 13:08:04 +10:00
gradle/wrapper gradle 7.4 2022-03-04 22:03:12 -08:00
worldedit-bukkit Don't access PluginClassLoader directly (#2045) 2022-03-05 08:50:42 -05:00
worldedit-cli Extract log4j version to Versions.kt. 2021-12-12 18:49:32 -05:00
worldedit-core Change vector command converter wording. (#2059) 2022-03-13 02:38:50 +00:00
worldedit-fabric Un-mixup the mixins. 2022-03-17 16:42:45 +10:00
worldedit-forge Make some improvements to the Forge side - still not fixed 2022-03-17 16:42:46 +10:00
worldedit-libs Update worldedit-sponge to API 8 (#1771) 2022-01-29 18:02:42 +00:00
worldedit-mod Make some improvements to the Forge side - still not fixed 2022-03-17 16:42:46 +10:00
worldedit-sponge Apply update flag on later change (#2037) 2022-03-05 03:32:03 +00:00
.git-blame-ignore-revs Ensure CRLF stays out of the repo 2020-08-15 03:46:24 -07:00
.gitattributes Fix gitattributes (#1681) 2021-02-21 15:40:06 -08:00
.gitignore feat(i18n): add support for translatable text replacement (#478) 2019-12-09 12:46:18 +10:00
build.gradle.kts [Fabric] Update to 1.17 (#1772) 2021-06-08 19:18:24 -07:00
CHANGELOG.txt Release 7.2.9 2022-01-31 21:58:11 +10:00
COMPILING.md Note catch about toolchain system 2021-04-06 12:58:38 -07:00
CONTRIBUTING.md Updated changelog, contributing info, gradle, etc 2018-10-04 16:15:35 +10:00
crowdin-distributor.sh Update cdist 2021-06-12 00:32:56 -07:00
gradle.properties [Fabric] 1.18.2 update 2022-03-04 22:03:12 -08:00
gradlew Update to Gradle 7.3 2021-11-18 18:19:49 -08:00
gradlew.bat Update gradle to 6.8.3 2021-03-10 02:00:02 -08: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 Update so many dependencies, merge Forge/Fabric for final jar (#1651) 2021-01-25 02:14:09 -08:00
settings.gradle.kts [Bukkit] 1.18.2 2022-03-04 22:03:12 -08: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 any version of Java greater than or equal to 8.
    • Note that if you do not install JDK 8 exactly, Gradle will download it for you on first run. However, it is still required to have some form of Java installed for Gradle to start at all.
  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.

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.