219

Magic Circles - 3D Revolve [Worldedit Script]

219 diamonds
Collectable
  • 35,772
    Views, 32 today
  • 4,161
    Downloads, 5 today

Get Embed Code

Forum:
HTML:
Link:
avatar
inHaze
Site Moderator
Level 94 : Elite Terraformer
Magic Circles - 3D Revolve

Hello all, I am back again with another crazy worldedit craftscript that I think people will find much more useful than my spiral generator.

First off, let me explain exactly what this script does. It allows you to take a single "slice" of any block pattern, in game with a worldedit selection, type one command, and have it copied and rotated all the way around you, to form a completely solid, and perfect circle. It also allows you to set the exact number of rotated slices, or points you want generated, and will evenly space them to the appropriate angles. The overall size is easy controlled by using the player position for the exact center, meaning, the further away you are from the selection, the bigger it will be, and vice versa. The last feature is a block filter, so you can set if you only want a specific block revolved around. I highly suggest watching the included video to fully understand the exact process.

*Important Note*
Please be responsible with this script! I did not make it so people could put five minutes into a build, then turn around and pass it off as many hours worth of work. I made it so people could focus more on design, detail, and testing out ideas, without having to do all the necessary legwork. On the same note, I am asking anyone that does use this in a posted build/video to please make a note saying that it was used, and include a link back to this page.

Instructions/Commands


How to Use

There are three things you must do to run this script correctly. The first is setting an active 2D selection with worldedit, to the blocks you want revolved. Once you have that, you need to stand on the center point where you want everything rotated around (y-axis position doesn't matter). Finally, you need to type in the command to revolve, which you can find below, easy as that!



Command Usage

/cs arev - Base command for everything, using this alone will revolve your current selectiion to a full circle.
/cs arev points - Limits the number or points, or slices to the specifed number.
/cs arev 0, blockID - Set filter to only use the specified block type. Set points to 0 if you want a full rotation.
/cs arev points, blockID - Use this when you want to use the point limiter, and block filter at the same time.
/cs arev 0, 0 - Use this command if you just want to test if the script is working or not.
(Exclude commas when setting points and block id)

Selection Requirements
Your selection must be a vertical 2D segment, so you should be looking down a single wide, tall, and long segment of blocks while standing in the center. It will still work if you don't follow this, but the alignment will be completely off.


Installation/Setup

Singleplayer

1) Install the SinglePlayerCommands mod, which also comes with WorldEdit.
2) Open your main "%appdata%/.minecraft" folder up. (The one with bin and saves folder)
3) Now 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, then open Minecraft and test it out with the command "/cs arev 0 0".

Multiplayer - Untested *You must own/have access to server files to install scripts.
-The script should also work fine on multiplayer, you will just need to copy the script to the appropriate location.


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/arev.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 "Make a region selection first." when using script.
Fix: Just like it says, you need to have an active worldedit selection, using the //wand or //pos commands.

If there are other problems you come across, please let me know.

(There is a known issue when generating a circle with a radius of exactly 3 blocks, where they turn out a little uneven.)


Imgur Album
Progress: 100% Complete
Game Version:Minecraft 1.6.2
Tags:Aesthetic, Revolve, Circle, Script, Worldedit

Comments : 127

Join us to post comments.

Show Comments

1 - 50 of 127

  • Roska
  • Level 13
  • Journeyman Architect
  • September 25, 2014, 11:24 am
Has this been updated to more recent versions...?
Edit Reply Delete
  • Nefashus
  • Retired Moderator
  • Level 77
  • Legendary Toast
  • November 5, 2014, 7:03 am
No idea. Guess it doesn't work with 1.8 or 1.6.4 ?
Edit Reply Delete
  • Roska
  • Level 13
  • Journeyman Architect
  • November 11, 2014, 12:44 am
