7af4e70f64
Entity: fixed movement updates not firing after teleport
...
this became obvious by teleporting non-moving entities into the air and observing that they didn't fall.
2020-06-04 10:52:04 +01:00
017afead3b
extract FurnaceRecipeManager unit from CraftingManager
...
I'd like to have this directly provided to Furnace, but I don't know how to short of making into a singleton. Since I want to have per-furnace recipe managers (e.g. for stuff like blast furnace vs regular furnace etc), a singleton isn't really an option.
2020-06-03 18:59:59 +01:00
b58c425189
Merge branch 'next-minor'
...
# Conflicts:
# changelogs/3.12.md
# resources/vanilla
# src/VersionInfo.php
2020-06-03 13:11:30 +01:00
0af5dbc89b
Merge commit '3be83e09f'
2020-06-03 13:09:04 +01:00
bce7cdd461
Merge commit 'f24be2b05'
...
# Conflicts:
# resources/vanilla
# src/pocketmine/Player.php
# src/pocketmine/block/SnowLayer.php
2020-06-03 13:08:48 +01:00
a5e08e9a71
Merge commit '92cffc00d'
2020-06-03 13:06:02 +01:00
c864647cd1
Merge branch 'stable' into next-minor
2020-06-03 13:04:08 +01:00
d2d4780653
Merge commit 'a3f633862'
...
# Conflicts:
# resources/vanilla
# src/pocketmine/Player.php
2020-06-03 13:03:23 +01:00
7d7c16b764
Merge commit '21aef97ba'
...
# Conflicts:
# resources/vanilla
# src/pocketmine/Player.php
2020-06-03 13:00:31 +01:00
892fa1598d
Merge commit 'ed0d1978a'
...
# Conflicts:
# resources/vanilla
# src/pocketmine/item/WritableBook.php
2020-06-03 12:58:57 +01:00
01cbd27485
Merge commit 'd64561b0b'
...
# Conflicts:
# resources/vanilla
# src/pocketmine/Player.php
2020-06-03 12:57:20 +01:00
b2f182b196
Merge commit 'd234d3e45'
...
# Conflicts:
# resources/vanilla
# src/pocketmine/command/defaults/ParticleCommand.php
2020-06-03 12:55:46 +01:00
90b53149d7
Merge commit '5056754ce'
...
# Conflicts:
# resources/vanilla
# src/pocketmine/Player.php
2020-06-03 12:54:00 +01:00
5b0964cec8
Merge commit '2dc3cf816'
...
# Conflicts:
# resources/vanilla
2020-06-03 12:52:42 +01:00
2bf73c7a4a
Merge commit '8c5a81cf5'
...
# Conflicts:
# resources/vanilla
2020-06-03 12:50:09 +01:00
e7d712aeb6
Merge commit '2b58f2baf'
...
# Conflicts:
# resources/vanilla
# src/entity/object/FallingBlock.php
2020-06-03 12:47:44 +01:00
c72937a4af
Merge commit '5dadf1237'
...
# Conflicts:
# resources/vanilla
2020-06-03 12:46:06 +01:00
544bcb8f12
Merge commit '0d4e473bd'
...
# Conflicts:
# resources/vanilla
# src/pocketmine/Player.php
2020-06-03 12:45:28 +01:00
087b31e7f0
Merge commit '11cedc401'
2020-06-03 12:44:05 +01:00
e250553670
Merge commit '3f2455f09'
...
# Conflicts:
# resources/vanilla
# src/pocketmine/block/SnowLayer.php
2020-06-03 12:43:36 +01:00
d7ae86b30c
Merge commit '9d26a224a'
...
# Conflicts:
# resources/vanilla
# src/pocketmine/block/DoublePlant.php
2020-06-03 12:35:59 +01:00
9e98666f57
Merge commit 'c4ad39046'
...
# Conflicts:
# resources/vanilla
2020-06-03 12:31:42 +01:00
899da1b7f7
Merge commit '42e14f749'
...
# Conflicts:
# resources/vanilla
# src/pocketmine/Player.php
# src/pocketmine/item/Bow.php
# src/world/World.php
2020-06-03 12:31:17 +01:00
92ed9e6125
3.12.6 is next
2020-06-03 10:59:33 +01:00
c32026333f
Release 3.12.5
3.12.5
2020-06-03 10:59:33 +01:00
915224c8e5
Living: fix being unable to die in the void
2020-06-02 23:18:40 +01:00
734bc6c4a7
3.12.5 is next
2020-06-02 18:40:33 +01:00
d36b24c518
Release 3.12.4
3.12.4
2020-06-02 18:40:33 +01:00
d554d8060b
fixed absorption hearts not being consumed, closes #3546
...
this was caused by a bad fix for switching. we can't consider zero-damage attacks as cancelled because zero-damage might have been the result of things like consuming absorption hearts, so the aftereffects need to be processed even when the net damage is zero.
2020-06-02 10:09:18 +01:00
b48243fd09
Bump phpstan/phpstan-phpunit from 0.12.10 to 0.12.11 ( #3547 )
2020-06-01 18:05:51 +00:00
5c63e06b0f
piece together a changelog for release
2020-06-01 14:57:27 +01:00
3be83e09f2
Revert BC-breaking backport from b38c81c96
...
this can't be applied to a minor version because it places additional requirements on the Inventory contract.
2020-06-01 13:51:36 +01:00
f24be2b055
Merge branch 'stable' into next-minor
...
# Conflicts:
# src/pocketmine/Player.php
# src/pocketmine/block/SnowLayer.php
2020-06-01 13:42:59 +01:00
92cffc00d0
3.12.4 is next
2020-06-01 13:18:28 +01:00
e87e974323
Release 3.12.3
3.12.3
2020-06-01 13:18:28 +01:00
a3f6338626
Player: fixed internal server error when using insert-before on a client-sided book page
2020-06-01 12:59:18 +01:00
21aef97ba7
Player: fixed swapping book pages that only exist client-side, closes #3322
2020-06-01 12:50:39 +01:00
ed0d1978aa
WritableBook: fixed thrown exception when asking for a page that doesn't exist (it's allowed to return null for a reason ...)
2020-06-01 12:46:41 +01:00
d64561b0b1
Fixed internal server error when deleting book pages that only exist client side
2020-06-01 12:39:17 +01:00
d234d3e45e
ParticleCommand: added mobflame, closes #3102
2020-05-31 20:28:57 +01:00
5056754cea
NetworkBinaryStream: do not round vectors directly on reading
...
fixes #3199
2020-05-31 20:17:42 +01:00
2dc3cf8162
InventoryTransaction: sync inventories before throwing validation exception to caller
...
fixes #3226
really the transaction shouldn't be handling inventory sync at all, but that's a job for another commit.
2020-05-31 20:10:29 +01:00
8c5a81cf5c
Living: improved projectile knockback
...
this isn't pretty, but it works. I have a nicer idea how to do this on PM4, but it's going to involve BC breaks (as usual).
closes #3382
2020-05-31 20:04:12 +01:00
2b58f2bafd
FallingBlock: remove superfluous transparent check, closes #3339
2020-05-31 19:54:47 +01:00
5dadf12374
Living: fixed cooldown damage logic, closes #2939
2020-05-31 19:46:51 +01:00
0d4e473bdd
Reduce ResourcePackChunkData chunk size to 128 KB
...
while this is slightly less bandwidth efficient (1 in 92 datagrams not full vs 1 in 733), this is significantly less memory-hard.
I made this decision looking at the memory pressures that 1MB chunks exert - especially on RakNet. Client-side, these resource pack chunks all hang around in RakNet memory until the whole thing is received, and it's a lot more costly to receive 733 datagrams than it is to receive 92, especially since it's much more likely that some of the 733 will disappear along the way.
If, for example, the first couple of hundred KB split parts arrived out of 1MB, and then one of the parts got lost, all the already-received parts would hang around in memory not getting processed. With smaller chunks this is much less of a problem.
I explored taking the chunk size all the way down to 1KB to reduce the bandwidth waste caused by split packets (split headers), but this made resource pack downloading unbearably slow, so it wasn't acceptable.
2020-05-31 19:29:26 +01:00
11cedc4011
Player: added a constant for resource pack chunk sending size
2020-05-31 19:23:21 +01:00
bbf3f4c476
Merge branch 'next-minor'
2020-05-31 18:40:19 +01:00
3f2455f090
SnowLayer: fixed layer stacking, closes #2775
2020-05-31 17:38:24 +01:00
9d26a224a2
DoublePlant: add flammability info, closes #2465
2020-05-31 17:04:50 +01:00