Commit graph

31 commits

Author SHA1 Message Date
walterhiggins 5a415d9838 fix issue #90 2013-08-08 08:02:27 +01:00
walterhiggins b08b112107 fix for issue #86 2013-07-28 10:54:08 +01:00
Shane Riley d25a91e37b Add blocks added with 1.6, DRY up color variation setting 2013-07-22 10:03:44 -04:00
walterhiggins 6a649647b1 typo - Drone.times() 2013-05-27 22:06:02 +01:00
walterhiggins 13afac33a4 fixed tree functions and added times function 2013-05-27 21:39:43 +01:00
walterhiggins 51374ac1db Use sensible default metadata when placing stairs (if none provided) 2013-04-14 14:55:23 +01:00
walterhiggins 3d92e2c685 fixed missing , 2013-04-07 17:51:09 +01:00
walterhiggins 7200af2bc3 further changes for issue #72 2013-03-23 12:54:15 +00:00
edonaldson dd18d1af8a Correct setPosition 2013-03-20 07:42:55 -05:00
edonaldson cc2f648804 Update to include getLocation and setPosition 2013-03-19 17:03:00 -05:00
walterhiggins eaea34e172 added convenience prroperties (colors and rainbow array).
Changed order in which blocks are placed for boxa/cuboida so that blocks
are laid down width, height, then length.
2013-02-16 12:30:00 +00:00
walterhiggins 5830c73df0 Added docs for events module 2013-02-10 13:42:32 +00:00
walterhiggins ba5437745f updated docs 2013-02-09 20:22:36 +00:00
walterhiggins 084ed1ebcc updated docs 2013-02-09 19:11:23 +00:00
walterhiggins 8106fac4d1 updated docs 2013-02-09 19:09:30 +00:00
walterhiggins 84f024d62c box example doc updated 2013-02-09 15:08:20 +00:00
walterhiggins 1a89b87008 adding example screens 2013-02-09 15:02:52 +00:00
walterhiggins 9c31e2d321 adding example screens 2013-02-09 15:02:11 +00:00
walterhiggins a4eccad4bd Updated docs 2013-02-09 10:24:55 +00:00
walterhiggins 0458f6639d Additional api documentation 2013-02-08 23:22:14 +00:00
walterhiggins d88729675a fix comment - boxa example 2013-02-08 21:26:55 +00:00
walterhiggins 903c701f6f made world a property and added more documentation 2013-02-07 22:22:52 +00:00
walterhiggins 32ae5a6da3 first phase of comments update 2013-02-05 20:49:09 +00:00
walterhiggins 22add98d15 Correct handling of strokeWidth for vertical arcs 2013-02-03 20:19:58 +00:00
walterhiggins 86fd3c0a28 Reworked arc code - More versatile circles/arcs in horiz and vertical planes 2013-02-03 12:09:05 +00:00
walterhiggins 63712518dc optimized sphere and blocktype 2013-01-31 22:51:35 +00:00
Kyle Howells 7a32a646cc More efficient box0()
Infinitely faster box0() function.
Box has to create every block inside the space specified, however, box0() only builds walls around things so seems sensible that it should do less work.
However, under the old functions way of doing things it did almost twice as much work.
For small objects this isn't noticed very much, however it can have a big impact on performance!

My use case for this was a 500 wide, 70 high and 500 deep iron wall I wanted to act as the city wall. Trying to make this resulted in 2 odd effects. I first made one wall by calling box(42, 250, 70, 1) and laying it out myself. This took a few seconds. Then I decided to save time I would fly to the edge and create it with box0(). box0(42, 500, 70, 500) completely froze minecraft and slowed my computer. It then preceded to take 20 minutes before I decided to give up and close the server.
After restarting it I had a semi complete giant "solid" block. This made me dig into the Drones code.


Getting to the point: with the old way of doing things a GIANT wall takes over 20 minutes to make. this new version takes under 10 seconds.

(explanation not technically needed just wanted to demonstrate it does make a massive difference)
2013-01-31 00:55:41 +00:00
walterhiggins 35e0910b8e Performance improvements and fix for issue #47 2013-01-30 22:48:37 +00:00
walterhiggins 446ba9ad7b changed to and tweaked tabcomplete 2013-01-26 13:47:16 +00:00
walterhiggins 888ee6c208 renamed __self to self 2013-01-24 23:47:36 +00:00
walterhiggins 17dddb1dc9 Reorganised directories to be more maven-like 2013-01-21 23:10:57 +00:00
Renamed from js-plugins/drone/drone.js (Browse further)