summaryrefslogtreecommitdiffstats
path: root/src/main/java/net/minecraft/server/ChunkSection.java
Commit message (Collapse)AuthorAgeLines
* Update to Minecraft 1.8Thinkofdeath2014-11-28-488/+0
| | | | For more information please see http://www.spigotmc.org/
* Handle uniform block ids greater than 127. Fixes BUKKIT-5686Travis Watkins2014-07-10-4/+4
|
* Update CraftBukkit to Minecraft 1.7.10Travis Watkins2014-07-08-12/+12
|
* Use compact memory format for uniform chunk section data.Travis Watkins2014-06-23-59/+272
| | | | | | | | | | | Many chunk sections contain parts of their data that are the same for every block they contain. In these cases we can save memory by saving a single value instead of an array of 4096 copies of that value. Block light and block data are most likely to be uniform followed closely by sky light data. Block ids are far less likely to be uniform but give the largest saving when they are. Because of this we use a compact format for every part of the chunk. Memory saved from this technique will vary based on the world but seems to be about 50% on normal Minecraft generated chunks.
* Update CraftBukkit to Minecraft 1.7.2mbax2013-11-30-38/+37
|
* Update CraftBukkit to Minecraft 1.5.2Travis Watkins2013-04-27-29/+29
|
* Validate chunk data array lengths. Fixes BUKKIT-4093Mike Primm2013-04-15-5/+27
| | | | | | | If a chunk has somehow managed to save with arrays that are not 4096 entries long when reading them again we will get exceptions. Checking the array length and resizing if needed is cheap so we should do this to help avoid crashing servers due to this error.
* Cleanup comments, formatting, etcTravis Watkins2013-03-25-2/+2
|
* Update CraftBukkit to Minecraft 1.4.6feildmaster2012-12-20-4/+8
|
* Clear out empty extended block ID array. Fixes BUKKIT-2923Travis Watkins2012-11-14-0/+14
| | | | | | | | | | | | If a chunk gets a block added to it that requires the extended block id nibble array (block id greater than 255) the array is created and saved with the chunk. When the blocks are verified to make sure they exist these entries are erased but the extended block id array is not. This causes the server and client to disagree about how much data a chunk has which makes the client crash while trying to load the chunk for rendering. To resolve these issues we now clear the extended block id array on chunk load if there is no valid data in it.
* Update CraftBukkit to Minecraft 1.4(.2).Travis Watkins2012-10-27-96/+96
|
* CraftBukkit comment fixesWesley Wolfe2012-09-14-1/+1
|
* [Bleeding] Optimize chunk loadingMike Primm2012-08-19-0/+57
| | | | | | | | ChunkSection.e() is called once per chunk section loaded and is quite expensive (about 20% of CPU time for loading the chunk). This changes the logic to add a fast path when extended block data is not being used and reorganizes the loops for more optimal array traversal. Overall this saves about 20-30% CPU time in this method.
* Update CraftBukkit to Minecraft 1.3.1feildmaster2012-08-02-18/+12
|
* Updated to Minecraft version 1.2.4. Updated version string to 1.2.4-R0.1.Nathan Adams2012-03-22-5/+5
|
* [Bleeding] Add updated interfaces for custom chunk generation. Addresses ↵Mike Primm2012-03-09-0/+14
| | | | BUKKIT-874
* Add vanilla ChunkSection.java from mc-dev for diff visibility.Mike Primm2012-03-09-0/+171