513 Commits

Author SHA1 Message Date
Shoghi Cervantes
04bdb13103
Improved move offset check 2015-01-02 19:14:18 +01:00
Shoghi Cervantes
f46473bbe8
Removed all @mkdir() calls 2015-01-02 18:52:45 +01:00
Shoghi Cervantes
95b305ce87
Detect really big corrupted chunks, closes #2471 2014-12-31 12:40:11 +01:00
Shoghi Cervantes
767800662c
Added chunk check on Level 2014-12-30 15:54:12 +01:00
Shoghi Cervantes
2cec0d9f36
Improved Simplex 2D noise 2014-12-28 03:51:08 +01:00
Shoghi Cervantes
d800a21bd4
Higher chunk defaults 2014-12-28 02:58:17 +01:00
Shoghi Cervantes
8d9fbec4ce
Fixed memory leak issues on chunk generation under 32-bit hosts, fixed issue with generated chunks not having a provider. Closes #2419, fixes #2308, closes #2421 2014-12-28 02:22:13 +01:00
Shoghi Cervantes
ab72c32769
Improved Normal generator speed 2014-12-28 02:12:48 +01:00
Shoghi Cervantes
1ac17abec0
Fixed #2446 2014-12-24 23:00:11 +01:00
Shoghi Cervantes
7ecac019a9 Bitmask block state 2014-12-23 13:58:30 +01:00
Shoghi Cervantes
6cb88afe1a
Improved block breaking time and event handling 2014-12-22 23:49:17 +01:00
Shoghi Cervantes
b6c0eb8c96 Added optional parameter for multiple NBT read 2014-12-22 16:25:12 +01:00
Shoghi Cervantes
a40918aabf LevelDB load/write fixes 2014-12-19 10:35:16 +01:00
Shoghi Cervantes
a605e90dfc Added experimental LevelDB support, fixed a few issues with NBT, spawning and Binary R/W 2014-12-19 00:28:50 +01:00
Shoghi Cervantes
8e47c93fbc Fixed some issues with chunks being generated on a loop 2014-12-16 02:57:44 +01:00
Shoghi Cervantes
71d602a4cf Faster chunk setting on provider 2014-12-12 15:51:31 +01:00
Shoghi Cervantes
fe900b417e Less calls! 2014-12-10 02:42:02 +01:00
Shoghi Cervantes
4c30b6b8a1 Optimized Liquid spreading, optimized light updates, improved side block get/update, fixed raw set not cleaning Block cache (TNT explosions) 2014-12-10 00:37:04 +01:00
Shoghi Cervantes
b220bd2a45 Updated chunk indexes on generator 2014-12-09 15:14:11 +01:00
Shoghi Cervantes
04ee94dc91 Fixed #2388 2014-12-09 15:05:36 +01:00
Shoghi Cervantes
04ecbd1a76 Level optimization, added new chunk/block hashes 2014-12-09 14:55:21 +01:00
Shoghi Cervantes
a4735eaf76 Replaced some instanceof to null checks 2014-12-09 02:22:18 +01:00
Shoghi Cervantes
5e5f8bf33d Better block creation on Level 2014-12-08 22:02:36 +01:00
Shoghi Cervantes
3bb2f12cde Improved block reading
* Created global block states array
* Improved Level->getBlock() using block states
* Improved Level->getBlock() for 64-bit systems
* Added Level->getFullBlock()
* Added FullChunk->getFullBlock()
* Added Chunk->getFullBlock()
* Added ChunkSection->getFullBlock()
* Deprecated FullChunk->getBlock()
* Deprecated Chunk->getBlock()
* Deprecated ChunkSection->getBlock()
2014-12-08 20:54:47 +01:00
Shoghi Cervantes
9e3d432b9e Faster Level provider chunk unloading 2014-12-07 21:51:57 +01:00
Shoghi Cervantes
68da4b5b39 Collect unallocated chunks from the Level provider 2014-12-07 18:27:11 +01:00
Shoghi Cervantes
e4557a2e8e Added HeightMap get/set methods on chunks, Level 2014-12-07 18:02:07 +01:00
Shoghi Cervantes
747f7685e7 Fix formatting issues due to bad IDE settings 2014-12-07 16:30:04 +01:00
Shoghi Cervantes
7506f01302 Improved Item property handling 2014-12-07 15:51:00 +01:00
Shoghi Cervantes
a98da3bab1 Renamed old getID() calls to getId() 2014-12-07 15:21:32 +01:00
Shoghi Cervantes
af82d616c1 Block creating and property handling rewrite, part2 2014-12-07 02:20:26 +01:00
Shoghi Cervantes
e44ed4da3b Enabled batch block sending again 2014-11-29 12:58:31 +01:00
Shoghi Cervantes
3930f379cf Updated light filter values 2014-11-29 11:58:50 +01:00
Shoghi Cervantes
66ba327e62 Improved light spread algorithm even more 2014-11-29 11:27:22 +01:00
Shoghi Cervantes
329ca62465 Improved light spread algorithm 2014-11-28 19:54:25 +01:00
Shoghi Cervantes
b3c3f896a3 Implemented light population, added Level->getFullLight() 2014-11-28 14:44:27 +01:00
Shoghi Cervantes
6d09754ea7 Improved Inventory->addItem(), fixed breaking containers duplicating the last slot, removed not necessary slot changes 2014-11-27 20:10:55 +01:00
Shoghi Cervantes
dd3207cbd8 Possible fix for #2267, #2314 2014-11-27 13:47:17 +01:00
Shoghi Cervantes
a7abd5ff9d Catch exceptions when chunks are unloaded 2014-11-27 13:35:54 +01:00
Shoghi Cervantes
441a98e60a Removed old trigger_error() calls, closes #2335 2014-11-27 13:16:39 +01:00
Shoghi Cervantes
8249cac592 Catch corrupted chunk data errors 2014-11-20 22:02:00 +01:00
Shoghi Cervantes
8eb80be691 Remove duplicated tiles from chunk table automatically 2014-11-20 21:45:52 +01:00
Shoghi Cervantes
c07b0ff35b Fixed tile entities not being placed in the correct array 2014-11-15 11:49:09 +01:00
Shoghi Cervantes
1a5544f68c Fixed Chunk tile indexes 2014-11-08 15:00:18 +01:00
Shoghi Cervantes
1818e64c8e Merge branch 'master' into 0.10 2014-11-06 18:56:47 +01:00
Shoghi Cervantes
f1519e6d13 Improved Level->getTile() to a direct lookup instead of linear search 2014-11-06 12:34:33 +01:00
Shoghi Cervantes
522b75645c Merge branch 'master' into 0.10 2014-11-05 19:04:36 +01:00
Shoghi Cervantes
31903a764a Fixed unloaded chunks residing on memory and getting loaded again causing crash, fixed spawn chunks getting unloaded by players 2014-11-04 17:16:02 +01:00
Shoghi Cervantes
79bc1d6c85 Fixed server not stopping after a special crash 2014-11-04 17:15:20 +01:00
Shoghi Cervantes
8fd6582e74 Automatically set Entity / Tile entity save identifiers 2014-11-04 12:04:08 +01:00