Commit Graph

30 Commits

Author SHA1 Message Date
2edf3559d8 EditSession: Split off a queueFinal, which contains only blocks that can be attached to other attached blocks.
This a speed improvement, since the recursive attachment checker turned out to be quite slow.
2011-11-01 21:58:50 +01:00
2b9f0be8df Updated to 1.9 2011-10-29 13:32:51 -04:00
b31d77536a Added some new functions to BlockType.
- emitsLight which returns whether the given block type emits light
- isTranslucent, which returns whether the block lets any light pass
2011-10-24 20:49:17 +02:00
68fe0d3438 Cleanup. Cycler uses BaseBlock instead of BlockData directly. Fixed a few BlockType method inaccuracies. 2011-10-04 17:16:20 -04:00
e2c71e4269 Added cactus to getAttachment. 2011-09-30 08:56:09 +02:00
7fec065d4a Apparently the wiki has wrong data values for the stone button.
Also added top attachment for vines.
2011-09-29 21:11:51 +02:00
69367e7762 Added BlockType.getAttachment.
See javadoc for details.
2011-09-29 15:54:28 +02:00
f90e47da9a Removed trailing whitespaces. 2011-09-24 15:32:03 -04:00
7c18327fdc Fixed extended piston rotation. 2011-09-24 11:20:37 +02:00
2f19edca2a Fixed case fallthroughs in BlockType. 2011-09-22 01:31:35 -04:00
c1f1e29617 Replace ItemType.X.getID() with ItemID.X everywhere. 2011-09-19 08:38:30 +02:00
88b4f4de18 Cleanup.
- Fixed a few warnings
- Unified the formatting of the command prologue
- Put down why it was deprecated in the javadoc of a deprecated method.
- Gave //none a better usage line
- Switchcaseified some elseifs
2011-09-19 07:24:49 +02:00
43809a705d More BlockType cleanup 2011-09-19 00:43:39 -04:00
3f369f104a Abstracted type detection of simulateBlockMine into BlockType. 2011-09-17 22:00:14 -07:00
f7c5782fa9 Added data support for silverfish blocks. 2011-09-17 14:11:59 -04:00
633145d796 Adjusted some BlockType flags.
Beds, glass panes and fence gates should no longer be placed last
Fence gates can no longer be passed through, since they can't, if they're closed.
2011-09-16 05:46:07 +02:00
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
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
9371202a12 Cleanup BlockType and added a missing block 2011-09-14 21:27:24 -04:00
6f43c6a312 Updated for 1.8 blocks and items 2011-09-13 22:47:17 -07:00
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
59ade7a386 Abstracted natural blocktype checking to BlockType.isNaturalBlock 2011-08-17 13:36:17 -07:00
084e9456e1 Added 1.7 blocks to BlockType methods. 2011-07-02 15:13:21 -04:00
5231352f6c Updated item ids and names for 1.7 2011-07-01 00:26:40 -04:00
1aa08104b5 Made a few commands obey //toggleplace 2011-06-21 12:44:12 -04:00
f0b2fcc13f Improved item/block name matching. 2011-06-05 11:59:23 -07:00
cc859880aa Added missing block to the list 2011-06-02 00:33:41 -04:00
5d44053429 Updated for MC 1.6 2011-05-26 16:09:33 -04:00
e2c17cbf46 Added yet another method to BlockType (rails) 2011-05-11 20:04:29 -04:00
582b98dad0 More file moving. 2011-05-01 01:30:33 -07:00