Minecraft Mods

Magic Circles 2 - AutoRotate & Polar Array [Craftscript/Filter]

  • 41,988 views, 4 today
  • 4,795 downloads, 0 today
  • 220
  • 90
  • 72
inHaze's Avatar inHaze
Retired Moderator
Level 97 : Overlord Terraformer
5,937
Magic Circles 2: Rotate & Polar Array


Hello all, I am excited to release to you my latest advancement in Minecraft circle technology, Magic Circles 2! This version now allows full 3D object rotating, and circular arraying to any angle, or angle increment you want. Another great new addition to this version is that it comes with both a worldedit craftscript, and MCedit filter, allowing use in singleplayer, multiplayer and MCedit!

Tutorial Video


Worldedit Craftscript


Install Guide


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) From the .minecraft folder navigate to the mods folder then to the spc folder.
4) Copy the downloaded, unzipped folder "craftscripts" into it, merging with existing folder if necessary.
5) Find the worldedit.properties file in the same folder 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 rotate".


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

1) These scripts all require the worldedit plugin, make sure to have it installed before attempting.
2) Once installed you just need to copy all the script files to your "plugin/worldedit/craftscripts/" directory.
3) Make sure to increase script timeout value in the "plugins/worldedit/config.yml" file to at least 30000.





How to Use
There are three things you must do to run this script correctly. The first is setting an active 3D selection with worldedit, to the blocks you want rotated. Once you have that, you need to bind the rotate brush to a non-useable item, with the commands listed below. Once the brush is bound all you need to do is click where the center should be, and it will copy, and rotate everything around that point.


Command Usage


/cs rotate increment, resolution, singleStep, brushMode

increment - Step between rotations. (positive number = total items in the circle, negative = exact angle)
resolution - The accuracy of filling in blocks, slowy increment this if you encounter gaps in blocks.
singleStep - Specifies if you want a full circular rotation, or a single one (0=single, 1=full)
brushMode* - Specifies if the command should bind to a brush = 1, or run now, using player origin = 0.

*SPC and worldedit brushes are somewhat unstable at the moment, setting this to 0 may prove to be more crash resistant if using this in singleplayer.

-Only the increment argument is required, all others are optional.
-Exclude commas when entering in arguments.




Errors/Troubleshooting

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 ..." when using script.
Fix: Worldedit can't find the script in the craftscripts folder, make sure you copied it to the right location.

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.





MCedit Filter


Install Guide

1) The first you need to do is open the directory in which mcedit was installed.
2) From there, navigate to the appdata folder, then to the folder of your current mcedit version.
3) In that directory there should be a filters folder with all the normal default *.py filters.
4) All you need to do now is copy the downloaded filter file into that directory.
5) The next time you open the filters menu up in MCedit, it will be on the list.


How to Use
There are a few things you must do to run this filter correctly. The first is setting an active selection in MCedit, to the blocks you want rotated. Once you have that, you need to open the filters menu up ,and locate the "3D Rotate & Polar Array" option on the dropdown list. Once you have selected that, the filter interface options will show up and let you rotate your selection by hitting the filter button.


User Interface & Options


FqTepng







Special thanks to abrightmoore for helping me when I got stuck!
Progress100% complete
Game VersionMinecraft 1.4
Tags

Create an account or sign in to comment.

1
05/06/2019 9:35 pm
Level 20 : Expert Dragon
GAPDaTsar
GAPDaTsar's Avatar
I'm getting the same error as Blackiichan and I tried what jn_xyp suggested. The craft script is still not working. The game says "Brush is not defined." Would be nice if WorldEdit gave a list of the updated directories.
1
02/23/2019 3:23 pm
Level 60 : High Grandmaster Programmer
Pangamma
Pangamma's Avatar
Any update for 1.13.2?
1
08/23/2016 12:02 pm
Level 43 : Master Lego Builder
Blackiichan
Blackiichan's Avatar
i know im more that 3 years late, but i keep getting this error: gyazo.com/90e376512b0c940a325605f64601c489
1
07/09/2017 4:25 am
Level 1 : New Miner
jn_xyp
jn_xyp's Avatar
I think i found the reason: the latest version of World Edit changed the directory of Brush.class, just edit the rotate.js, add line
"importPackage(Packages.com.sk89q.worldedit.command.tool.brush);"
right after these import package lines.
1
04/01/2015 6:48 am
Level 47 : Master Sweetheart
Vessa
Vessa's Avatar
And to think that there are no such things as circles in minecraft 0-0 Good job, u can basically do the impossible x3
1
03/06/2018 2:14 am
Level 38 : Artisan Procrastinator
TurtleRunsSlow
TurtleRunsSlow's Avatar
What about //cyl ?
1
01/18/2015 7:03 am
Level 1 : New Miner
RandomNr123
RandomNr123's Avatar
Can someone please update this script so it works with MC 1.7.10 and with World Edit + Forge
Thank you.
1
08/18/2014 1:37 pm
Level 94 : Overlord Engineer
TheRedEngineer
TheRedEngineer's Avatar
It works perfectly!! Thanks!! (favourite and diamond!!)
1
07/28/2014 10:31 am
Level 36 : Artisan Artist
NergalBS
NergalBS's Avatar
is it without air only? i'd like to have it with air aswell
1
06/27/2014 9:23 pm
Level 1 : New Miner
TheAwesomeMelon
TheAwesomeMelon's Avatar
This works ok 1.7.9?
Planet Minecraft

Website

© 2010 - 2024
www.planetminecraft.com

Welcome