There's magic circles 2 that works for 1.8 :)
Edit Reply Delete
  • Zaphyk
  • Level 7
  • Apprentice Miner
  • December 14, 2013, 9:31 am
Nice crafscript. it worked perfectly!
Edit Reply Delete
  • Carl_aat159357
  • Level 14
  • Journeyman Dragonborn
  • October 6, 2013, 5:52 am
I do not find the craftscripts folder. (under Installation/setup -> 3)
Where is it?
Edit Reply Delete
  • Carl_aat159357
  • Level 14
  • Journeyman Dragonborn
  • October 6, 2013, 6:06 am
And also: How do I get the "red marked-area" when I have selected an area? Do I have to install something?
Edit Reply Delete
  • XoDarkMage
  • Level 3
  • Apprentice Engineer
  • September 12, 2013, 12:45 am
It wont work!
Edit Reply Delete
  • pishleback1234
  • Level 35
  • Artisan Electrician
  • August 22, 2013, 3:10 am
for me it does not make the rotation directly around me. please help its annoying
Edit Reply Delete
  • pishleback1234
  • Level 35
  • Artisan Electrician
  • August 22, 2013, 2:34 am
200th diamond :D
Edit Reply Delete
May I Ask If You Can Update To 1.6.2 + Installinstruction
Edit Reply Delete
  • bene2008
  • Level 1
  • New Miner
  • June 18, 2013, 4:05 am
Multiplayer Install:

Hope this helps guys!
Edit Reply Delete
  • l_GRAHAM_l
  • Level 3
  • Apprentice Crafter
  • June 2, 2013, 7:50 pm
This is a very powerful editting tool that I am really happy to be in possesion of. Now let's say I wanted to create a leaning tower NOT by hand. Would it be possible to program a Y axis or verticle rotation script, or is that not possible?
Edit Reply Delete
  • dnlperlin
  • Level 7
  • Apprentice Miner
  • January 21, 2013, 8:00 pm
This is GREAT for map Making :)
Edit Reply Delete
  • bro1000
  • Level 1
  • New Dolphin
  • January 16, 2013, 11:52 pm
OMG YOU SHOULD MORE FAVS WITH ALL YOUR POSTSSSS
Edit Reply Delete
some why i cant install it where am i supposed to put the unzipped folder in spc or some where else?
Edit Reply Delete
  • Toshniel
  • Level 5
  • Apprentice Farmer
  • November 28, 2012, 4:29 am
Hi there, i have an issue similar to the 3block radius. The generated circles seem to be centered at the middle of four blocks, not on the block i am standing on. The result is a circle with some blocks sticking out of it.
Heres an image
http://imgur.com/MNkYl

I stood on the brick and selected the glowstone.

Im using MC 1.4.4, mods are Modloader, Optifine, Too many items, Single p commands.
Edit Reply Delete
  • MolochBaal
  • Level 37
  • Artisan Architect
  • November 4, 2012, 9:46 am
First, I have to say that this script is brilliant, it has been so useful in my project. And second, I am intrigued if there is any way to achieve the same effect with elipses instead or circles, it would help so much!
Thank you! :D
Edit Reply Delete
Gifted builder.
Edit Reply Delete
  • vaxivop
  • Level 34
  • Artisan Spelunker
  • October 18, 2012, 12:47 am
Love the script, but the installation tutorial is wrong. At "3)" you have to place the craftscripts folder inside the scp folder. And if you already have craftscripts installed, you just take the script and place it into the existing Craftscript Folder.
Edit Reply Delete
  • Bumperly
  • Level 24
  • Expert Pixel Puncher
  • October 12, 2012, 5:53 pm
There goes my sa[size=10pt]nity ._.[/size]
Edit Reply Delete
  • mylololz
  • Level 13
  • Journeyman Miner
  • October 8, 2012, 12:42 am
inHaze. you never cease amazing.
Edit Reply Delete
  • coaster4321
  • Level 1
  • New Crafter
  • October 5, 2012, 11:05 am
