- Notifications
You must be signed in to change notification settings - Fork894
🗺️ Minecraft map editor and mod
License
EngineHub/WorldEdit
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
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 griefing and mistakes.
Java Edition required. WorldEdit is compatible with NeoForge, Fabric, Bukkit, Spigot, Paper, and Sponge.
This place contains the Java code for WorldEdit, but if you want to just use WorldEdit, get the mod or plugin from Modrinth:
https://modrinth.com/plugin/worldedit/versions
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 followingfour things:
- Download WorldEdit's source code and put it somewhere. We recommend you use something called Git if you already know how to use it, butyou can also just download a .zip file. (If you plan on contributing the changes, you will need to figure out Git.)
- Install any version of Java greater than or equal to 21.
- Note that if you donot install JDK 21 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.
- Open terminal / command prompt / bash and navigate to the directory where you put the source code.
- Runone 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
- Mac OS X / Linux:
🎉 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, seeCOMPILING.md.
To edit WorldEdit in a Java IDE, follow these steps:
- Download and installIntelliJ IDEA Community Edition.
- 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:
- Go to Run -> Edit Configurations.
- Add a Gradle task:
- Choose
worldedit-fabric
for the project. - For the tasks, type in
runClient
- Choose
- Click OK
- Under the Run menu again, go to "Debug [your new task]".
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 (usingrunServer
instead ofrunClient
) and then reconnect to the server after restarting it.
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 readCONTRIBUTING.md for important guidelines to follow.
YourKit supports open source projects with innovative and intelligent tools for monitoring and profiling Java and .NET applications.YourKit is the creator ofYourKit Java Profiler,YourKit .NET Profiler,andYourKit YouMonitor.
About
🗺️ Minecraft map editor and mod