261 Commits

Author SHA1 Message Date
Shoghi Cervantes
e48a3e5713 Added some types of Particles, Block break particles 2015-03-13 14:24:19 +01:00
Shoghi Cervantes
eb0525e892
Ignore spawn protection when no ops are set 2015-02-22 19:07:45 +01:00
Shoghi Cervantes
3a157d0f02
Future workaround for #2626 2015-02-15 18:45:25 +01:00
Shoghi Cervantes
9886eb4768
Return on Level->getSafeSpawn() in case of invalid position 2015-01-25 10:23:04 +01:00
Shoghi Cervantes
9173f930ca
Fixed #2541 server not saving chunks on chunk unloading 2015-01-24 10:35:08 +01:00
Shoghi Cervantes
f30986d187
Block saving chunks too big 2015-01-11 15:48:08 +01:00
Shoghi Cervantes
c61e4adcf1
Improved chunk ticking a bit more 2015-01-08 23:27:14 +01:00
Shoghi Cervantes
5a55040ab9
Improved chunk ticking 2015-01-08 23:22:47 +01:00
Shoghi Cervantes
042a143dd6
Unload unused regions after 5 minutes 2015-01-06 18:59:21 +01:00
Shoghi Cervantes
f37e79b611
Added Level->getChunks(), fixed some Doc Comments 2015-01-04 23:16:03 +01:00
Shoghi Cervantes
074c8b876d
Cleaned up code 2015-01-03 16:07:49 +01:00
Shoghi Cervantes
767800662c
Added chunk check on Level 2014-12-30 15:54:12 +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
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
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
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
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
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
8fd6582e74 Automatically set Entity / Tile entity save identifiers 2014-11-04 12:04:08 +01:00
Shoghi Cervantes
a5369b3570 Fixed unloading chunks 2014-11-04 11:18:34 +01:00
Shoghi Cervantes
abbd33210a Possible fix for #2245 2014-11-04 00:19:50 +01:00
Shoghi Cervantes
2803a38fd1 Fixed random block updates not firing 2014-11-01 20:26:13 +01:00
Shoghi Cervantes
d5012f6fcf Fixed server not stopping after a fatal error 2014-11-01 03:07:47 +01:00