Commit message (Collapse) | Author | Age | Lines | |
---|---|---|---|---|
* | Update CraftBukkit to Minecraft 1.4.6 | feildmaster | 2012-12-20 | -168/+0 |
| | ||||
* | Load chunks asynchronously for players. | Travis Watkins | 2012-12-12 | -3/+22 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When a player triggers a chunk load via walking around or teleporting there is no need to stop everything and get this chunk on the main thread. The client is used to having to wait some time for this chunk and the server doesn't immediately do anything with it except send it to the player. At the same time chunk loading is the last major source of file IO that still runs on the main thread. These two facts make it possible to offload chunks loaded for this reason to another thread. However, not all parts of chunk loading can happen off the main thread. For this we use the new AsynchronousExecutor system to split chunk loading in to three pieces. The first is loading data from disk, decompressing it, and parsing it in to an NBT structure. The second piece is creating entities and tile entities in the chunk and adding them to the world, this is still done on the main thread. The third piece is informing everyone who requested a chunk load that the load is finished. For this we register callbacks and then run them on the main thread once the previous two stages are finished. There are still cases where a chunk is needed immediately and these will still trigger chunk loading entirely on the main thread. The most obvious case is plugins using the API to request a chunk load. We also must load the chunk immediately when something in the world tries to access it. In these cases we ignore any possibly pending or in progress chunk loading that is happening asynchronously as we will have the chunk loaded by the time they are finished. The hope is that overall this system will result in less CPU time and pauses due to blocking file IO on the main thread thus giving more consistent performance. Testing so far has shown that this also speeds up chunk loading client side although some of this is likely to be because we are sending less chunks at once for the client to process. Thanks for @ammaraskar for help with the implementation of this feature. | |||
* | Update CraftBukkit to Minecraft 1.4.4. | Travis Watkins | 2012-11-13 | -11/+5 |
| | ||||
* | Update CraftBukkit to Minecraft 1.4(.2). | Travis Watkins | 2012-10-27 | -1/+1 |
| | ||||
* | Update CraftBukkit to Minecraft 1.3.1 | feildmaster | 2012-08-02 | -51/+49 |
| | ||||
* | [Bleeding] Include chunk biome data for refresh chunk. Fixes BUKKIT-1166 | Mike Primm | 2012-07-08 | -1/+1 |
| | ||||
* | Updated CraftBukkit to 1.2 | Nathan Adams | 2012-03-01 | -56/+25 |
| | ||||
* | Updated to Minecraft 1.1 | Erik Broes | 2012-01-12 | -4/+0 |
| | ||||
* | Update for 1.0.0 | Erik Broes | 2011-11-20 | -1/+1 |
| | ||||
* | Rename revision 2 | Dinnerbone | 2011-09-15 | -1/+1 |
| | ||||
* | Update for Minecraft 1.8 | Dinnerbone | 2011-09-15 | -2/+2 |
| | ||||
* | Update to Minecraft 1.7 | Dinnerbone | 2011-06-30 | -1/+1 |
| | ||||
* | Massive renaming update in nms. If you bypassed Bukkit, you will likely break. | Erik Broes | 2011-06-27 | -8/+8 |
| | | | | Also minimized all the nms diffs and generic cleanups all around. | |||
* | Generic cleanup | Erik Broes | 2011-06-12 | -1/+1 |
| | ||||
* | Update for 1.6.6 | Erik Broes | 2011-05-31 | -4/+1 |
| | ||||
* | Implemented 1.6! | Dinnerbone | 2011-05-26 | -26/+17 |
| | ||||
* | Fixed TileEntity updates occurring upon a multi-block change. Thanks stoneLeaf! | EvilSeph | 2011-05-15 | -3/+5 |
| | ||||
* | Whitespace + general cleanup | Erik Broes | 2011-05-15 | -3/+6 |
| | ||||
* | Cleaned up left over debug messages. | EvilSeph | 2011-05-10 | -1/+1 |
| | ||||
* | Made teleporting between worlds 'smoother'. Thanks Raphfrk! | EvilSeph | 2011-05-04 | -3/+6 |
| | ||||
* | Reduced console spam under certain conditions. | EvilSeph | 2011-04-22 | -1/+2 |
| | ||||
* | Proper fix for the console spam on disconnect/kick. | EvilSeph | 2011-04-21 | -2/+1 |
| | ||||
* | Reduced console spam on disconnect/kick. | EvilSeph | 2011-04-21 | -1/+2 |
| | ||||
* | Update for 1.4_00_01 -- if you bypassed Bukkit, you will most likely break. | Erik Broes | 2011-04-20 | -51/+51 |
| | ||||
* | Updated to Minecraft version 1.4 | Dinnerbone | 2011-03-31 | -2/+2 |
| | ||||
* | Generic code cleanup | Erik Broes | 2011-02-23 | -9/+16 |
| | ||||
* | Update to Minecraft 1.3 beta | Dinnerbone | 2011-02-23 | -6/+6 |
| | ||||
* | N.M.S cleanup in preparation for update | Dinnerbone | 2011-02-21 | -6/+7 |
| | ||||
* | Fixed entity updating | Dinnerbone | 2011-02-07 | -13/+10 |
| | ||||
* | Changes to reflect new Environment enum | Dinnerbone | 2011-02-07 | -3/+0 |
| | ||||
* | NPE | Dinnerbone | 2011-02-07 | -0/+3 |
| | ||||
* | Added internal MC support for multiple worlds | Dinnerbone | 2011-02-07 | -0/+190 |