Commit Graph

19 Commits

Author SHA1 Message Date
TomyLobo
7798319896 Optimized all of the public static boolean BlockType.*(int id) functions by using HashSets and put the blockDrops HashMap next to the getDroppedBlock function. 2011-09-16 05:02:39 +02:00
TomyLobo
f0308efdd0 Made the static initializer for BlockType.blockDrops refer to the BlockID constants instead of having the literal IDs. 2011-09-16 03:32:58 +02:00
Wizjany
9371202a12 Cleanup BlockType and added a missing block 2011-09-14 21:27:24 -04:00
zml2008
6f43c6a312 Updated for 1.8 blocks and items 2011-09-13 22:47:17 -07: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
b8a310dfdc Changed data type of BaseBlock.data from char to byte 2011-08-29 14:46:35 +02:00
zml2008
1562f17540 Added block damage support to //replace and //replacenear 2011-08-29 00:08:06 -07: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
zml2008
59ade7a386 Abstracted natural blocktype checking to BlockType.isNaturalBlock 2011-08-17 13:36:17 -07: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
Wizjany
084e9456e1 Added 1.7 blocks to BlockType methods. 2011-07-02 15:13:21 -04:00
Wizjany
5231352f6c Updated item ids and names for 1.7 2011-07-01 00:26:40 -04:00
Wizjany
1aa08104b5 Made a few commands obey //toggleplace 2011-06-21 12:44:12 -04:00
sk89q
95c60343c7 Made 'brick' => brick block, not brick bar. 2011-06-05 14:37:11 -07:00
sk89q
f0b2fcc13f Improved item/block name matching. 2011-06-05 11:59:23 -07:00
Wizjany
cc859880aa Added missing block to the list 2011-06-02 00:33:41 -04:00
Wizjany
5d44053429 Updated for MC 1.6 2011-05-26 16:09:33 -04:00
Wizjany
e2c17cbf46 Added yet another method to BlockType (rails) 2011-05-11 20:04:29 -04:00
sk89q
582b98dad0 More file moving. 2011-05-01 01:30:33 -07:00