WorldEdit for SpongeAPI

:earth_americas::hammer: WorldEdit

WorldEdit is the classic Minecraft world-editing tool that many are familiar with. More information on what WorldEdit can do is available on the wiki, and the downloads are linked below.

:floppy_disk: Downloads

For all of the downloads, get the file labeled worldedit-sponge-mc{Minecraft Version}-{Worldedit Version}-dist.jar. For example, the plugin for MC 1.11 and version 6.1.7 might look like worldedit-sponge-mc1.11-6.1.7-dist.jar.

  • Version 6.1.7-SNAPSHOT (SpongeAPI 6; MC 1.11)
  • :notepad_spiral: Beta, but should be stable enough for most purposes. Please report any bugs here.
  • Download
  • Version 6.1.5-SNAPSHOT (SpongeAPI 5; MC 1.10.2)
  • :notepad_spiral: See note for MC 1.11.
  • Download
  • Version 6.1.5-SNAPSHOT (SpongeAPI 4; MC 1.8.9)
  • :notepad_spiral: See note for MC 1.11.
  • Download

:book: Source

The source of WorldEdit is available on GitHub. The source for the Sponge plugin is under worldedit-sponge.

25 Likes

FINALLY! :smile:

What took you so long? :wink:
Nah jk, but happy to see this finally happening ^^

1 Like

Links have been added for 1.9.4 and 1.10.2. Please be wary that they could have more bugs than the 1.8.9 versions.

4 Likes

The super pickaxe is broken in the one for 1.10.2.

[13:05:58] [Server thread/INFO] [io.github.hsyyid.essentialcmds]: [cartman2000] executed command /

