9756 Commits

Author SHA1 Message Date
Dylan K. Taylor
26a5d97499 Some cleanup to player net session handling for connect/disconnect 2019-03-14 14:32:43 +00:00
Dylan K. Taylor
fa7a4dc22e Fixed warning of bad default format on new installs 2019-03-13 21:43:07 +00:00
Dylan K. Taylor
34758e3bc6 RegionLevelProvider: clean up coordinate extraction, fixed a stupid bug 2019-03-13 17:35:09 +00:00
Dylan K. Taylor
08c399529d RegionLevelProvider: Unload regions when finished scanning them, fixes running out of file descriptors during conversion 2019-03-13 17:32:34 +00:00
Dylan K. Taylor
ad19696364 Make Effect and Enchantment functions less verbose 2019-03-13 15:26:21 +00:00
Dylan K. Taylor
01904adf49 Improve enum implementations, move some components to traits
The reason this uses a trait is because `self` refers to the including class in a trait, which offers a small amount of automatic type safety.
If we had templates or generics, this would be a generic class instead.
2019-03-13 15:10:31 +00:00
Dylan K. Taylor
7f4b76aa86 Implemented blue ice 2019-03-12 19:38:03 +00:00
Dylan K. Taylor
0e1a88f7e5 Armor: Implement right-click to equip, closes #2641 2019-03-12 19:01:36 +00:00
Dylan K. Taylor
8b9eeb0b7f Clean up Armor classes 2019-03-12 18:53:51 +00:00
Dylan K. Taylor
2e4b3d3d46 Sync legacyID map (thanks @MCMrARM) 2019-03-11 17:38:02 +00:00
Dylan K. Taylor
1d4f44d259 Updated BlockFactory consistency check data 2019-03-10 19:53:55 +00:00
Dylan T
13bea6c787 Updated Travis configuration 2019-03-10 19:53:55 +00:00
Dylan K. Taylor
48427290c9 Regenerated BlockFactory TODOs 2019-03-10 19:53:55 +00:00
Dylan K. Taylor
437750785f Implemented barrier block 2019-03-10 19:53:55 +00:00
Dylan K. Taylor
c2a069afd3 Implemented a bunch of new wood blocks 2019-03-10 19:53:24 +00:00
Dylan K. Taylor
84bbd14a21 fixed wrong generator being set on converted worlds 2019-03-10 19:53:24 +00:00
Dylan K. Taylor
85e1b77cae fix crash in getHighestBlockAt() 2019-03-10 19:53:24 +00:00
Dylan K. Taylor
18e16f8615 Fixed blockID truncation 2019-03-10 19:53:24 +00:00
Dylan K. Taylor
7aa4c18afa Fixed assert failure in SubChunk 2019-03-10 19:53:24 +00:00
Dylan K. Taylor
a858103e6b Support paletted subchunks, drop all formats except leveldb 2019-03-10 19:53:24 +00:00
Dylan K. Taylor
dfc26395e2 Fixed missing logger injection 2019-03-10 19:53:23 +00:00
Dylan K. Taylor
8cb24547ff Goodbye McRegion o/ 2019-03-10 19:53:23 +00:00
Dylan K. Taylor
8d83d59cf0 Work around collisions in backup names 2019-03-10 19:53:23 +00:00
Dylan K. Taylor
a0a8026cba Implemented automatic world format conversion 2019-03-10 19:53:23 +00:00
Dylan K. Taylor
ae9f57ac28 Revert "Remove hacks for triggering adjacent light refill"
This reverts commit 1dca9074d5f087d15f8d30d2941150fe51617489.
This change introduced performance issues with transparent blocks.
2019-03-10 19:50:35 +00:00
Dylan T
c266f86b1b
ItemEntity: introduce controls for despawn timers (#2769)
This opts _not_ to expose item "age" a la #2753 because "age" is a misleading term for it. In addition, further inspection of the problem led me to realize that exposing control of that AND despawn timeout was more complicated than simply having a despawn delay timer exactly like the pickup delay one. Everyone knows a countdown timer stops at 0, so this way we don't need any method to control the limit.

Closes #2667
Closes #2753
2019-03-10 12:05:21 +00:00
Dylan K. Taylor
c05bc6a53e Merge branch '3.6' 2019-03-10 12:03:39 +00:00
Dylan K. Taylor
baa094a2d1 3.6.6 is next 2019-03-10 11:49:31 +00:00
Dylan K. Taylor
f2ff510597 Release 3.6.5 3.6.5 2019-03-10 11:49:06 +00:00
Dylan K. Taylor
4c10476b15 Empty merge 2019-03-10 11:43:31 +00:00
Dylan K. Taylor
562179bdd6 Backport 58cafc853f2caa013c65d98ab56f13ac3abe521c: s/level/world (strings only)
we should look at doing this for code too, but for now I'm not planning to break everyone's plugins.
2019-03-10 11:35:46 +00:00
Dylan K. Taylor
5c12bee874 Backport other part of 2bffd5cc1c326670c25386ce78e5c690f4c5fd54: Add timer measurements for autosave 2019-03-10 11:20:51 +00:00
Dylan K. Taylor
99606bbe23 beware possible API break 2019-03-09 19:33:46 +00:00
Dylan K. Taylor
a1d50de12e OOF 2019-03-09 19:31:13 +00:00
Dylan K. Taylor
4252c5914b Backport 93cd00ae8ffdfe7f7959b5e2ca5ca20b59d54012: Remove dead settings from pocketmine.yml 2019-03-09 19:21:39 +00:00
Dylan K. Taylor
0659d2fbef Backport 6bd43a8215b9e612478fe789da9a58b36f0f0e73: Firehose auto-tick-rate anti-feature, closes #2665 2019-03-09 19:20:53 +00:00
Dylan K. Taylor
10612acace Partial backport of 2bffd5cc1c326670c25386ce78e5c690f4c5fd54 to 3.6 2019-03-09 19:10:09 +00:00
Dylan K. Taylor
1d810f8aeb Backport c3e66e0adc1a0d5ccc2b48dc2ec44e51f5c5383d to 3.6 2019-03-09 19:09:05 +00:00
Dylan K. Taylor
3079fd0251 Fixed test failures introduced by 6fe366e1ac2ce3127ab434f1cd7816d03e236ac9 2019-03-09 19:05:32 +00:00
Dylan K. Taylor
b9208eb1fb Merge branch '3.6' 2019-03-09 19:04:37 +00:00
Dylan K. Taylor
414104851a LevelDB: Mark chunks as changed when upgraded from an older chunk format 2019-03-09 19:02:34 +00:00
Dylan K. Taylor
2ae09f635b Add more output to consistency check script
this helps catching state mapping bugs.
2019-03-09 17:19:17 +00:00
Dylan K. Taylor
6fe366e1ac Added some missing block properties 2019-03-09 16:49:37 +00:00
Dylan T
8f1bc5d497
Flatten wall_banner and wall_sign into single blocks (#2798)
This comes with some problems, but the problems are more bearable than the previous code.
2019-03-08 16:37:26 +00:00
Dylan K. Taylor
bb718faa2e Merge branch '3.6' 2019-03-08 13:57:32 +00:00
Dylan K. Taylor
c68ee1d9d9 LevelDB: Mark chunks as changed when upgraded from an older chunk format 2019-03-08 13:55:56 +00:00
Thunder33345
c0bed03a2a Update PlayerRespawnEvent.php (#2797)
removed obsolete comment
2019-03-05 16:28:58 +00:00
Dylan K. Taylor
2b6a62be77 Fixed BlockFactory corruption with signs and banners 2019-03-05 15:32:06 +00:00
Dylan K. Taylor
3f66600271 RegionLoader: Extract location table validation to separate function 2019-03-05 13:28:56 +00:00
Dylan K. Taylor
f2404804d7 RegionLoader: clean up lastSector handling 2019-03-05 13:18:14 +00:00