Schematic Brush was an add-on plugin for bukkit worldedit which allowed to paste schematics around using a brush tool. That was really really helpful for things like trees for example. > The official bukkit page <
Maybe there is a way to convert that to sponge, with or without worldedit
fast port, nothing fancy
I havent got any time to properly test it, so far i can only tell it will load with sponge 1.10 bleedeing edge builds.
any feedback would be appreciated
Commands are same as bukkit version.
configuration file is not same. do not copy your old one to schematic brush config dir.
Thatās really great, thanks for your effort!
I wanted to test it out, but when applying the brush it says āThis can only be used by playersā What am I doing wrong? Iām on my private sponge server (and therefor admin of course)
I was testing it for a bit now and it all seemed to work I couldnāt find any bugs.
At first I thought there was something off regarding the ā-place:ā but I found out what I did wrong ^^
Thanks alot man! This will be so super useful
In case I find something in the future I make sure to keep you up to date!
As I said, I want to keep you up to date. I found a bug, but I donāt know what causes it unfortunately. Some schematics have half their blocks missing when pasted in a specific rotation/ mirrored in a specific direction. Or maybe it is a combo of these two elements. From what Iāve experienced these happens to like every 3rd-5th schematic. All other ones work completely fine. I saved them all using the exact same method in world edit.
It happens with specific schematics, some of them behave completely normal, others ācorruptā when pasted in a specific way.
The schematics contain modded blocks, but I recreated the problem using a schematic only containing cobblestone. So I would guess thatās not the issue (also regarding the fact that many other schematics work perfectly fine all of which contain modded blocks )
Initially I just made a simple schematic. A couple of blocks selected in world edit and saved it. Loading it to the brush I saved it and got a notification in the console that it pasted but I could never see it. I copied in one of the fantasy tree schematics from Lentebriesje (which is real reason I really wanted to use this brush anyway) and it works fine. I added the -place:BOTTOM attribute on the brush setup. So not entirely sure why but it appears to work.
As anybody tried using the schset functionality? I can create the set, add to it and even use it in game. However when I restart the server it chokes on the config file it creates with the exception below. Iām pretty sure itās the file (config\schematicbrush\schematicbrush.conf). If I delete the file and directory, brush functionality returns and it loads fine.
Exception:
[20:41:22] [Server thread/ERROR] [Sponge/sponge]: Could not pass FMLInitializationEvent to Plugin{id=schematicbrush, name=SchematicBrush, version=1.0.0, source=C:\Sieg\Forge-Server\mods\SchematicBrush-1.0.1.jar}
java.lang.ClassCastException: com.google.gson.internal.LinkedTreeMap cannot be cast to java.util.LinkedHashMap
at com.mikeprimm.bukkit.SchematicBrush.SchematicBrush.loadSchematicSets(SchematicBrush.java:880) ~[SchematicBrush.class:?]
at com.mikeprimm.bukkit.SchematicBrush.SchematicBrush.onEnable(SchematicBrush.java:345) ~[SchematicBrush.class:?]
at org.spongepowered.common.event.listener.GameInitializationEventListener_SchematicBrush_onEnable12.handle(Unknown Source) ~[?:?]
at org.spongepowered.common.event.RegisteredListener.handle(RegisteredListener.java:95) ~[RegisteredListener.class:1.10.2-2092-5.0.0-BETA-1759]
at org.spongepowered.mod.event.SpongeModEventManager.post(SpongeModEventManager.java:353) [SpongeModEventManager.class:1.10.2-2092-5.0.0-BETA-1759]
at org.spongepowered.mod.event.SpongeModEventManager.post(SpongeModEventManager.java:394) [SpongeModEventManager.class:1.10.2-2092-5.0.0-BETA-1759]
at org.spongepowered.mod.SpongeMod.onStateEvent(SpongeMod.java:222) [SpongeMod.class:1.10.2-2092-5.0.0-BETA-1759]