Jul 02, 2016 1:05:59 PM com.sk89q.worldedit.util.eventbus.EventBus dispatch
SEVERE: [WorldEdit] Could not dispatch event: com.sk89q.worldedit.event.platform.BlockInteractEvent@4ebe7246 to handler EventHandler{priority=NORMAL}
java.lang.reflect.InvocationTargetException
at com.sk89q.worldedit.util.eventbus.EventHandler.handleEvent(EventHandler.java:75)
at com.sk89q.worldedit.util.eventbus.EventBus.dispatch(EventBus.java:187)
at com.sk89q.worldedit.util.eventbus.EventBus.post(EventBus.java:173)
at com.sk89q.worldedit.WorldEdit.handleBlockLeftClick(WorldEdit.java:703)
at com.sk89q.worldedit.sponge.SpongeWorldEdit.onPlayerInteract(SpongeWorldEdit.java:165)
at org.spongepowered.common.event.listener.InteractBlockEventListener_SpongeWorldEdit_onPlayerInteract7.handle(Unknown Source)
at org.spongepowered.common.event.RegisteredListener.handle(RegisteredListener.java:95)
at org.spongepowered.mod.event.SpongeModEventManager.post(SpongeModEventManager.java:225)
at org.spongepowered.mod.event.SpongeModEventManager.post(SpongeModEventManager.java:208)
at org.spongepowered.mod.event.SpongeModEventManager.post(SpongeModEventManager.java:253)
at org.spongepowered.mod.event.SpongeModEventManager.post(SpongeModEventManager.java:238)
at org.spongepowered.common.SpongeImpl.postEvent(SpongeImpl.java:138)
at net.minecraft.network.NetHandlerPlayServer.redirect$handleLeftBlockClick$0(NetHandlerPlayServer.java:676)
at net.minecraft.network.NetHandlerPlayServer.func_147345_a(NetHandlerPlayServer.java:631)
at net.minecraft.network.play.client.CPacketPlayerDigging.func_148833_a(SourceFile:40)
at net.minecraft.network.play.client.CPacketPlayerDigging.func_148833_a(SourceFile:10)
at org.spongepowered.common.network.PacketUtil.onProcessPacket(PacketUtil.java:119)
at net.minecraft.network.PacketThreadUtil$1.redirect$onProcessPacket$0(SourceFile:39)
at net.minecraft.network.PacketThreadUtil$1.run(SourceFile:13)
at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at net.minecraft.util.Util.func_181617_a(SourceFile:45)
at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:668)
at net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServer.java:387)
at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:613)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:471)
at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.reflect.InvocationTargetException
at sun.reflect.GeneratedMethodAccessor89.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.sk89q.worldedit.util.eventbus.MethodEventHandler.dispatch(MethodEventHandler.java:58)
at com.sk89q.worldedit.util.eventbus.EventHandler.handleEvent(EventHandler.java:73)
… 26 more
Caused by: java.lang.IllegalArgumentException: SpawnEntityEvent MUST have a SpawnCause as the root!
at com.google.common.base.Preconditions.checkArgument(Preconditions.java:125)
at org.spongepowered.api.event.impl.AbstractSpawnEntityEvent.init(AbstractSpawnEntityEvent.java:39)
at org.spongepowered.api.event.impl.SpawnEntityEvent$Custom$Impl.(Unknown Source)
at org.spongepowered.api.event.impl.SpawnEntityEvent$Custom$Factory.apply(Unknown Source)
at org.spongepowered.api.event.impl.SpawnEntityEvent$Custom$Factory.apply(Unknown Source)
at org.spongepowered.api.event.SpongeEventFactoryUtils.createEventImpl(SpongeEventFactoryUtils.java:81)
at org.spongepowered.api.event.SpongeEventFactory.createSpawnEntityEventCustom(SpongeEventFactory.java:1833)
at org.spongepowered.common.event.tracking.CauseTracker.spawnEntityWithCause(CauseTracker.java:465)
at net.minecraft.world.WorldServer.spawnEntity(WorldServer.java:972)
at com.sk89q.worldedit.sponge.SpongeWorld.dropItem(SpongeWorld.java:208)
at com.sk89q.worldedit.world.AbstractWorld.dropItem(AbstractWorld.java:124)
at com.sk89q.worldedit.world.AbstractWorld.simulateBlockMine(AbstractWorld.java:138)
at com.sk89q.worldedit.extent.world.SurvivalModeExtent.setBlock(SurvivalModeExtent.java:85)
at com.sk89q.worldedit.extent.AbstractDelegateExtent.setBlock(AbstractDelegateExtent.java:78)
at com.sk89q.worldedit.extent.world.BlockQuirkExtent.setBlock(BlockQuirkExtent.java:64)
at com.sk89q.worldedit.extent.AbstractDelegateExtent.setBlock(AbstractDelegateExtent.java:78)
at com.sk89q.worldedit.extent.world.ChunkLoadingExtent.setBlock(ChunkLoadingExtent.java:66)
at com.sk89q.worldedit.extent.AbstractDelegateExtent.setBlock(AbstractDelegateExtent.java:78)
at com.sk89q.worldedit.extent.AbstractDelegateExtent.setBlock(AbstractDelegateExtent.java:78)
at com.sk89q.worldedit.extent.validation.DataValidatorExtent.setBlock(DataValidatorExtent.java:67)
at com.sk89q.worldedit.extent.AbstractDelegateExtent.setBlock(AbstractDelegateExtent.java:78)
at com.sk89q.worldedit.extent.inventory.BlockBagExtent.setBlock(BlockBagExtent.java:111)
at com.sk89q.worldedit.extent.AbstractDelegateExtent.setBlock(AbstractDelegateExtent.java:78)
at com.sk89q.worldedit.extent.reorder.MultiStageReorder.setBlock(MultiStageReorder.java:93)
at com.sk89q.worldedit.extent.AbstractDelegateExtent.setBlock(AbstractDelegateExtent.java:78)
at com.sk89q.worldedit.extent.ChangeSetExtent.setBlock(ChangeSetExtent.java:64)
at com.sk89q.worldedit.extent.AbstractDelegateExtent.setBlock(AbstractDelegateExtent.java:78)
at com.sk89q.worldedit.extent.MaskingExtent.setBlock(MaskingExtent.java:69)
at com.sk89q.worldedit.extent.AbstractDelegateExtent.setBlock(AbstractDelegateExtent.java:78)
at com.sk89q.worldedit.extent.validation.BlockChangeLimiter.setBlock(BlockChangeLimiter.java:87)
at com.sk89q.worldedit.EditSession.setBlock(EditSession.java:503)
at com.sk89q.worldedit.EditSession.setBlock(EditSession.java:546)
at com.sk89q.worldedit.command.tool.SinglePickaxe.actPrimary(SinglePickaxe.java:56)
at com.sk89q.worldedit.extension.platform.PlatformManager.handleBlockInteract(PlatformManager.java:345)
… 31 more

[13:06:02] [Server thread/INFO] [io.github.hsyyid.essentialcmds]: [cartman2000] executed command /

1 Like

Super pickaxe fixed as of build:
http://builds.enginehub.org/job/worldedit/9268/download/worldedit-sponge-mc1.10.2-6.1.4-SNAPSHOT-dist.jar

1 Like

There is another bug with the pickaxe, if you hit leaves with it, it can drop items with missing textures.

The ones with missing textures are the sapling items, with the debug screen enabled on the client, you can see that it’s in a non-zero growth state when you go to set it down.

What is the difference between running the SpongeAPI version of WorldEdit and the Forge version of WorldEdit?

1 Like

The first needs SpongeAPI to work (SpongeForge or SpongeVanilla) the second needs Forge (SpongeForge or Forge)

1 Like

Sorry, I should have been more descriptive…

