• Stars
    star
    3,083
  • Rank 14,594 (Top 0.3 %)
  • Language
    Java
  • License
    Other
  • Created about 14 years ago
  • Updated 2 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

🗺️ Minecraft map editor and mod

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 griefing 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 16.
    • Note that if you do not install JDK 16 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.

Links

More Repositories

1

WorldGuard

🛡️ Protect your Minecraft server and lets players claim areas
Java
826
star
2

CraftBook

🔧 Machines, ICs, PLCs, and more!
Java
301
star
3

CommandBook

General and administrative commands
Java
145
star
4

CommandHelper

Rapid scripting and command aliases for Minecraft owners
Java
120
star
5

Intake

IoC-oriented Java command parsing library
Java
100
star
6

SchematicWebViewer

An NPM package to facilitate importing and viewing of modern Minecraft schematics.
TypeScript
62
star
7

SquirrelID

Mojang profile / UUID lookup and last known UUID -> name cache Java library
Java
53
star
8

Piston

A generic command system, with tie-ins to many Minecraft platforms such as Bukkit, Forge, and Sponge.
Java
17
star
9

SchematicJS

A TypeScript/JavaScript library for loading and saving WorldEdit schematics.
TypeScript
15
star
10

PRTree

PRTree library from http://www.khelekore.org/prtree/index.shtml
Java
14
star
11

worldedit-adapters

CBukkit & Spigot bindings for WE
Java
14
star
12

libcomponents

A component system currently used in CommandBook.
Java
14
star
13

CraftAPI

XML-RPC interface for hMod with support for streaming APIs
Java
10
star
14

WorldGourd

🛡️ Protect your Minecraft gourds
Java
9
star
15

Precogs

Precogs - A Bukkit/Sponge AntiCheat service API, allowing plugins to easily support multiple AntiCheats
Java
9
star
16

MinerHat

Protocol analysis and proxy for Minecraft
Java
8
star
17

JingleNote

NoteBlock sequencer for Minecraft, accepting MIDI, Strings, and more!
Java
4
star
18

CraftBookNMS

NMS Extensions for CraftBook
Java
3
star
19

worldedit-ref

Source to the WE reference PDF
3
star
20

WorldEditDocs

User docs for https://github.com/EngineHub/WorldEdit
Python
3
star
21

wg-regions-six2five

Downgrade WG 6 regions.yml to a WG 5 regions.yml
Java
3
star
22

CraftBookDocs

Python
2
star
23

ForgeUtils

Replaced by EngineHub/MCUtils
Java
2
star
24

permscompat

Legacy compatibility library for WEPIF
Java
2
star
25

enginehub-website

A monorepo containing all of the EngineHub-related websites.
TypeScript
2
star
26

lin-bus

A simple and concise library for reading, writing, and working with the Named Binary Tag format.
Java
2
star
27

EngineHub-Bot

EngineHub Bot - Discord bot to make software support slightly more tolerable
Java
1
star
28

gradle-codecov-plugin

Kotlin
1
star
29

MCUtils

Replacement library for ForgeUtils. Runs in an IDE and currently uses the magic of Fabric
Java
1
star
30

remote-glovebox

An open-source javadoc.io-alike.
Kotlin
1
star
31

WorldEditVisualizer

Java
1
star