13650 Commits

Author SHA1 Message Date
Dylan K. Taylor
2a4909d328
Fixed missing handling for some ContainerUIIds
SMITHING_TABLE_TEMPLATE is new in 1.20
HORSE_EQUIP was always present, but somehow got overlooked when building up that big ugly switch table
2023-07-24 16:44:01 +01:00
IvanCraft623
d65d8c3356
Fix typo in documentation of ChunkSelector:selectChunks() (#5924) 2023-07-21 10:34:34 +01:00
Dylan K. Taylor
9b43ddecbd
Drop usages of Process:kill() with subprocesses parameter
we don't need this any more with console reader improvements, and this was not working correctly anyway.

closes #5234
2023-07-20 17:10:39 +01:00
Dylan K. Taylor
4bdd6410db
Fire: fixed support requirements
closes #5599
2023-07-20 17:00:32 +01:00
Dylan K. Taylor
6ea7fd7d6b
ShulkerBox: do not offer support for other blocks 2023-07-20 16:36:25 +01:00
Dylan K. Taylor
5e7f18cbcf
StandardEntityEventBroadcaster: suppress client-side emote messages
if users want these, they can broadcast them themselves using Server::broadcastMessage(), which will also record the message in the server log like chat

closes #5669
2023-07-20 16:20:34 +01:00
Dylan K. Taylor
cff4a8d2bc
4.23.3 is next 2023-07-18 22:14:24 +01:00
Dylan K. Taylor
20b7e8d702
Release 4.23.2 2023-07-18 22:14:23 +01:00
Dylan K. Taylor
86bd6777a3
4.23.2 is next 2023-07-14 13:06:26 +01:00
Dylan K. Taylor
935df62006
Release 4.23.1 2023-07-14 13:06:26 +01:00
Dylan K. Taylor
2709dd359c
ProcessLoginTask: fixed backport errors 2023-07-14 12:37:50 +01:00
Dylan K. Taylor
4e646d19a4
Harden login EC key validation 2023-07-14 11:55:47 +01:00
Dylan K. Taylor
7e0b5cf73d
4.23.1 is next 2023-07-12 13:44:16 +01:00
Dylan K. Taylor
e903da8998
Release 4.23.0 2023-07-12 13:44:16 +01:00
Dylan K. Taylor
f2193d1ba7
1.20.10 2023-07-12 13:23:47 +01:00
Dylan K. Taylor
cfd9950b02
4.22.4 is next 2023-07-11 16:01:42 +01:00
Dylan K. Taylor
8ebcdb452d
Release 4.22.3 2023-07-11 16:01:38 +01:00
Dylan K. Taylor
0c250a2ef0
InGamePacketHandler: fixed inconsistent handling of invalid data in BlockActorDataPacket 2023-07-11 12:53:29 +01:00
Dylan K. Taylor
70dd9c7371
AsyncTask: fixed reentrancy bug tested by f8e6f036affaaca135103556bd2c7f15a943d29b 2023-07-01 13:27:32 +01:00
Dylan K. Taylor
bbabccfc89
4.22.3 is next 2023-07-01 12:04:59 +01:00
Dylan K. Taylor
1698eac6dc
Release 4.22.2 2023-07-01 12:04:59 +01:00
Dylan K. Taylor
249ef9c534
ProcessLoginTask: remove old key expiry
since we don't have a hard date for this, and I've already made one wrong educated guess, I'd rather not have another massive outage.
A security update will have to be made to remove the old key as soon as the new one is rolled. This is not ideal, but it's the least disruptive option.
2023-07-01 11:41:04 +01:00
Dylan K. Taylor
f4dab17a1b
Added deprecation notices 2023-07-01 10:29:14 +01:00
Dylan K. Taylor
dfd70615ad
4.22.2 is next 2023-06-09 01:33:35 +01:00
Dylan K. Taylor
ee903cad1f
Release 4.22.1 2023-06-09 01:33:35 +01:00
Dylan K. Taylor
9a04481bec
Entity: broadcast teleports as regular movements
fixes #5810

probably fixes #4986

#5810 was caused by the workaround for #4394, which broke in 1.20 for reasons I'm still unclear on.

As FLAG_TELEPORT does not work at all for non-player entities, and causes bugs with player entities, sending the teleport movement without the flag is the least buggy way to solve all of these issues. Having the client interpolate teleport movements is not ideal, but there doesn't seem to be a way to reliably prevent it without causing even more bugs, so this will have to do.
2023-06-09 01:24:57 +01:00
Dylan K. Taylor
2220dc557e
4.22.1 is next 2023-06-07 21:23:57 +01:00
Dylan K. Taylor
b5fc31a781
Release 4.22.0 2023-06-07 21:23:54 +01:00
Dylan K. Taylor
441f1f534f
Random change PHP-CS-Fixer wanted to make 2023-06-07 20:59:32 +01:00
Dylan K. Taylor
2538880408
1.20.0 2023-06-07 20:56:59 +01:00
Dylan K. Taylor
c715efb18e
Jukebox: fix music not stopping when destroyed by explosion
closes #5794
2023-06-03 21:22:26 +01:00
Muqsit Rayyan
3948dc4f75
Remove calls to ReflectionProperty::setAccessible() (#5783)
This is a no-op in PHP 8.1 and up.
2023-05-31 14:03:14 +01:00
Dylan K. Taylor
d343db8750
4.21.2 is next 2023-05-30 14:42:59 +01:00
Dylan K. Taylor
f2df702c67
Release 4.21.1 2023-05-30 14:42:59 +01:00
Dylan K. Taylor
6186fc0bfe
4.21.1 is next 2023-05-17 16:45:35 +01:00
Dylan K. Taylor
ef40934d24
Release 4.21.0 2023-05-17 16:45:32 +01:00
Dylan K. Taylor
c7dff9ea40
bootstrap: remove ext-parallel bootstrapping code
I have no intention of using parallel, so this code is not necessary.
2023-05-17 14:11:43 +01:00
Dylan K. Taylor
043350753b
Drop PHP 8.0, 8.1 is now minimum version 2023-05-17 13:53:57 +01:00
Dylan K. Taylor
5a0cde49cc
AsyncPool: do not double-check progress updates on finished tasks
checkProgressUpdates is called directly before onCompletion, so we only need to call it again if the task isn't finished yet.
2023-05-16 23:37:58 +01:00
Dylan K. Taylor
008a022ec1
Players now have finite resources in spectator mode
this seems like the logical solution for the block picking issues.
2023-05-16 23:02:33 +01:00
Dylan K. Taylor
5c85a7c306
Merge remote-tracking branch 'origin/stable' into minor-next 2023-05-16 22:54:53 +01:00
Dylan K. Taylor
599c4284f5
Introduce 10 KB threshold for async compression
due to the extremely large performance cost of instantiating AsyncTasks, it's usually not worth bothering with async compression except for very large packets.
While this large overhead can be significantly reduced by using specialized threads, it's early days in the testing stages for such improvements, and for now, we still have this to deal with.

Since async compression is always used prior to player spawn, this change may slightly improve the performance of the pre-join stage of the game.
2023-05-16 22:54:06 +01:00
Dylan K. Taylor
9499e2e595
always the CS... 2023-05-16 14:22:03 +01:00
Dylan K. Taylor
a4fea1444a
Remove validateCallableSignature() calls from network hot paths
we rely on phpstan for validation of this internally, and plugins shouldn't be calling these methods anyway.
this significantly reduces the overhead of CompressBatchPromise.
2023-05-16 14:21:32 +01:00
Dylan K. Taylor
d317347a9b
WorldTimings: remove TODO
I tried this, and it didn't really provide any information that the tree table didn't already show.
2023-05-08 16:35:30 +01:00
Dylan K. Taylor
077fac84bf
Added aggregate timers for all world timings
this allows timings list view to display totals for these sections. It does make the tree view a bit more annoying in some cases though.
2023-05-08 16:27:46 +01:00
Dylan K. Taylor
fdb3a5b121
Fixed incorrect implementation of peak timings 2023-05-07 18:29:37 +01:00
Dylan K. Taylor
e3bc36ab5b
Merge branch 'stable' into minor-next 2023-05-06 18:26:47 +01:00
Dylan K. Taylor
283ff28aa9
4.20.5 is next 2023-05-06 18:20:19 +01:00
Dylan K. Taylor
c3ceeeace7
Release 4.20.4 2023-05-06 18:20:18 +01:00