Commit Graph

39 Commits

Author SHA1 Message Date
aumgn
1fef255d77 Clean up some io close() calls 2012-08-27 20:10:35 +02:00
sk89q
3b59798f37 Fixed chunk loading code not properly handling tile entity data. 2012-08-24 16:50:32 -07:00
sk89q
48af65cac3 Updated foundation classes a bit and added raw access for NBT. This release marks experimental support for custom blocks, and nearly all future Minecraft blocks, and is also the beginning of the gradual transition to the new foundation classes as a replacement of the current BaseBlock, etc. classes. 2012-08-23 16:52:37 -07:00
sk89q
97380f28de Fixed snapshots not properly loading .mcr files, made snapshots use fast mode. 2012-07-09 23:56:30 -07:00
zml2008
3bfb12c051 Cleaned up ContainerBlock inventory reading from NBT
Changed ListTag's List parameter to List<? extends Tag>
2012-03-29 21:14:45 -07:00
Meaglin
8aabfb0c67 Implemented new Anvil saving format, fixed old chunk saving format.
- Added 'Chunk' Interface.
 - Moved old 'Chunk' to 'OldChunk' and replaced dynamic world height reference with '128.
 - Added 'AnvilChunk' implementing the new anvil chunk format.
 - Added temp fixes to FileMcRegionChunkStore.java, TrueZipMcRegionChunkStore.java and ZippedMcRegionChunkStore.java too allow them to read .mca files.
 - Added the new 'IntArrayTag' since the new heightmap tag wasn't recognized.
 - Moved 'getChildTag' to 'NBTUtils'.
2012-03-06 22:41:49 +01: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
zml2008
98216e2762 Added support for non-128 worldheights 2011-12-13 04:50:53 +01:00
TomyLobo
90b062a9d8 Fixed some warnings 2011-12-08 11:54:35 +01:00
zml2008
d0367bfd5c Small cleanup of chunk reading 2011-12-06 15:07:10 -08:00
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