- [22:18:28 ERROR]: [WorldEdit] An unexpected error while handling a WorldEdit command
- java.lang.IllegalArgumentException: Can't have a block ID above 4095 (6898 given)
- at com.sk89q.worldedit.blocks.BaseBlock.internalSetId(BaseBlock.java:145) ~[?:?]
- at com.sk89q.worldedit.blocks.BaseBlock.<init>(BaseBlock.java:102) ~[?:?]
- at com.sk89q.worldedit.bukkit.adapter.impl.Spigot_v1_12_R2.getBlock(Spigot_v1_12_R2.java:215) ~[?:?]
- at com.sk89q.worldedit.bukkit.BukkitWorld.getBlock(BukkitWorld.java:405) ~[?:?]
- at com.sk89q.worldedit.extent.AbstractDelegateExtent.getBlock(AbstractDelegateExtent.java:68) ~[?:?]
- at com.sk89q.worldedit.extent.AbstractDelegateExtent.getBlock(AbstractDelegateExtent.java:68) ~[?:?]
- at com.sk89q.worldedit.extent.AbstractDelegateExtent.getBlock(AbstractDelegateExtent.java:68) ~[?:?]
- at com.sk89q.worldedit.extent.AbstractDelegateExtent.getBlock(AbstractDelegateExtent.java:68) ~[?:?]
- at com.sk89q.worldedit.extent.AbstractDelegateExtent.getBlock(AbstractDelegateExtent.java:68) ~[?:?]
- at com.sk89q.worldedit.extent.AbstractDelegateExtent.getBlock(AbstractDelegateExtent.java:68) ~[?:?]
- at com.sk89q.worldedit.extent.AbstractDelegateExtent.getBlock(AbstractDelegateExtent.java:68) ~[?:?]
- at com.sk89q.worldedit.extent.AbstractDelegateExtent.getBlock(AbstractDelegateExtent.java:68) ~[?:?]
- at com.sk89q.worldedit.extent.AbstractDelegateExtent.getBlock(AbstractDelegateExtent.java:68) ~[?:?]
- at com.sk89q.worldedit.extent.AbstractDelegateExtent.getBlock(AbstractDelegateExtent.java:68) ~[?:?]
- at com.sk89q.worldedit.extent.ChangeSetExtent.setBlock(ChangeSetExtent.java:62) ~[?:?]
- 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:504) ~[?:?]
- at com.sk89q.worldedit.EditSession.setBlock(EditSession.java:547) ~[?:?]
- at com.sk89q.worldedit.function.block.BlockReplace.apply(BlockReplace.java:53) ~[?:?]
- at com.sk89q.worldedit.function.visitor.RegionVisitor.resume(RegionVisitor.java:57) ~[?:?]
- at com.sk89q.worldedit.function.operation.Operations.completeBlindly(Operations.java:74) ~[?:?]
- at com.sk89q.worldedit.command.composition.SelectionCommand.call(SelectionCommand.java:84) ~[?:?]
- at com.sk89q.worldedit.command.composition.SelectionCommand.call(SelectionCommand.java:46) ~[?:?]
- at com.sk89q.worldedit.util.command.composition.LegacyCommandAdapter.call(LegacyCommandAdapter.java:52) ~[?:?]
- at com.sk89q.worldedit.util.command.SimpleDispatcher.call(SimpleDispatcher.java:125) ~[?:?]
- at com.sk89q.worldedit.extension.platform.CommandManager.handleCommand(CommandManager.java:249) ~[?:?]
- at sun.reflect.GeneratedMethodAccessor110.invoke(Unknown Source) ~[?:?]
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_281]
- at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_281]
- at com.sk89q.worldedit.util.eventbus.MethodEventHandler.dispatch(MethodEventHandler.java:58) ~[?:?]
- at com.sk89q.worldedit.util.eventbus.EventHandler.handleEvent(EventHandler.java:73) ~[?:?]
- 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.bukkit.WorldEditPlugin.onCommand(WorldEditPlugin.java:247) ~[?:?]
- at com.sk89q.bukkit.util.DynamicPluginCommand.execute(DynamicPluginCommand.java:54) ~[?:?]
- at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:155) ~[SimpleCommandMap.class:?]
- at org.bukkit.craftbukkit.v1_12_R1.CraftServer.dispatchCommand(CraftServer.java:752) ~[CraftServer.class:?]
- at net.minecraft.network.NetHandlerPlayServer.handleSlashCommand(NetHandlerPlayServer.java:1588) ~[pa.class:?]
- at net.minecraft.network.NetHandlerPlayServer.processChatMessage(NetHandlerPlayServer.java:1427) ~[pa.class:?]
- at net.minecraft.network.play.client.CPacketChatMessage.processPacket(CPacketChatMessage.java:46) ~[la.class:?]
- at net.minecraft.network.play.client.CPacketChatMessage.processPacket(CPacketChatMessage.java:9) ~[la.class:?]
- at net.minecraft.network.PacketThreadUtil.lambda$checkThreadAndEnqueue$0(PacketThreadUtil.java:16) ~[hv.class:?]
- at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) [?:1.8.0_281]
- at java.util.concurrent.FutureTask.run(Unknown Source) [?:1.8.0_281]
- at net.minecraft.util.Util.runTask(SourceFile:529) [h.class:?]
- at net.minecraft.server.MinecraftServer.updateTimeLightAndEntities(MinecraftServer.java:846) [MinecraftServer.class:?]
- at net.minecraft.server.dedicated.DedicatedServer.updateTimeLightAndEntities(DedicatedServer.java:467) [nz.class:?]
- at net.minecraft.server.MinecraftServer.tick(MinecraftServer.java:784) [MinecraftServer.class:?]
- at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:630) [MinecraftServer.class:?]
- at java.lang.Thread.run(Unknown Source) [?:1.8.0_281]
更新WorldEdit试试呢
在使用Paste 以及 Copy指令时也会发生错误 版本是哦6.1.9的版本 服务端版本是1.12.2 是对应上的 没有错误
worldedit不能获取id超过4095的方块
应该是一个mod的方块id超了
应该是一个mod的方块id超了
本帖最后由 Xure_ 于 2021-3-16 22:31 编辑
接下来提供在copy时后台的报错代码复制代码
接下来提供在copy时后台的报错代码
- [22:29:25 ERROR]: [WorldEdit] An unexpected error while handling a WorldEdit command
- java.lang.reflect.InvocationTargetException: null
- at sun.reflect.GeneratedMethodAccessor116.invoke(Unknown Source) ~[?:?]
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_281]
- at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_281]
- at com.sk89q.worldedit.util.command.parametric.ParametricCallable.call(ParametricCallable.java:228) ~[?:?]
- at com.sk89q.worldedit.util.command.SimpleDispatcher.call(SimpleDispatcher.java:125) ~[?:?]
- at com.sk89q.worldedit.extension.platform.CommandManager.handleCommand(CommandManager.java:249) ~[?:?]
- at sun.reflect.GeneratedMethodAccessor110.invoke(Unknown Source) ~[?:?]
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_281]
- at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_281]
- at com.sk89q.worldedit.util.eventbus.MethodEventHandler.dispatch(MethodEventHandler.java:58) ~[?:?]
- at com.sk89q.worldedit.util.eventbus.EventHandler.handleEvent(EventHandler.java:73) ~[?:?]
- 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.bukkit.WorldEditPlugin.onCommand(WorldEditPlugin.java:247) ~[?:?]
- at com.sk89q.bukkit.util.DynamicPluginCommand.execute(DynamicPluginCommand.java:54) ~[?:?]
- at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:155) ~[SimpleCommandMap.class:?]
- at org.bukkit.craftbukkit.v1_12_R1.CraftServer.dispatchCommand(CraftServer.java:752) ~[CraftServer.class:?]
- at net.minecraft.network.NetHandlerPlayServer.handleSlashCommand(NetHandlerPlayServer.java:1588) ~[pa.class:?]
- at net.minecraft.network.NetHandlerPlayServer.processChatMessage(NetHandlerPlayServer.java:1427) ~[pa.class:?]
- at net.minecraft.network.play.client.CPacketChatMessage.processPacket(CPacketChatMessage.java:46) ~[la.class:?]
- at net.minecraft.network.play.client.CPacketChatMessage.processPacket(CPacketChatMessage.java:9) ~[la.class:?]
- at net.minecraft.network.PacketThreadUtil.lambda$checkThreadAndEnqueue$0(PacketThreadUtil.java:16) ~[hv.class:?]
- at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) [?:1.8.0_281]
- at java.util.concurrent.FutureTask.run(Unknown Source) [?:1.8.0_281]
- at net.minecraft.util.Util.runTask(SourceFile:529) [h.class:?]
- at net.minecraft.server.MinecraftServer.updateTimeLightAndEntities(MinecraftServer.java:846) [MinecraftServer.class:?]
- at net.minecraft.server.dedicated.DedicatedServer.updateTimeLightAndEntities(DedicatedServer.java:467) [nz.class:?]
- at net.minecraft.server.MinecraftServer.tick(MinecraftServer.java:784) [MinecraftServer.class:?]
- at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:630) [MinecraftServer.class:?]
- at java.lang.Thread.run(Unknown Source) [?:1.8.0_281]
- Caused by: java.lang.IllegalArgumentException: Can't have a block ID above 4095 (6652 given)
- at com.sk89q.worldedit.blocks.BaseBlock.internalSetId(BaseBlock.java:145) ~[?:?]
- at com.sk89q.worldedit.blocks.BaseBlock.<init>(BaseBlock.java:102) ~[?:?]
- at com.sk89q.worldedit.bukkit.adapter.impl.Spigot_v1_12_R2.getBlock(Spigot_v1_12_R2.java:215) ~[?:?]
- at com.sk89q.worldedit.bukkit.BukkitWorld.getBlock(BukkitWorld.java:405) ~[?:?]
- at com.sk89q.worldedit.EditSession.getBlock(EditSession.java:417) ~[?:?]
- at com.sk89q.worldedit.function.block.ExtentBlockCopy.apply(ExtentBlockCopy.java:71) ~[?:?]
- at com.sk89q.worldedit.function.RegionMaskingFilter.apply(RegionMaskingFilter.java:53) ~[?:?]
- at com.sk89q.worldedit.function.visitor.RegionVisitor.resume(RegionVisitor.java:57) ~[?:?]
- at com.sk89q.worldedit.function.operation.DelegateOperation.resume(DelegateOperation.java:52) ~[?:?]
- at com.sk89q.worldedit.function.operation.Operations.completeLegacy(Operations.java:55) ~[?:?]
- at com.sk89q.worldedit.command.ClipboardCommands.copy(ClipboardCommands.java:91) ~[?:?]
远远饿了 发表于 2021-3-16 22:22
更新WorldEdit试试呢
应该是最新的了 在更是1.13的了
enderman_JC 发表于 2021-3-16 22:23
worldedit不能获取id超过4095的方块
应该是一个mod的方块id超了
我有尝试过对少数的方块执行该指令 结果是可以运行该指令 但是我将选区增大就会报错 不知道原因
Xure_ 发表于 2021-3-16 22:32
我有尝试过对少数的方块执行该指令 结果是可以运行该指令 但是我将选区增大就会报错 不知道原因 ...
应该是扩大的里面有我上面说的那种情况
把we删了换上这个试试Fast Async WorldEdit(1.8-1.12.2): https://ci.athion.net/job/FastAsyncWorldEdit/
换一个版本完美解决问题,前两天我用最新版一直报错,用以前的版本啥事儿都没有