32 Commits

Author SHA1 Message Date
David Vierra
3dcd449e68 Added: Block rotation for several new blocks. 2013-03-24 18:53:12 -10:00
David Vierra
d02d44641e Static defs for blocks > 115 2013-03-24 17:16:40 -10:00
David Vierra
1674f6f055 Fixed: Wooden buttons (id 143) not rotating. Fixes mcedit/mcedit#278 2013-02-01 22:35:50 -10:00
David Vierra
b824cfbfaf Increase block limit to 4096. Change Schematic format slightly to store extended blockIDs.
InfdevOldWorld now allocates Blocks as a 16-bit array and reads Add into the top 8 bits if present. MCSchematic also allocates Blocks as uint16 and uses WorldEdit's extension to the schematic format to store the Add arrays.

Conflicts:
	test/extended_id_test.py
2013-01-08 11:27:59 -10:00
David Vierra
f4b40912a3 Fixed: Statement seems to have no effect
Change several strings-in-void-context into comments like they ought to be.
Change member accesses in void context into assertions or prints.
2012-10-27 15:05:08 -10:00
kamyu2
42625e436e Adds vertical flipping for half slabs. 2012-03-19 15:21:00 -05:00
kamyu2
14dff4e787 Add rotation for upside down stairs. 2012-03-15 21:08:57 -05:00
David Sowder
1a2ecc5c41 pyflakes result fix: imported but unused 2012-02-26 15:06:41 -06:00
David Sowder
4270a929d7 pep8 compliance changes and gitignore the ENV directory 2012-02-26 13:47:58 -06:00
David Vierra
745d1c41c0 remove 725 unnecessary semicolons 2012-01-12 15:27:44 -10:00
David Vierra
4a0cb9e4f2 added rotations for beds and mushrooms 2011-09-28 22:13:02 -10:00
David Vierra
21c756de78 added shouldRetainData check - checks BlockRotation to see if they have the same rotation type, implying their blockData has the same meaning. 2011-09-16 11:58:38 -10:00
David Vierra
dbd65c7e21 added rotation for chests and vines 2011-09-16 11:57:54 -10:00
d-st
64a7690896 should fix part 2 of issue #46 - new stair types keep their direction when rotated 2011-09-16 18:42:10 +03:00
David Vierra
6cac9bb5fa added FlipVertical to blockrotation.py, called it from MCSchematic.flipVertical 2011-08-08 12:45:10 -10:00
David Vierra
225f813d28 put everything through pydev's code auto-formatter 2011-07-23 21:59:18 -10:00
David Vierra
2cc8db124b add blocks and rotations for the new Piston blocks 2011-06-30 13:30:13 -10:00
David Vierra
0e8752fcd4 added block rotations for trapdoors 2011-06-13 15:09:09 -10:00
David Vierra
09a55877d4 add rotation for straight rails :x 2011-04-24 09:42:40 -10:00
David Vierra
c647513576 actually add rotation for powered/detector rails 2011-04-24 09:40:25 -10:00
David Vierra
f93cab826d add flips and rotation for powered and detector rails 2011-04-23 12:02:13 -10:00
David Vierra
8268d4b0da added redstone repeater blocks and rotation tables 2011-03-09 16:08:36 -10:00
David Vierra
00c3514e36 replace materialNamed calls with refs to the Block object's ID 2011-03-08 21:03:57 -10:00
David Vierra
d88a5d8592 Continued to fix item names 2011-02-05 12:00:38 -10:00
David Vierra
a915420e09 fixed a minor error in Door rotation 2011-02-04 13:03:34 -10:00
David Vierra
0059b01399 added functions to flip levels and schematics north/south and east/west 2011-01-15 08:47:30 -10:00
David Vierra
e44cfc039f added rotation mapping for Dispenser 2011-01-13 21:34:13 -10:00
David Vierra
a98f59b636 rewrote block rotation in terms of a giant lookup table 2010-12-23 18:26:36 -10:00
David Vierra
a63fea3209 explicit array types 2010-11-13 04:54:49 -10:00
David Vierra
fe94efd28a correct door rotation 2010-10-07 10:53:03 -10:00
David Vierra
34a08d8550 added block rotation mappings for more block types 2010-09-18 01:45:27 -10:00
unknown
dc3827a026 moved block rotation formulas to separate file 2010-09-06 15:40:42 -10:00