Minecraft Mods

Super Spiral Generator [WorldEdit Scripts]

  • 89,246 views, 4 today
  • 11,714 downloads, 0 today
  • 187
  • 59
  • 108
inHaze's Avatar inHaze
Retired Moderator
Level 97 : Overlord Terraformer
5,937
Super Spiral Generator
This is a set of special WorldEdit craftscripts I put together that will allow you to quickly create in game custom spirals, and 3d patterns of any size, shape, or material you like.

I created these after playing around with manually building spirals before with the WorldEdit mod and figured there was a more efficient/automatic way of doing it. So I started messing around with some ideas till I came up with this set of three scripts.

There is also a tutorial video for examples and explanations on all the commands and how they work.

Commands/Scripts

(All these commands require a copied worldedit selection before using.)

Cylinder Spiral Generator

/cs spiral - Brings up the argument list.
/cs spiral 0 - Creates spiral with default settings.
/cs spiral radius, coil, count, dFlag, hFlag - Generate with custom settings. (exclude commas)

radius - Base radius for the spiral. (1+)
coil - Amount of coil compression. (1-10)
count - Number of coil segments generated. (1+)
dFlag - Double spiral - 1; Single Spiral - 0
hFlag- Alignment: Horizontal - 1; Vertical - 0

Conical Spiral Generator

/cs spiralc - Brings up the argument list.
/cs spiralc 0 - Creates spiral with default settings.
/cs spiralc gap, coil, count, dFlag, hFlag, fFlag - Generate with custom settings. (exclude commas)

gap - Gap separating radial sections. (.1 - 5)
coil - Amount of coil compression. (1-10)
count - Number of coil segments generated. (1+)
dFlag - Double spiral - 1; Single Spiral - 0
hFlag- Alignment: Horizontal - 1; Vertical - 0
fFlag - Alignment: Flipped - 2; Normal - 1; Flat - 0

Paste Block Replacer (Requires an active selection of blocks to use as a paste pattern)

/cs replaceme blockID - Pastes the copied blocks based on the points of blockID in the current selection.

blockID - The item ID of the block used as the pattern for pasting in the selection.

Installation/Setup

Singleplayer

1) Install the SinglePlayerCommands mod which comes with WorldEdit.
2) Open your main "%appdata%/.minecraft" folder up. (The one with bin and saves folder)
3) Copy the downloaded, unzipped folder "craftscripts" into it, merging with existing folder if necessary.
4) From the .minecraft folder navigate to the mods folder then to the sppcomands folder.
5) Find the worldedit.properties file and open with any text editor.
6) Go to the line that reads "scripting-timeout=" and change the value to 30000.
7) Save the file and close all folders, open Minecraft and test it out with the command "/cs spiral".

Multiplayer - Untested *You must own/have access to server files to install scripts.

1) Install WorldEdit plugin on the server.
2) Not 100% sure about the rest... these scripts haven't been tested on a server, but they should work.
3) Again, unsure, but I would try copying the craftscripts folder to the main server directory or worldedit folder.
4) If any server owner can confirm/deny this or give me proper instructions it would be appreciated.

Errors/Troubleshooting

Problem: I can't type at all.
Fix: Singleplayercommands isn't working, trying re installing from a fresh minecraft.jar.

Problem: Error Message "Failed to find an installed script engine." when using script.
Fix: Go here, download the Rhino Zip file. Unzip it and copy the included js.jar to your "/.minecraft/bin" folder.

Problem: Error Message "Script does not exist .../.minecraft/craftscripts/spiral.js" when using script.
Fix: Worldedit can't find the script in the craftscripts folder, make sure you copied it to the "/.minecraft" folder.

Problem: Error Message "Your clipboard is empty. Use //copy first." when using script.
Fix: Just like it says, you need to select and copy a set of blocks first, using the worldedit wand.

If there are other problems you come across make sure to let me know.

(There are some know issues with creating really large spirals, it can be worked around but requires modifying the script. I will likely fix this in a later version.)

Progress100% complete
Game VersionMinecraft 1.2
Tags

Create an account or sign in to comment.

1
09/05/2023 7:36 amhistory
Level 1 : New Miner
CptFishPants
CptFishPants's Avatar
Doesnt appear to be working any more :/



getting failed to execute errors even with default settings. Stating cant find function getPosition.



It is like 10 years ago though :')



Either way I cant find anyone doing anything similar so .. if you can see this dude :) come save my life lol
1
07/23/2018 7:27 am
Level 1 : New Miner
ArgonMc
ArgonMc's Avatar
If you use SPIGOT for this and are using AsyncWorldEdit, place the 3 js files into. plugins/asyncworldedit/plugins
If this still doesnt work, add it to plugins/worldedit/craftscripts (you will have to make a folder called craftscripts)

EDIT: Turns out this doesn't work, but if you really want to figure out how to do it. This should get u going.
1
04/22/2018 1:52 pm
Level 1 : New Miner
Xinoms
Xinoms's Avatar
Love this!!!

However, I'm looking at making a cylindrical spiral that the spiral diameter gets smaller as it goes up and the radius of the cylinder gets smaller as it goes up as well, is this possible with your script?
1
01/04/2017 7:54 pm
Level 7 : Apprentice Network
xDeathBunnyx
xDeathBunnyx's Avatar
Doesn't work on multiplayer servers
1
06/24/2015 1:59 am
Level 21 : Expert Network
VipenStrike
VipenStrike's Avatar
Doesn't want to work on bukkit.
1
12/20/2014 5:20 pm
Level 2 : Apprentice Miner
MereScientist
MereScientist's Avatar
This is excellent!  I haven't implemented any spirals yet in the architecture of my spawn, but my little brother is having a lot of fun with it in creative.  :)
1
10/23/2014 9:42 pm
Level 1 : New Miner
Armyman303
Armyman303's Avatar
All I want is the map, could you please just put the map for a download???
1
07/19/2014 9:27 pm
Level 20 : Expert Dragon
GAPDaTsar
GAPDaTsar's Avatar
Yeah.  It seriously needs to update now.  1.7.10  :/
1
11/20/2013 3:24 pm
Level 13 : Journeyman Ninja
spidertom7
spidertom7's Avatar
epic looks like tornado
1
10/28/2013 2:23 pm
Level 17 : Journeyman Engineer
artiswyld
artiswyld's Avatar
same cant wait to see if they bring it back to minecraft
Planet Minecraft

Website

© 2010 - 2024
www.planetminecraft.com

Welcome