Dylan K. Taylor
|
d40152e3bb
|
World: fix time sync
|
2020-05-04 11:23:44 +01:00 |
|
Dylan K. Taylor
|
aac017eae4
|
World: drop unused and very misleadingly named addChunkPacket()
|
2020-05-04 10:22:39 +01:00 |
|
Dylan K. Taylor
|
c490bc5a8c
|
World: drop global packet broadcast
|
2020-05-04 02:31:19 +01:00 |
|
Dylan K. Taylor
|
b1021315b0
|
World: remove protocol-specialized broadcastLevelEvent()
|
2020-05-04 02:28:34 +01:00 |
|
Dylan K. Taylor
|
9615186afd
|
rename PunchBlockParticle -> BlockPunchParticle
|
2020-05-01 12:36:31 +01:00 |
|
Dylan K. Taylor
|
2964a4be35
|
making BlockPunchSound server-controlled
|
2020-05-01 12:23:00 +01:00 |
|
Dylan K. Taylor
|
1969766b70
|
Nix some client-sided sounds, control them from the server
this is a necessary step to knock out the implicit assumption that every player is using the same protocol.
|
2020-05-01 11:52:32 +01:00 |
|
Dylan K. Taylor
|
3ce9a4801f
|
World: allow registering unload hooks
this will be used for cache management when worlds get unloaded.
|
2020-04-29 18:48:16 +01:00 |
|
Dylan K. Taylor
|
bb11cbd89c
|
World: relocate packet stuff for time and difficulty behind NetworkSession API
|
2020-04-29 18:31:54 +01:00 |
|
Dylan K. Taylor
|
ac5cf2443e
|
convert TileFactory to singleton
|
2020-04-26 01:11:30 +01:00 |
|
Dylan K. Taylor
|
a178a14732
|
Merge commit '34a3e0d'
|
2020-04-25 12:13:03 +01:00 |
|
Dylan K. Taylor
|
c869a7f099
|
HandshakePacketHandler no longer depends on NetworkSession
|
2020-04-24 23:18:29 +01:00 |
|
Dylan K. Taylor
|
7d9df6af6f
|
Convert EntityFactory to singleton
|
2020-04-24 22:43:02 +01:00 |
|
Dylan K. Taylor
|
3a42c21cc1
|
wrap up block_id_map in a class
|
2020-04-24 21:28:27 +01:00 |
|
Dylan K. Taylor
|
5a94af40e2
|
Convert ItemFactory to singleton
|
2020-04-24 00:18:31 +01:00 |
|
Dylan K. Taylor
|
13d784cd0c
|
Convert BlockFactory to singleton
|
2020-04-23 23:45:13 +01:00 |
|
Dylan K. Taylor
|
accc0da0cb
|
Chunk no longer depends on BlockFactory
really this light population crap shouldn't be in the chunk to begin with, but that's a bit more complicated.
|
2020-04-23 21:31:28 +01:00 |
|
Dylan K. Taylor
|
f3d7c320a1
|
move SkinAdapter stuff to convert package
|
2020-04-23 15:46:37 +01:00 |
|
Dylan K. Taylor
|
18d48869a0
|
the great airgapping of recipes and itemstacks
|
2020-04-23 14:11:48 +01:00 |
|
Dylan K. Taylor
|
163c3855eb
|
Merge branch 'next-minor'
# Conflicts:
# resources/vanilla
# src/plugin/PluginBase.php
# src/plugin/PluginDescription.php
# src/pocketmine/Player.php
# src/pocketmine/network/rcon/RCON.php
# src/pocketmine/network/rcon/RCONInstance.php
# src/pocketmine/scheduler/AsyncTask.php
# src/pocketmine/tile/Spawnable.php
# src/scheduler/AsyncPool.php
# src/utils/Config.php
# src/utils/Timezone.php
# src/utils/UUID.php
# src/utils/Utils.php
# src/world/format/io/region/RegionLoader.php
|
2020-04-19 11:13:41 +01:00 |
|
Dylan K. Taylor
|
86e051b7bf
|
Merge commit 'a2543ff80d2906bccda1a4e2fdbd9d8e7d147fb3'
|
2020-04-18 17:33:05 +01:00 |
|
Dylan K. Taylor
|
ca909ebc1d
|
Merge branch 'next-minor'
|
2020-03-10 13:05:37 +00:00 |
|
Dylan K. Taylor
|
995309424e
|
updated pocketmine/nbt dependency
this is going to need work on exception handling, but right now it's so inconsistent that it doesn't matter anyway.
|
2020-03-04 17:53:37 +00:00 |
|
Dylan K. Taylor
|
a633e415ef
|
FastChunkSerializer: use machine endianness for pack() (thanks @Frago9876543210)
this is faster due to not having to reverse bytes. Since we don't use this format for persistence, it's OK to use machine byte order for this.
|
2020-02-25 15:08:53 +00:00 |
|
Dylan K. Taylor
|
cd71a6204f
|
Revert "PopulationTask: do not populate light in chunks out of the gate"
This reverts commit 42148f0d15949faecfbbef8f09ef4355d3dd3899.
|
2020-02-11 19:43:25 +00:00 |
|
Dylan K. Taylor
|
42148f0d15
|
PopulationTask: do not populate light in chunks out of the gate
this is a relic from when we needed to store light on disk. Now we can just calculate lighting as-needed instead.
|
2020-02-11 19:14:01 +00:00 |
|
Dylan K. Taylor
|
9b6fa8c25b
|
Merge branch 'stable'
|
2020-02-11 19:12:39 +00:00 |
|
Dylan K. Taylor
|
d360439c92
|
FastChunkSerializer: expose a method to disable lighting serialization
this is useful for copies which don't care about lighting, such as chunk sending.
|
2020-02-09 17:48:30 +00:00 |
|
Dylan K. Taylor
|
2375e9519d
|
RegionWorldProvider: fix CS
|
2020-02-08 09:34:22 +00:00 |
|
Dylan K. Taylor
|
d2aca6023b
|
add native return types to closures (for phpstan)
|
2020-02-07 22:05:15 +00:00 |
|
Dylan K. Taylor
|
aac7da6c96
|
eliminate remaining empty() usages
|
2020-02-07 21:51:50 +00:00 |
|
Dylan K. Taylor
|
fb1126797a
|
Merge branch 'stable'
|
2020-02-07 18:13:55 +00:00 |
|
Dylan K. Taylor
|
e3833ba4f0
|
Merge branch 'stable'
|
2020-02-01 21:03:21 +00:00 |
|
Dylan K. Taylor
|
9c33ea8dd1
|
EnumTrait: use a better method to initialize enums
this method is simpler, and is also safe at the native type level.
Coincidentally, it also eliminates 30 PHPStan false-positives.
|
2020-02-01 20:33:30 +00:00 |
|
Dylan K. Taylor
|
ff63f6d055
|
fill in more iterable types (master)
|
2020-02-01 20:19:57 +00:00 |
|
Dylan K. Taylor
|
89c6da13ac
|
phpstan: use more class-string
|
2020-01-31 22:05:33 +00:00 |
|
Dylan K. Taylor
|
f65bf76fd8
|
Merge commit '799183e13e61e89cc6820ad3132a4147454017c6'
# Conflicts:
# resources/vanilla
# src/Server.php
# src/pocketmine/entity/Entity.php
# src/pocketmine/level/format/io/LevelProviderManager.php
# src/pocketmine/tile/Tile.php
# src/world/generator/GeneratorManager.php
|
2020-01-31 21:26:40 +00:00 |
|
Dylan K. Taylor
|
cb16f5c142
|
Merge commit '260ac47588c76a2e6814cfba46773a990fb8c5da'
# Conflicts:
# resources/vanilla
# src/Server.php
# src/lang/Language.php
# src/network/mcpe/protocol/AddItemActorPacket.php
# src/network/mcpe/protocol/AddPlayerPacket.php
# src/network/mcpe/protocol/SetActorDataPacket.php
# src/network/mcpe/serializer/NetworkBinaryStream.php
# src/permission/Permission.php
# src/pocketmine/block/Leaves.php
# src/pocketmine/entity/DataPropertyManager.php
# src/pocketmine/entity/Entity.php
# src/pocketmine/item/Banner.php
# src/pocketmine/item/Item.php
# src/pocketmine/level/format/io/LevelProvider.php
# src/pocketmine/level/format/io/LevelProviderManager.php
# src/pocketmine/network/mcpe/protocol/AddActorPacket.php
# src/pocketmine/network/mcpe/protocol/LoginPacket.php
# src/pocketmine/tile/Banner.php
# src/scheduler/BulkCurlTask.php
# src/updater/AutoUpdater.php
# src/utils/Config.php
# src/utils/Utils.php
# src/world/generator/Flat.php
# src/world/generator/Generator.php
|
2020-01-31 21:07:34 +00:00 |
|
Dylan K. Taylor
|
465d8cda79
|
Merge commit 'a5764b3ae98a70fe8f20f9b403a4ab84b51b11d8'
# Conflicts:
# resources/vanilla
# src/pocketmine/level/format/io/LevelProvider.php
# src/world/generator/Generator.php
# src/world/generator/GeneratorRegisterTask.php
|
2020-01-31 19:32:38 +00:00 |
|
Dylan K. Taylor
|
9492325eef
|
Merge branch 'stable'
|
2020-01-29 20:01:30 +00:00 |
|
Dylan K. Taylor
|
5c4487c980
|
added some callable prototypes for phpstan
|
2020-01-29 19:56:16 +00:00 |
|
Dylan K. Taylor
|
5955ff5393
|
fix phpdoc spacing screwed up by phpstorm
|
2020-01-22 15:20:50 +00:00 |
|
Dylan K. Taylor
|
8efc4d12ec
|
trim phpdoc lines
|
2020-01-22 15:18:37 +00:00 |
|
Dylan K. Taylor
|
0b423c5b96
|
Merge branch 'stable'
|
2020-01-22 15:16:10 +00:00 |
|
Dylan K. Taylor
|
055b13a6cf
|
strip extra blank lines (php-cs-fixer)
|
2020-01-22 15:14:10 +00:00 |
|
Dylan K. Taylor
|
1b33143f4f
|
pass 2, manual removal of incorrect non-nullable phpdoc types
|
2020-01-22 12:06:47 +00:00 |
|
Dylan K. Taylor
|
67bcc1c0fb
|
phpdoc armageddon for master, pass 1
|
2020-01-22 11:55:03 +00:00 |
|
Dylan K. Taylor
|
3ee6887792
|
populate remaining missing return types, using native returns where possible
this is done separately to stable so that stable changes can be integrated easily using an empty merge.
|
2020-01-19 10:26:35 +00:00 |
|
Dylan K. Taylor
|
ebce102167
|
Merge commit '260869c0d5904401178419c99e1f26e32b6ba07e'
|
2020-01-18 18:22:12 +00:00 |
|
Dylan K. Taylor
|
9c06c1a06f
|
Merge branch 'stable'
|
2020-01-11 22:36:57 +00:00 |
|