Dylan K. Taylor
e06ab0869a
mostly rewrite internal entity metadata handling
...
- Only sync the metadata set when needed for sending
- Don't use metadata set for storing data, add properties instead
- Use objects inside metadata sets instead of arrays
2019-07-28 19:40:47 +01:00
Dylan K. Taylor
6c0ae6bf0b
fuck off PhpStorm
2019-07-27 19:22:33 +01:00
Dylan K. Taylor
379a40c13a
break up the pocketmine\network\mcpe\protocol\types namespace
...
this namespace nesting is getting out of hand, but it's more manageable this way.
2019-07-27 19:19:48 +01:00
Dylan K. Taylor
c9ecd04353
rename DataPropertyManager -> EntityMetadataCollection
2019-07-27 19:10:18 +01:00
Dylan K. Taylor
cde2c10c1d
AsyncTask: partial backport of 6ac0c517f54dc83fc23f41a6797c14e1f4b457a1 (simplify TLS)
...
- deprecated AsyncTask::peekLocal()
- AsyncTask::fetchLocal() no longer deletes stored data
2019-07-27 15:09:42 +01:00
Dylan K. Taylor
34ed2980e5
Merge branch 'next-minor'
2019-07-27 14:59:38 +01:00
Dylan K. Taylor
87fb42cabd
Merge branch 'stable' into next-minor
2019-07-27 14:53:13 +01:00
Dylan K. Taylor
cb40484a2e
AsyncTask: Remove a bunch of reference-management drivel from documentation of storeLocal()
...
this works (mostly) the same way regular properties do, so the usual rules are implied.
2019-07-27 14:52:53 +01:00
Dylan K. Taylor
6566dd8c8f
AsyncPool: Remove useless warning about complex data leftovers
...
this is automatically cleaned up anyway, so this warning is just redundant noise.
2019-07-27 14:44:40 +01:00
Dylan K. Taylor
1e65ac0d85
Merge branch 'stable' into next-minor
2019-07-27 14:40:31 +01:00
Dylan K. Taylor
e75a08a5a3
AsyncPool: ensure TLS is always cleaned on task removal, closes #3059
2019-07-27 14:39:40 +01:00
Dylan K. Taylor
cb247a5f28
AsyncTask: Deprecate methods removed in 2c4f2810d2654375c2b834fe12999b465bfa2caf
2019-07-26 19:52:26 +01:00
Dylan K. Taylor
bb048fb361
Merge branch 'stable' into next-minor
2019-07-26 19:50:17 +01:00
Dylan K. Taylor
95dfff727e
Wrap PocketMine.php body inside a function
...
this isolates variables from the global scope and also prevents doxygen documenting these variables.
2019-07-26 19:47:03 +01:00
Dylan K. Taylor
d55889d85f
AsyncTask: fixing docs
2019-07-26 19:41:45 +01:00
Dylan K. Taylor
99f65f19ac
BulkCurlTask: point to the right place in docs
2019-07-26 19:18:09 +01:00
Dylan K. Taylor
581eeee01d
fix rogue @package doc making doxygen choke
2019-07-26 19:15:02 +01:00
Dylan K. Taylor
7275952fc2
added some missing legacy ID constants
...
i'm not sure why my script missed these
2019-07-26 19:08:50 +01:00
HimbeersaftLP
17341d7406
Load Mathjax from https to prevent unsafe scripts error ( #3058 )
2019-07-26 18:49:02 +01:00
Dylan K. Taylor
a91a86bf1d
Removing achievements
2019-07-26 18:07:31 +01:00
Dylan K. Taylor
b543744534
Rename Solid -> Opaque
...
the old naming was misleading, particularly in conjunction with isSolid().
2019-07-22 19:56:01 +01:00
Dylan K. Taylor
e95b9fa432
Block: use isSameType() in some places
2019-07-22 19:23:28 +01:00
Dylan K. Taylor
72c0af2e82
Merge branch 'stable'
2019-07-22 17:39:44 +01:00
Dylan K. Taylor
04c0cd142d
3.9.3 is next
2019-07-22 17:28:33 +01:00
Dylan K. Taylor
7a747d6f93
Release 3.9.2
3.9.2
2019-07-22 17:28:33 +01:00
Dylan K. Taylor
e93d034a4e
fix bucket empty sound position, close #3051
2019-07-22 17:17:15 +01:00
Dylan K. Taylor
5a08a10448
update dependency requirements
2019-07-22 17:15:18 +01:00
Dylan K. Taylor
622f93df45
remove usages of deprecated {} string access, closes #3035
2019-07-22 16:39:33 +01:00
Dylan K. Taylor
80d277f1b5
removed return value of ChunkManager->setBlockAt() and World->setBlock()
2019-07-21 18:55:22 +01:00
Dylan K. Taylor
703ae3a172
Merge branch 'master' of https://github.com/pmmp/PocketMine-MP
2019-07-21 18:53:25 +01:00
Dylan K. Taylor
6fdcb09891
fix PhpStorm's screwup with World->setBlock() doc comment
...
it's not the first time i've seen it do this, and i still have no idea why it does this.
2019-07-21 18:52:33 +01:00
Dylan K. Taylor
a9c6489e08
updated consistency check for e388ac9c8b133fbf0382ef56f6ab75f04249a670
2019-07-21 13:11:59 +01:00
Dylan K. Taylor
e388ac9c8b
implemented lantern
2019-07-20 17:48:09 +01:00
Dylan K. Taylor
08a654760c
Allow PlayerInfo to contain additional metadata
2019-07-20 15:19:17 +01:00
Eren A. Akyol
b788982d60
Item: fixed setCustomName() not removing display NBT tag with empty name ( #3049 )
2019-07-19 20:07:53 +01:00
Dylan K. Taylor
1e057394c0
Utils: added cloneCallback() and cloneObjectArray() to reduce list copying boilerplate
2019-07-19 19:19:04 +01:00
Dylan K. Taylor
47b120fa0e
crafting: avoid unnecessary recipe mutability
2019-07-19 19:11:36 +01:00
Dylan K. Taylor
556beacdbf
make PlayerAchievementAwardedEvent less useless
2019-07-19 18:59:06 +01:00
Dylan K. Taylor
b4df1ac547
Remove Achievement::broadcast(), remove cyclic dependency, inline code in Player
2019-07-19 18:47:18 +01:00
Dylan K. Taylor
3965c9419d
Merge branch 'stable'
2019-07-19 18:20:38 +01:00
Dylan K. Taylor
26faf4a952
Player: fixed sendTranslation() passing parent parameters to translate parameters
2019-07-19 18:15:35 +01:00
Dylan K. Taylor
14d79c205b
TranslationContainer: remove redundant setters
...
i'd like to make this completely immutable, but there are some problems to solve first.
2019-07-19 18:09:00 +01:00
Dylan K. Taylor
99bba66f13
Block no longer implements BlockLegacyIds
2019-07-19 17:49:59 +01:00
Dylan K. Taylor
1fee70abfb
Item no longer implements ItemIds
2019-07-19 17:43:06 +01:00
Dylan K. Taylor
ac12911561
move network entity IDs to network namespace
...
we're going to need a dedicated data package, because this stuff isn't just network-specific.
2019-07-19 15:33:30 +01:00
Dylan K. Taylor
0ebd3e6ca2
fix /effect crash
2019-07-19 14:10:19 +01:00
Dylan K. Taylor
5a5ce84ebc
yucky fix for crash on invalid keychain
2019-07-19 14:01:21 +01:00
Dylan K. Taylor
a4c7744188
[ci skip] changelog updates
2019-07-19 13:53:44 +01:00
Dylan K. Taylor
c5ebc12f1a
Merge remote-tracking branch 'origin/stable'
2019-07-19 13:45:53 +01:00
Muqsit
5e8c92b1da
Fix test failure #3047
2019-07-19 13:42:03 +01:00