Commit Graph

23 Commits

Author SHA1 Message Date
TomyLobo
73bf2bd215 Fixed not flipping the center plane blocks.
Added regression test so we'll never have to deal with it again.
2013-10-20 16:31:46 +02:00
TomyLobo
8ce14dc982 Made //copy and //cut copy only the blocks contained in the selection. 2013-08-27 08:03:14 +02:00
Wizjany
d78bbc4f68 Merge Moo0's data flag for distr.
Also added data flag to //count.
  //count -d 35 will now only search for white wool.
  //count 35:5 will only search for green wool.
  //count 35 will work as normal.
  //count 35:-1 will also work.
2013-01-19 09:31:00 -05:00
Jim Bilbrey
2b29d1a253 update //flip axis to modern directions
tested and working with:
-no args when looking horizontally and vertically
-n/s/e/w
-f/b/l/r/u/d
2013-01-14 12:48:59 -05:00
aumgn
574f162019 Clean up warnings 2012-11-11 14:38:51 +01:00
manearrior
b352f7321f Added //size -c and //distr -c command options. Describes clipboard. 2012-11-09 19:12:04 +01:00
zml2008
c76f119fa4 Added basic entity handling with copy and paste.
Paintings do not currently respawn properly, entity pastes cannot be undone yet, and schematics do not yet store entities
@celticminstrel needs to fix painting spawning
2012-03-29 21:18:14 -07:00
zml2008
7812dd6a09 Added support for multiple schematic formats 2012-03-28 11:05:52 -07:00
zml2008
3e60761326 Reduce excess casting 2012-03-03 16:47:22 -08:00
TomyLobo
8aa65fd7f4 License block changes
Added some missing license blocks
Added "and contributors" to all copyright notices.
Added $Id$ to files that were still missing it.
Changed "All rights reserved" to GPLv3 on Injector.java.
2012-01-20 08:24:32 +01:00
TomyLobo
324a041e38 Split up some external .* imports. 2011-12-26 00:36:23 +01:00
TomyLobo
7e13b60a51 Cleanup 2011-11-23 04:48:40 +01:00
ZachBora
bb609a47c2 Negative angles will return negative number of rotations thus never looping the rotation. 2011-10-02 22:26:44 -03:00
Wizjany
f90e47da9a Removed trailing whitespaces. 2011-09-24 15:32:03 -04:00
TomyLobo
3bcd9a932b Replaced lots of else if constructs by switch/case and other simpler constructs. 2011-09-05 04:20:36 +02:00
Wizjany
e4cd6c23b6 Fixed odd-lengthed clipboards double flipping in the center as per anon's commit(s). 2011-09-03 20:25:20 -04:00
Wizjany
4c00a24c1d Abstracted all block IDs to BlockID and item ids to ItemType. Overloaded recently changed methods for compatibility and cleaned a few things up. 2011-09-03 13:01:51 -04:00
TomyLobo
4dcbae03fe Made some variables in CuboidClipboard.flip final 2011-08-28 12:28:31 +02:00
TomyLobo
c8bbcbd133 Fixed flipping of the central blocks in a clipboard with odd length. 2011-08-26 14:04:38 +02:00
TomyLobo
8e84e7ae18 - Added proper block flipping code for all blocks with proper rotation code except sign posts
- Fixed block rotation code for some blocks and cleaned it up a lot
- Added block rotation code for powered rails and detector rails
- //flip now flips all blocks, not just half of them
2011-08-26 13:14:39 +02:00
TomyLobo
2281684f20 - Added a -p flag to //flip that makes it flip around the player instead of the center of the clipboard.
- Code cleanup
2011-08-26 05:04:07 +02:00
Jacob Scott
66dcc99809 fixed superpickaxe for gravel & lightstone, preprocessors faster than postprocessors, added methods so same-type changes are visble client-side, fixed fixliquid & setblocks block count 2011-07-15 02:00:48 -05:00
sk89q
582b98dad0 More file moving. 2011-05-01 01:30:33 -07:00