Minecraft Mods

Magic Circles - 3D Revolve [Worldedit Script]

  • 231 diamonds
  • 52,928 views, 63 today
  • 6,367 downloads, 1 today
  • 128 comments
  • 76 favorites
  • 231
  • 76
  • 128
avatar inHaze
Retired Moderator
Level 97 : Overlord Terraformer
5,863
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
Progress100% complete
Game VersionMinecraft 1.6.2
Tags

1
07/26/2015 9:58 am
Level 1 : New Miner
Luglio251
1
09/25/2014 3:24 pm
Level 24 : Expert Architect
Roska
Has this been updated to more recent versions...?
1
11/05/2014 12:03 pm
Level 80 : Elite Architect
Nefashus
No idea. Guess it doesn't work with 1.8 or 1.6.4 ?
1
11/11/2014 5:44 am
Level 24 : Expert Architect
Roska
There's magic circles 2 that works for 1.8 :)
1
12/14/2013 2:31 pm
Level 13 : Journeyman Miner
Zaphyk
Nice crafscript. it worked perfectly!
1
10/06/2013 9:52 am
Level 25 : Expert Dragonborn
Carl_aat159357
I do not find the craftscripts folder. (under Installation/setup -> 3)
Where is it?
1
10/06/2013 10:06 am
Level 25 : Expert Dragonborn
Carl_aat159357
And also: How do I get the "red marked-area" when I have selected an area? Do I have to install something?
1
09/12/2013 4:45 am
Level 8 : Apprentice Engineer
XoDarkMage
It wont work!
1
08/22/2013 7:10 am
Level 44 : Master Electrician
Pishleback
for me it does not make the rotation directly around me. please help its annoying
1
08/22/2013 6:34 am
Level 44 : Master Electrician
Pishleback
200th diamond :D
1
07/27/2013 4:18 pm
Level 1 : New Crafter
skylord_stein
May I Ask If You Can Update To 1.6.2 + Installinstruction
1
06/18/2013 8:05 am
Level 1 : New Miner
bene2008
Multiplayer Install:

Hope this helps guys!
1
06/02/2013 11:50 pm
Level 5 : Apprentice Crafter
l_GRAHAM_l
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?
1
01/22/2013 1:00 am
Level 10 : Journeyman Miner
dnlperlin
This is GREAT for map Making :)
1
01/17/2013 4:52 am
Level 6 : Apprentice Dolphin
bro1000
OMG YOU SHOULD MORE FAVS WITH ALL YOUR POSTSSSS
1
11/29/2012 9:52 pm
Level 21 : Expert Architect
lord herobrinethe3
some why i cant install it where am i supposed to put the unzipped folder in spc or some where else?
1
11/28/2012 9:29 am
Level 7 : Apprentice Farmer
Toshniel
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
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.
1
11/04/2012 2:46 pm
Level 55 : Grandmaster Lego Builder
MolochBaal
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
1
10/20/2012 9:35 am
Level 13 : Journeyman Pony
ThunderCookie1
Gifted builder.
1
10/18/2012 4:47 am
Level 46 : Master Spelunker
vaxivop
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.
1
10/12/2012 9:53 pm
Level 29 : Expert Pixel Puncher
Bumperly
There goes my sanity ._.
1
10/08/2012 4:42 am
Level 17 : Journeyman Miner
mylololz
inHaze. you never cease amazing.
1
10/05/2012 3:05 pm
Level 1 : New Crafter
coaster4321
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!
1
10/04/2012 8:41 am
Level 14 : Journeyman Skinner
galastrato
amazing stuff bro! more cool scripts!
1
10/03/2012 9:21 pm
Level 1 : New Miner
TheGatesofLogic
Breif issue, i seem to be getting the error message-
ReferenceError: "vector" is not defined

what did i do wrong this time?
1
10/03/2012 8:58 pm
Level 32 : Artisan Ninja
tyson5125
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
1
09/24/2012 5:31 pm
Level 94 : Overlord Creator
mikeyto1o
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?
1
10/03/2012 9:16 pm
Level 1 : New Miner
TheGatesofLogic
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
1
09/19/2012 9:36 am
Level 1 : New Miner
zbinxsy
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.
1
09/17/2012 7:39 am
Level 7 : Apprentice Engineer
PlasmaMiner
Does this Mod work on Mac? I have tried everything!!! I NEED HELP!!! :(
1
09/15/2012 5:31 pm
Level 3 : Apprentice Scribe
AussieTommy
can you please subscribe to me
1
09/12/2012 7:21 pm
Level 1 : New Miner
fabritsio1
i did everything but it didnt work i kept getting this

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

please help
1
09/16/2012 3:34 am
Level 1 : New Miner
KeaCraft
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?
1
09/11/2012 7:55 pm
Level 36 : Artisan Network
Bethamez
May i ask you a simple question?
1
09/02/2012 2:13 am
Level 58 : Grandmaster Architect
PixelatorJ
LOVE IT!!!!!! downloaded it the other day, now its jut so good to build!
1
08/23/2012 6:34 pm
Level 1 : New Miner
fabritsio1
I wish single player commands was updated so i could use it
1
08/16/2012 1:21 pm
Level 20 : Expert Ninja
TheCreeperCrusher
BLASPHAMY!!!
1
08/14/2012 7:05 am
Level 8 : Apprentice Crafter
ninja2308
InHaze you've amazed us once again
1
08/13/2012 9:56 pm
Level 1 : New Miner
Rodny67
What do I press to select the bricks to make the circle??
1
08/11/2012 2:23 pm
Level 11 : Journeyman Warrior
1013cra
That looks so f*cking sick
1
08/09/2012 3:08 pm
Level 27 : Expert Dragon
RutgerFJ
OH CRAP HE MADE CIRCLESS
1
08/11/2012 12:52 pm
Level 1 : New Crafter
CactusjumperDC2
?
1
08/13/2012 5:48 am
Level 27 : Expert Dragon
RutgerFJ
That's dangerous bro
1
08/13/2012 12:58 pm
Level 1 : New Crafter
CactusjumperDC2
it is the END OF MINECRAFTIEA!!!! RUN 4 YOU'RE LIVES RUN RUN RUN...!!!
1
08/08/2012 3:11 am
Level 3 : Apprentice Miner
MrN0mz
THIS BREAKS ALL LAWS IN MINECRAFT YOU JUST MADE THE END OF THE WORLD D;
1
08/07/2012 10:35 am
Level 1 : New Crafter
CactusjumperDC2
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)
1
08/04/2012 12:59 am
Level 1 : New Crafter
CactusjumperDC2
do i need 1.3.1 modlodar?
1
08/04/2012 12:58 am
Level 1 : New Crafter
CactusjumperDC2
i like this but how do i install?
1
07/31/2012 10:44 am
Level 37 : Artisan Geek
Mody
Dude that is amazing! definetely using this ;D
1
07/26/2012 6:53 pm
Level 5 : Apprentice Crafter
JapaneseTsuki
112th diamond! This is SO COOOOL!!!!! XD *Subscribed*

-Tsuki
Planet Minecraft Logo

Website

© 2010 - 2020
www.planetminecraft.com

Welcome