d625a20934
Remove mess
2016-12-05 10:22:57 +00:00
a0cda3b45a
Fixed extra data encoding
2016-12-04 17:46:56 +00:00
d74486a64a
Fixed tile spawns
2016-12-04 15:12:45 +00:00
aafe0c4f69
Remove biome colours and fix biome id arrays
2016-12-04 15:12:23 +00:00
ebd2830770
Remove nonexistent NBT tags and fix movement issues in PC worlds
2016-12-02 18:06:36 +00:00
577dbbce1f
Support 256-block build height and fixed world saving
2016-12-01 23:45:12 +00:00
ce289cbe25
Merge branch 'master' into 0.17-chunks
2016-12-01 17:50:12 +00:00
d6629d6843
More ?? ( #131 )
...
* More ??
* fix undefined variable
2016-11-30 10:07:37 +00:00
5025b4aba1
More nibble array re-ordering optimisation
2016-11-29 14:46:49 +00:00
dd01407dd4
Optimized byte re-ordering
2016-11-29 14:46:49 +00:00
d70be232d8
More tweaks
2016-11-29 14:46:48 +00:00
ecabe945e6
Changes for more performance, fixed some crashes and hacked out dodgy light population
2016-11-29 14:46:48 +00:00
2b46794ca2
Optimised nibble array re-ordering (halved loop count)
2016-11-29 14:46:08 +00:00
0be8fa4157
Optimized byte and nibble array re-ordering
2016-11-29 14:44:46 +00:00
039d6a488a
Fix lighting *facepalm*
...
http://rmsnews.com/wp-content/uploads/2015/06/clavier-avec-uniquement-ctrl-c-et-ctrl-v.jpg
2016-11-27 21:57:59 +00:00
15f7cfb4f7
Add missing return value, fix blocks vanishing when placed
2016-11-27 21:57:59 +00:00
4c49db6036
New generic in-memory chunk format, fixed 0.17.0.1 chunk loading
...
Terrible performance, needs profiling. TODO: fix this.
2016-11-27 21:57:59 +00:00
60260a294b
Remove chunk order fields
2016-11-27 21:57:59 +00:00
fe348b0a9d
Speed up region file creation by only using ftruncate(). ( #116 )
...
* Speed up region file creation by only using ftruncate().
The old method was extremely slow (~200ms to create a single region file), but the new one is much faster (in the order of ~15ms). (Numbers were measured on a Linode 2048)
* Replace manual array fill with array_fill().
* Spaces -> tabs.
* Update RegionLoader.php
2016-11-23 21:23:38 +00:00
ff40c0a070
NBT updates and tile spawns fixed
2016-10-27 10:55:01 +01:00
702ab53e69
Moved the default mcr/mca worlds' spawn in the center of the r.0.0.mc* region file ( #28 )
...
The default mcr/mca spawn was not centered in the 0,0 region causing the generation of not needed regions walking just a bit
2016-10-21 13:50:30 +01:00
58ff381557
PhpStorm automated formatting ( #11 )
...
* PhpStorm reformatting
* Tuned PhpStorm reformatting
* Improved ItemIds and BlockIds formatting
* Tuned more PhpStorm reformatting
* Improved string concatenation
2016-10-03 19:05:48 +08:00
e913b16804
Fixed some lines indented with 4 spaces rather than tabs
2016-10-03 00:58:34 +08:00
6fc435da0e
Imports rearrangement
2016-10-03 00:43:46 +08:00
ed9888a2cb
Fixed #3963 , closes #3979 , added hash for non-numeric seeds
2016-02-22 19:40:40 +08:00
41a847567c
RandomSeed should be a TAG_Long
2016-02-22 18:42:49 +08:00
3640e13f17
Added some assertions for level seed
2016-02-21 22:46:44 -05:00
3ffdb8e552
Removed @deprecated classes, methods and properties, added some type hints
2015-09-12 17:10:11 +02:00
e137ac4c56
Base PHP7 work to make it "run" - READ NEXT LINES!
...
All plugins will need to bump the API if they want to use this.
NOTE THAT THIS IS NOT THE FINAL API 2.0.0 AND THAT THERE WILL BE MORE CHANGES.
To start updating, you might also want to read https://secure.php.net/manual/en/migration70.php and specifically https://secure.php.net/manual/en/migration70.incompatible.php
To compile PHP7 with some of the required dependencies, use https://gist.github.com/shoghicp/166ab26ce5cc7a390f45
ONLY LINUX IS TESTED, DO NOT ASK FOR OTHER PLATFORMS!
----- THIS VERSION IS NOT SUPPORTED -----
This version WILL crash randomly in unexpected places due to PHP7, pthreads, PocketMine or cosmic rays.
Handle with care, and store under direct sunlight for the best performance.
2015-09-10 21:29:29 +02:00
7f8b39a63c
Renamed NBT tags to have Tag in the name
2015-08-23 00:25:29 +02:00
3e2cce3c2c
use cleanup
2015-08-07 21:26:24 +02:00
9456e20770
Added support for extra data, improved BinaryStream
2015-08-04 18:29:13 +02:00
7fd053fb09
More changes! Alsp added Anvil block and BinaryStream
2015-08-03 18:04:13 +02:00
4258e22c02
Made some changes for 0.12
2015-08-01 19:14:44 +02:00
866fde5351
Improved speed of some int arrays, fixed block metadata
2015-07-27 20:31:55 +02:00
fdcddcc04b
Fix entity unloading after teleporting, closes #3136
2015-06-08 15:02:00 +02:00
cbb1c55a06
Improved biome generation, get grass color from gradient interpolation, improved performance of generation, try to recreate grass colors from imported chunks, closes #2845 , closes #1792
2015-06-07 15:17:02 +02:00
a53b041984
Improved region save and saving of chunks before population
2015-06-05 02:27:37 +02:00
71490f60f2
Fixed other invisibility issues
2015-06-04 16:51:48 +02:00
c578898aa4
Moved light population to an async task when needed, improved empty chunks
2015-05-28 23:34:07 +02:00
8d4abe2f39
Improved world loading, added chunk queue delay, closes #3046
2015-05-20 11:05:35 +02:00
92a2be024a
Improved saving of modified properties
2015-05-19 20:49:47 +02:00
66f28f6dc4
Fixes #3042
2015-05-19 17:48:35 +02:00
d6ebff412c
Added ChunkLoader interface
2015-05-16 15:28:31 +02:00
b1edfd7631
Improved Falling blocks physics, entity kill, chunk unserialize, fixed flat generator color, fixed nbt tags __toString(), fixed explosion offsets, fixed increased player interaction range in creative
2015-05-13 12:18:59 +02:00
f3bdef7513
Fixed Anvil chunks not having NBT set
2015-05-12 16:52:11 +02:00
aa38a4885f
Fixed some issues with world generation and not creating chunks, closes #3008
2015-05-11 23:53:01 +02:00
de0f653027
build 10, improved levelDB constants
2015-05-11 20:31:28 +02:00
925b0c1b07
Fixed empty chunks on generation, closes #2998
2015-05-10 13:18:39 +02:00
db409851e9
World generation is timed by type and chunks can be created on the fly
2015-05-09 19:03:41 +02:00