Commit Graph

28 Commits

Author SHA1 Message Date
TomyLobo
7e13b60a51 Cleanup 2011-11-23 04:48:40 +01:00
TomyLobo
21c6ab894c Moved BlockData to the blocks package and left a stub with deprecated delegates behind. 2011-09-28 10:45:32 +02:00
Wizjany
102e5f142e Fix data cycling the right way. Merged TomyLobo's test changes in. 2011-09-26 05:53:04 -04:00
Wizjany
903abc80a4 Cleanup 2011-09-25 22:21:27 -04:00
TomyLobo
c6c55c3b2a Adjusted some of the cycler code and added a test case for it.
- Added range checks for most blocks
- torches: Fixed cycle from 0->1->2->3->0 to 1->2->3->4->1
- mushroom caps: Included data value 10 (stem) in cycle
- vines: Included data value 0 (top attachment only) in the cycle
- furnaces/dispensers: Linearised the cycle. It's now 2->3->4->5->2
- chests/ladders: Added cycle code.
- rails: Linearised the cycle. It's now 6->7->8->9->6
2011-09-25 10:52:29 +02:00
TomyLobo
93f36955ca Added a test case for BlockData.
Fixed some non-breaking inaccuracies to make the test case work.
2011-09-25 06:08:31 +02:00
TomyLobo
63fa72af5e Added rotate code for brick and stone brick stairs and made powered/detector rails not lose their charge when rotating. 2011-09-25 06:01:01 +02:00
TomyLobo
b06caa9fd3 Cleanup 2011-09-25 05:15:20 +02:00
Wizjany
f90e47da9a Removed trailing whitespaces. 2011-09-24 15:32:03 -04:00
Wizjany
b5b55a2775 Cleanup and a few bugfixes 2011-09-24 15:24:10 -04:00
TomyLobo
7c18327fdc Fixed extended piston rotation. 2011-09-24 11:20:37 +02:00
TomyLobo
bfc877cdb2 Added rotate code for vines, fence gates and mushroom caps. 2011-09-23 16:32:50 +02:00
TomyLobo
a3cd58fda1 Added flip code for vines, fence gates and mushroom caps. 2011-09-23 14:00:49 +02:00
TomyLobo
4b760fd17b Swapped flipY and flipZ in BlockData.flip and formatted the function more consistently. 2011-09-23 12:50:57 +02:00
Wizjany
f7c5782fa9 Added data support for silverfish blocks. 2011-09-17 14:11:59 -04:00
Wizjany
ece3934994 Abstracted cycler tool methods to BlockData and optimized them slightly, as well as adding support for many new blocks. 2011-09-17 01:44:10 -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
3f58187790 Fixed sign post flipping 2011-08-26 16:48:31 +02:00
TomyLobo
c6843a2c6d When flipping a door upside-down, the top and bottom parts are now swapped. 2011-08-26 14:08:02 +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
hretsam
990915b23f Merge remote-tracking branch 'remotes/pull_117/multiworld-snapshots' 2011-08-05 12:29:49 +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
James Robinson
73a86468fe Add nether snapshot support 2011-07-07 19:10:36 +01:00
mrapple
1e9c5b2c76 Allow piston blocks to rotate 2011-07-02 20:06:56 -05:00
sk89q
d397460026 Added rotation support to redstone repeaters. 2011-06-03 22:51:42 -07:00
mrapple
e62015c0b8 Fix trapdoor rotation 2011-06-02 15:40:14 -05:00
sk89q
438a33cc0d Made trapdoors rotatable. 2011-05-31 19:43:48 -07:00
sk89q
582b98dad0 More file moving. 2011-05-01 01:30:33 -07:00