3672d60bf4
More foolproof region file extension check
2016-12-23 12:40:04 +00:00
3848f6f39c
Remove Anvil/McRegion circular dependency, more scalable region validity checks
2016-12-23 12:13:32 +00:00
00158d4805
Refactor namespace of Anvil/McRegion
2016-12-23 11:52:55 +00:00
3dcfa7b3ce
Fix 32-bit crash and incorrect use of IntTag for Time
2016-12-22 21:03:18 +00:00
acd141e5aa
Enable strict types on SubChunk and EmptySubChunk
2016-12-22 18:48:43 +00:00
8ee3723588
Removed Anvil RegionLoader, made mcregion RegionLoader usable for anything
2016-12-22 18:25:18 +00:00
29c27993ad
Some mcregion/anvil improvements, add type-hints and enable strict-types
2016-12-22 16:57:03 +00:00
f4065dd411
Type-hints, strict-types, doc comments and rearrangement for LevelProviders
2016-12-22 13:16:25 +00:00
a99d7f93d9
Remove redundant return values
...
why am I still up at 6AM
2016-12-22 06:24:38 +00:00
363b24c663
Fix height limits on subchunks, fixed #196
...
facepalm
2016-12-22 04:46:28 +00:00
6ea45c5c4a
Formatting and doc comments, overall useless commit
2016-12-12 14:25:42 +00:00
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