If I’m running a SpongeForge server, is there any difference feature-wise between SpongeAPI WorldEdit vs Forge WorldEdit?

1 Like

In theory no, but I can’t promise you anything

1 Like

With the Bukkit version, running the Forge and Bukkit versions together was advised for things like copying sign text etc. I’m not sure if this applies to the Sponge version though.

1 Like

Hello i’m running “spongeforge-1.8.9-1722-3.1.0-BETA-1136” and download the first file “worldedit-sponge-mc1.8.9-6.1.4-SNAPSHOT-dist”, however none of the commands seem to be working on my end, i get this error when i do //wand.
Note that i still do not have any permission plugin but other commands work well so i dont think thats the issue.

Thanks in advance

18.07 03:12:47 [Server] INFO at java.lang.reflect.Method.invoke(Method.java:497)
18.07 03:12:47 [Server] INFO at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
18.07 03:12:47 [Server] INFO at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
18.07 03:12:47 [Server] INFO at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
18.07 03:12:47 [Server] INFO Caused by: java.lang.reflect.InvocationTargetException
18.07 03:12:47 [Server] INFO at java.lang.Thread.run(Thread.java:745)
18.07 03:12:47 [Server] INFO at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:481)
18.07 03:12:47 [Server] INFO at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:605)
18.07 03:12:47 [Server] INFO at net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServer.java:344)
18.07 03:12:47 [Server] INFO at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:660)
18.07 03:12:47 [Server] INFO at net.minecraft.util.Util.func_181617_a(SourceFile:44)
18.07 03:12:47 [Server] INFO at java.util.concurrent.FutureTask.run(FutureTask.java:266)
18.07 03:12:47 [Server] INFO at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
18.07 03:12:47 [Server] INFO at net.minecraft.network.PacketThreadUtil$1.run(SourceFile:13)
18.07 03:12:47 [Server] INFO at net.minecraft.network.PacketThreadUtil$1.onProcessPacket(SourceFile:51)
18.07 03:12:47 [Server] INFO at org.spongepowered.common.network.PacketUtil.onProcessPacket(PacketUtil.java:106)
18.07 03:12:47 [Server] INFO at net.minecraft.network.play.client.C01PacketChatMessage.func_148833_a(SourceFile:9)
18.07 03:12:47 [Server] INFO at net.minecraft.network.play.client.C01PacketChatMessage.func_148833_a(SourceFile:37)
18.07 03:12:47 [Server] INFO at net.minecraft.network.NetHandlerPlayServer.func_147354_a(NetHandlerPlayServer.java:788)
18.07 03:12:47 [Server] INFO at net.minecraft.network.NetHandlerPlayServer.func_147361_d(NetHandlerPlayServer.java:809)
18.07 03:12:47 [Server] INFO at net.minecraft.command.ServerCommandManager.func_71556_a(SourceFile:83)
18.07 03:12:47 [Server] INFO at org.spongepowered.common.command.SpongeCommandManager.process(SpongeCommandManager.java:252)
18.07 03:12:47 [Server] INFO at org.spongepowered.api.command.dispatcher.SimpleDispatcher.process(SimpleDispatcher.java:331)
18.07 03:12:47 [Server] INFO at com.sk89q.worldedit.sponge.SpongePlatform$1.process(SpongePlatform.java:129)
18.07 03:12:47 [Server] INFO at com.sk89q.worldedit.util.eventbus.EventBus.post(EventBus.java:173)
18.07 03:12:47 [Server] INFO at com.sk89q.worldedit.util.eventbus.EventBus.dispatch(EventBus.java:187)
18.07 03:12:47 [Server] INFO at com.sk89q.worldedit.util.eventbus.EventHandler.handleEvent(EventHandler.java:75)
18.07 03:12:47 [Server] INFO java.lang.reflect.InvocationTargetException
18.07 03:12:47 [Server] INFO SEVERE: [WorldEdit] Could not dispatch event: com.sk89q.worldedit.event.platform.CommandEvent@7879b40 to handler EventHandler{priority=NORMAL}
18.07 03:12:47 [Server] INFO Jul 18, 2016 3:12:47 AM com.sk89q.worldedit.util.eventbus.EventBus dispatch

Hey @kenzierocks are you still developing this Plugin?

@Dark_Arc is in charge of development.

anyone can help with my previous post please?
Im kinda stuck right now :(. Thanks in advance!

You need to update SpongeForge (and probably Forge) as that build is ancient. That or find an older version of WorldEdit to use.

1 Like

Any reason for asking?

Yes, the Sponge version has better Sponge integration. You’ll get much better performance.

2 Likes

I’d just use the Sponge version, there’s nothing the Forge version will give you that the Sponge version won’t.

1 Like