Spawning vanilla structures
jrenslo opened this issue ยท 3 comments
What feature do you want to see added?
Add support for spawning vanilla structures akin to the vanilla /place command, and worldedit's undocumented //feature command
Are there any alternatives?
vanilla worldedit
can also use vanilla /place, then //cut and //paste, but its cumbersome. Also given the commands already exist I imagine it might not be a heavy lift? (maybe hopefully? ๐ )
Anything else?
No response
Note, these are new changes in WE 7.3.0
relevant command section:
https://github.com/EngineHub/WorldEdit/blob/e2e916335477d5c02649aaeff2f81a0a2d43daa7/worldedit-core/src/main/java/com/sk89q/worldedit/command/GenerationCommands.java#L301
https://github.com/EngineHub/WorldEdit/blob/e2e916335477d5c02649aaeff2f81a0a2d43daa7/worldedit-core/src/main/java/com/sk89q/worldedit/command/GenerationCommands.java#L284
they call the generateFeature and generateStructure methods within specific World classes as the world adapter requires
(e.g. https://github.com/EngineHub/WorldEdit/blob/master/worldedit-fabric/src/main/java/com/sk89q/worldedit/fabric/FabricWorld.java#L489)
Duplicate of #2343