Mike Primm
627cf2ef8b
[Bleeding] Remove redundant chunkList from ChunkProviderServer
...
This ArrayList duplicates part of the functionality of the much more
efficient chunk map so can be removed as the map can be used in the few
places this was needed.
2012-08-19 09:51:00 -05:00
Travis Watkins
97ac0a3f14
Add LongObjectHashMap and LongHashSet
...
Replace uses of LongHashtable and LongHashset with new implementations.
Remove EntryBase, LongBaseHashtable, LongHashset, and LongHashtable as they
are no longer used.
LongObjectHashMap does not use Entry or EntryBase classes internally for
storage so has much lower object churn and greater performance. LongHashSet
is not as much of performance win for our use case but for general use is
up to seventeen times faster than the old implementation and is in fact
faster than alternatives from "high performance" java libraries. This is
being added so that if someone tries to use it in the future in a place
unrelated to its current use they don't accidentally end up with something
slower than the Java collections HashSet implementation.
2012-08-19 09:51:00 -05:00
Mike Primm
5254993510
Fix issues with chunk saving. Fixes BUKKIT-2158, BUKKIT-2018 and BUKKIT-2229
2012-08-19 08:36:47 -04:00
Travis Watkins
7a3dfecba0
Don't force chunks to load again, causes chunk leaks with multiworld.
2012-08-06 17:31:03 -05:00
Travis Watkins
e5acb6cf3a
Don't tick chunks or entities on chunks that are queued for unload.
...
Treat chunks in the unload queue as if they are already unloaded to prevent
processing on them removing them from the unload queue and leaking.
2012-08-04 18:08:26 -05:00
feildmaster
ab8b7c7e33
Potentially fix chunk leaking, needs further examination
2012-08-04 01:43:17 -05:00
feildmaster
a43d621c01
Update CraftBukkit to Minecraft 1.3.1
2012-08-02 04:58:50 -05:00
Wesley Wolfe
b00de5f176
Cleaned up CraftBukkit comments in NMS.
...
Added newlines at the end of files
Fixed improper line endings on some files
Matched start - end comments
Added some missing comments for diffs
Fixed syntax on some spots
Minimized some diff
Removed some no longer used files
Added comment on some required files with no changes
Fixed imports of items used once
Added imports for items used more than once
2012-07-23 23:55:31 -05:00
feildmaster
0220c1ff74
Remove legacy Chunk cache. Fixes BUKKIT-1400
2012-04-24 15:06:11 -05:00
Nathan Adams
543c4879fe
Updated CraftBukkit to 1.2
2012-03-01 14:38:31 +00:00
Erik Broes
7219d4dd85
Updated to Minecraft 1.1
2012-01-12 23:10:13 +01:00
Nathan Adams
897551e39e
Update to mc-dev rename revision 01
2012-01-12 15:27:39 +00:00
Erik Broes
345ea36c7b
Update for 1.0.0
2011-11-20 00:01:33 -08:00
Dinnerbone
0118a20d6a
Update to mcdev rename revision 01 for 1.8.1
2011-09-24 22:05:22 +01:00
Dinnerbone
f5957c1831
Invalid position errors for chunks now display what world they're for
2011-09-17 14:53:14 +01:00
Dinnerbone
900c541246
Bunchafixes which may or may not have any end result
2011-09-16 20:10:11 +01:00
Dinnerbone
5b2c774edc
Update for Minecraft 1.8
2011-09-15 01:23:52 +01:00
Rigby
4117d6b65e
Implemented per world setting to keep the spawn in memory or not.
2011-08-05 15:52:38 -04:00
Erik Broes
a98c7ba2c7
Massive renaming update in nms. If you bypassed Bukkit, you will likely break.
...
Also minimized all the nms diffs and generic cleanups all around.
2011-06-27 00:47:03 +02:00
Dinnerbone
e08568de4a
Implemented ChunkPopulateEvent
2011-06-16 19:33:36 +01:00
Dinnerbone
b042f48b24
Fixed random NPEs when generating a world
2011-06-11 23:47:30 +01:00
Erik Broes
96b1b8a10c
Generic cleanup
2011-06-12 00:30:52 +02:00
Dinnerbone
fedcbdf256
Implemented custom chunk generators and block populators
2011-06-06 18:38:47 +01:00
Dinnerbone
6903f20242
Implemented 1.6!
2011-05-26 13:48:22 +01:00
Erik Broes
309846d732
Whitespace + general cleanup
2011-05-15 13:41:46 +02:00
Erik Broes
a6c8a36dce
Update for 1.5_02.
2011-04-21 04:25:46 -04:00
Erik Broes
483a878b8b
Update for 1.4_00_01 -- if you bypassed Bukkit, you will most likely break.
2011-04-20 19:05:14 +02:00
Dinnerbone
87c36febeb
Updated to Minecraft version 1.4
2011-03-31 21:40:00 +01:00
Erik Broes
e24b10dfd9
Updated for the cleanups done in Bukkit
2011-03-26 22:32:56 +01:00
Erik Broes
437025a179
Fixing event names
2011-03-21 00:30:00 +01:00
Tahg
078f48c0fb
Code cleanup, fixed doors, chunk entity fetching
2011-03-11 16:25:35 -05:00
Raphfrk
03a5bbc612
Regenerate and refresh chunk methods
2011-03-07 12:34:27 +00:00
tahg
87dc04b750
limit chunk unloading to 50 per tick
2011-03-02 00:24:22 -08:00
FrozenCow
9832ce06f1
Synchronized and moved Hash classes
2011-03-01 16:37:19 -05:00
Tahg
5d3b8de87a
Fixed some debug
2011-02-24 03:51:00 -05:00
Erik Broes
09aa37fe4a
Generic code cleanup
2011-02-23 14:12:33 +01:00
Dinnerbone
f759e0b60d
Update to Minecraft 1.3 beta
2011-02-23 02:37:56 +00:00
Dinnerbone
f659231e34
N.M.S cleanup in preparation for update
2011-02-21 22:30:01 +00:00
Erik Broes
09026095b6
Minor cleaning of code
2011-02-20 18:15:17 +01:00
Erik Broes
6e3ee31336
Prevent Blocks from getting lost when a chunk reloads
2011-02-20 17:09:38 +01:00
Tahg
ca4076077e
fixed buttons, plates
...
added yield to explosion
added event for chunk unloading
2011-02-19 23:44:35 -05:00
Dinnerbone
4b6c633659
Removed debug and fixed //craftbukkit comments from 0239b76f611597f8486a
2011-02-11 09:27:57 +00:00
Tahg
c0b940d619
more chunk fixes
2011-02-11 02:01:32 -05:00
Dinnerbone
1d49e5a4b1
Fixed chunk unloading
2011-02-10 13:27:53 +00:00
Dinnerbone
1a983aceb3
Just cleaning some commits. Don't mind me.
2011-02-08 15:22:46 +00:00
Dinnerbone
3526a66fbe
Added loadChunk, unloadChunk and unloadChunkRequest.
2011-02-08 14:26:55 +00:00
Erik Broes
421d1c1c1f
Fixing missing mandatory comments.
2011-02-07 09:49:42 +01:00
Tahg
3629580868
Chunk fetching improvements
2011-02-07 01:33:57 -05:00
Raphfrk
101d01ef64
getLoadedChunks method
2011-02-05 15:06:02 +01:00
Erik Broes
1dac92a766
Update chunk handling.
2011-02-02 00:29:37 +01:00