Holy crap D: That is the most insane programming challenge i could think of. And you nailed it D: I would never be able to do that. Great job!
Edit Reply Delete
  • galastrato
  • Level 10
  • Journeyman Skinner
  • October 4, 2012, 4:41 am
amazing stuff bro! more cool scripts!
Edit Reply Delete
Breif issue, i seem to be getting the error message-
ReferenceError: "vector" is not defined

what did i do wrong this time?
Edit Reply Delete
  • tyson5125
  • Level 26
  • Expert Ninja
  • October 3, 2012, 4:58 pm
can you please me a new script based off of this one like but instad of copying acound we can rotate anything at any angle :D
Edit Reply Delete
  • mikeyto1o
  • Level 85
  • Elite Creator
  • September 24, 2012, 1:31 pm
i have been trying for like an hour to find rhino for a mac, it just doesnt seem to work, any alternative program i could use?
Edit Reply Delete
Rhino is a javascript engine and macs inherently have java. Simply download the normal rhino zip and place the js.jar in the bin folder. The other, more effective option (that is if you are going to EVER use javascripts outside of minecraft) is to install rhino directly into the java that comes with any mac OS. simply go to your library, make a new folder and call it Java, then inside that folder make another folder called Extensions, finally move the js.jar from the rhino folder into the Extensions folder you just made and Voila!!! works like magic!

-says the New Miner to the Master Architect
Edit Reply Delete
  • zbinxsy
  • Level 1
  • New Miner
  • September 19, 2012, 5:36 am
A suggestion I have. Is it possible you could add a way to make it so you could revolve a slice say into a half arc. Or that when you revolve the slice it would stop when it gets to the walls or a set coordinate. It would be use full for say adding a arc of seating to a square room.
Edit Reply Delete
  • PlasmaMiner
  • Level 5
  • Apprentice Engineer
  • September 17, 2012, 3:39 am
Does this Mod work on Mac? I have tried everything!!! I NEED HELP!!! :(
Edit Reply Delete
  • AussieTommy
  • Level 1
  • New Scribe
  • September 15, 2012, 1:31 pm
can you please subscribe to me
Edit Reply Delete
  • fabritsio1
  • Level 1
  • New Miner
  • September 12, 2012, 3:21 pm
i did everything but it didnt work i kept getting this

Script does not exist:
C:usersscottappdataroaming.minecraftmodsspccraftscriptsarev.js

please help
Edit Reply Delete
  • KeaCraft
  • Level 1
  • New Miner
  • September 15, 2012, 11:34 pm
I had the same problem, but then i realised, i haven't "craftscripts" file in my "...modsspc" so i made one and it's now working. But it looks like it isn't working properly. InHaze, can you look at it?
Edit Reply Delete
  • Bethamez
  • Site Moderator
  • Level 1
  • New Network
  • September 11, 2012, 3:55 pm
May i ask you a simple question?
Edit Reply Delete
  • PixelatorJ
  • Level 56
  • Grandmaster Architect
  • September 1, 2012, 10:13 pm
LOVE IT!!!!!! downloaded it the other day, now its jut so good to build!
Edit Reply Delete
  • fabritsio1
  • Level 1
  • New Miner
  • August 23, 2012, 2:34 pm
I wish single player commands was updated so i could use it
Edit Reply Delete
BLASPHAMY!!!
Edit Reply Delete
  • ninja2308
  • Level 1
  • New Miner
  • August 14, 2012, 3:05 am
InHaze you've amazed us once again
Edit Reply Delete
  • Rodny67
  • Level 1
  • New Miner
  • August 13, 2012, 5:56 pm
What do I press to select the bricks to make the circle??
Edit Reply Delete
  • 1013cra
  • Level 7
  • Apprentice Warrior
  • August 11, 2012, 10:23 am
That looks so f*cking sick
Edit Reply Delete
  • RutgerFJ
  • Level 24
  • Expert Dragon
  • August 9, 2012, 11:08 am
OH CRAP HE MADE CIRCLESS
Edit Reply Delete
?
Edit Reply Delete
  • RutgerFJ
  • Level 24
  • Expert Dragon
  • August 13, 2012, 1:48 am
That's dangerous bro
Edit Reply Delete
it is the END OF MINECRAFTIEA!!!! RUN 4 YOU'RE LIVES RUN RUN RUN...!!!
Edit Reply Delete
  • MrN0mz
  • Level 1
  • New Miner
  • August 7, 2012, 11:11 pm
THIS BREAKS ALL LAWS IN MINECRAFT YOU JUST MADE THE END OF THE WORLD D;
Edit Reply Delete
why not just make the inta installer like single plaer comands?

just ask the mod maker is you can do that.

i wold like that (single player comands has not updated)
Edit Reply Delete
do i need 1.3.1 modlodar?
Edit Reply Delete
i like this but how do i install?
Edit Reply Delete
  • Mody
  • Level 28
  • Expert Geek
  • July 31, 2012, 6:44 am
Dude that is amazing! definetely using this ;D
Edit Reply Delete
  • JapaneseTsuki
  • Level 3
  • Apprentice Crafter
  • July 26, 2012, 2:53 pm
112th diamond! This is SO COOOOL!!!!! XD *Subscribed*

-Tsuki
Edit Reply Delete
  • jFieldred
  • Level 13
  • Journeyman Explorer
  • July 23, 2012, 7:56 pm
that first pic reminds me a bit of evangelion 2.22
Edit Reply Delete
woooo
Edit Reply Delete
i shat my pants just now
Edit Reply Delete
THIS IS SO FRICKEN COOL!!!
Edit Reply Delete
  • rokudaim3
  • Level 40
  • Master Dragonborn
  • July 1, 2012, 8:23 am
Hey, im trying to download that Rhino thing, but it wont download, it stops at 100% and wont finish, do you have any solution/ (Tried to download it 3 times already)
Edit Reply Delete
  • rokudaim3
  • Level 40
  • Master Dragonborn
  • July 1, 2012, 8:25 am
Nvm, finally got it to work, lets see if I can use your mod now
Edit Reply Delete
  • AngyLPer
  • Level 52
  • Grandmaster Dragon
  • August 23, 2012, 6:47 am
I think you have to watit at 100% 5-10 min than its ready.
It was the same as mine.
Edit Reply Delete
AWESOME
Edit Reply Delete
Are you able to rotate by a certain degree instead of full rotation?
Edit Reply Delete
  • Shmarshmello
  • Level 41
  • Master Artist
  • June 27, 2012, 9:02 pm
i used this on a cool arena on my server...thanks a lot inHaze!!
Edit Reply Delete
  • donster1999
  • Level 21
  • Expert Dragonborn
  • June 26, 2012, 7:55 pm
i am making a CLASH OF THE TITANS adventure map, and is having a little trouble with the mcedit terraforming, if you can kindly give me some tips about how to terraform, then it will be really helpful.

THX....:D
P.S. if u can help, please tell me on my blog
Edit Reply Delete
  • rokudaim3
  • Level 40
  • Master Dragonborn
  • July 1, 2012, 8:26 am
I suggest watching the video
Edit Reply Delete
  • Niconator1
  • Level 19
  • Journeyman Modder
  • June 21, 2012, 12:19 pm
Really cool
Edit Reply Delete
  • airjake
  • Level 1
  • New Network
  • June 21, 2012, 10:57 am
Where do i put it on a multiplayer server
Edit Reply Delete
  • 0voidwalker
  • Level 13
  • Journeyman Pokemon
  • June 21, 2012, 7:44 am
That is soo cool :D

too bad my computer sucks otherwise i downloaded it

diamonded :D

gretz 0void
Edit Reply Delete

1 - 50 of 127

Show Comments