Leo Lee
eb80515e99
Fixed incorrect parameter checking in BlockFactory::get() ( #4476 )
2021-09-24 15:47:11 +01:00
Dylan K. Taylor
1cb540387c
4.0.0-BETA4 is next
2021-09-23 21:51:36 +01:00
Dylan K. Taylor
9bc07a9cc0
Release 4.0.0-BETA3
4.0.0-BETA3
2021-09-23 21:51:23 +01:00
Dylan K. Taylor
5f1e66478b
changelog: mention UPnP API changes
2021-09-22 23:12:56 +01:00
Dylan K. Taylor
36b8217e68
Updated to RakLib 0.14.0
2021-09-22 23:05:24 +01:00
Dylan K. Taylor
d455188d03
3.23.2 is next
2021-09-22 01:00:50 +01:00
Dylan K. Taylor
14fba36636
Release 3.23.1
3.23.1
2021-09-22 01:00:50 +01:00
Dylan K. Taylor
43ac3fbf3e
actions: use newer PHP versions
2021-09-22 00:51:06 +01:00
Dylan K. Taylor
352162a6e6
Fixed PHP 7.4 build
2021-09-22 00:50:00 +01:00
Dylan K. Taylor
b3601c9390
Regenerate PHPStan baselines
2021-09-22 00:45:07 +01:00
Dylan K. Taylor
817fec9e3d
EducationSettingsPacket: safeguard against purity issue reported by PHPStan
...
while annoying, PHPStan is right to complain about this, because putBool() is impure, meaning that these fields could have been mutated in the call.
We know they didn't, but PHPStan doesn't, and we can't mark the method as pure because .. well .. it isn't.
2021-09-22 00:44:52 +01:00
Dylan K. Taylor
3813caf5ec
Updated BedrockProtocol and BedrockData for 1.17.30
2021-09-22 00:36:21 +01:00
Dylan K. Taylor
e472c117e0
Merge branch 'stable'
2021-09-22 00:33:49 +01:00
Dylan K. Taylor
ceeef7c729
3.23.1 is next
2021-09-22 00:29:24 +01:00
Dylan K. Taylor
7f1b2a0ee5
Release 3.23.0
3.23.0
2021-09-22 00:29:24 +01:00
Dylan K. Taylor
27324a3aeb
Protocol changes for 1.17.30
2021-09-22 00:26:39 +01:00
Dylan K. Taylor
133398c69a
changelog: add newline
...
[ci skip]
2021-09-19 22:57:22 +01:00
Dylan K. Taylor
52b6952771
changelog: baseline for 4.0.0-BETA3
...
[ci skip]
2021-09-19 22:55:48 +01:00
Dylan K. Taylor
1ce388ca0b
Liquid: add getMinAdjacentSourcesToFormSource(), remove circular dependency between Liquid and Water
...
this unpleasantly-named method allows controlling the source-forming behaviour of liquids by changing the required number of adjacent sources that must be present in order for a new source to form. This allows stuff like non-infinite water.
2021-09-19 15:59:16 +01:00
Dylan K. Taylor
971cbe3929
Liquid: restore mistakenly removed check
2021-09-19 15:42:17 +01:00
Dylan K. Taylor
18de35ffc7
Liquid: use facing instead of hardcoded integers
2021-09-19 15:37:03 +01:00
Dylan K. Taylor
576c33ee8f
Liquid: make flow vector calculation less cancerous to read
2021-09-18 23:04:28 +01:00
Dylan K. Taylor
6b2ab15ea1
MinimumCostFlowCalculator: fix bug caused by recent change
2021-09-18 16:20:01 +01:00
Dylan K. Taylor
027f7e249b
MinimumCostFlowCalculator: Use match statements where possible
...
coincidentally, this also fixes the build.
2021-09-18 16:17:08 +01:00
Dylan K. Taylor
a9c4238c59
Liquid: Extract a big chunk of code to MinimumCostFlowCalculator
2021-09-18 16:13:38 +01:00
Dylan K. Taylor
34e1b244fa
Liquid: split canFlowInto() over multiple lines
...
the original version is very hard to read.
2021-09-18 15:53:54 +01:00
Dylan K. Taylor
b047100719
Liquid: improve minimum cost calculation handling
2021-09-18 15:52:16 +01:00
Dylan K. Taylor
1b5071e074
Liquid: make some code slightly less cancerous to read
2021-09-18 15:28:45 +01:00
Dylan K. Taylor
3836a57ba6
Player: add getPlayerInfo(), closes #4450
2021-09-17 22:17:36 +01:00
Dylan K. Taylor
87dc763d92
actions: test that generated code is consistent
2021-09-17 16:46:27 +01:00
Dylan K. Taylor
43b2e1a0e8
tools/convert-world: improve error messages and exit codes
...
die with a string exits with zero? wtf?
2021-09-16 15:28:20 +01:00
Dylan K. Taylor
05e2bef5ce
ItemFactory: fix crash when checking if blockitem IDs are registered
2021-09-16 14:53:19 +01:00
Dylan K. Taylor
6cf181b579
LevelDB: Use arrow functions for better readability
2021-09-16 14:44:56 +01:00
Dylan K. Taylor
9490b78640
Move packet handler default implementations to BedrockProtocol
...
in many cases this will now require zero changes to PM at all to be compatible with a new protocol version.
2021-09-15 22:27:49 +01:00
Mini S
59f3622f69
changelog: mention PluginLoadOrder changes ( #4458 )
...
[ci skip]
2021-09-15 17:18:53 +01:00
Dylan K. Taylor
a1c82da2f2
Liquid: remove useless continue
2021-09-12 16:03:52 +01:00
Dylan K. Taylor
84170ad3e1
Furnace: fixed deactivation after being reloaded from disk (regression from PM3)
...
closes #4430
2021-09-12 15:49:33 +01:00
Dylan K. Taylor
ace8841d5d
Explosion: allow the normal blockupdate mechanism to deal with explosions
...
in PM4, all blockupdates are buffered, so the old 7x performance penalty that used to be incurred by doing this is no longer a problem.
Also, this actually reduces the overhead of explosions themselves by moving the onNearbyBlockChange() burden off explodeB() and into the main world ticking function.
2021-09-12 15:45:02 +01:00
Dylan K. Taylor
5ddd94b7e8
Remove redundant World->isChunkGenerated() calls
...
isChunkGenerated() merely checks if the chunk can be loaded from disk, if it's not in the runtime cache already.
This is pointless in all of these cases, because the check is prefaced by an isChunkLoaded() check, which already limits the possibility anyway. If the chunk is not generated, it'll also be considered not loaded.
2021-09-12 15:21:09 +01:00
Dylan K. Taylor
f0fa561c2f
World: use arrow functions in useBreakOn()
2021-09-12 15:16:55 +01:00
Dylan K. Taylor
33a7c05425
Updated PHPStan baselines
2021-09-11 23:12:43 +01:00
Dylan K. Taylor
273aa8ab42
Drop useless usage translation strings for commands with no parameters
2021-09-11 17:06:26 +01:00
Dylan K. Taylor
3b7580688c
Stop auto-translating string descriptions/usages for commands
...
Require usage of Translatable for translations.
2021-09-11 16:46:40 +01:00
Dylan K. Taylor
b65e3c69b1
4.0.0-BETA3 is next
2021-09-10 17:18:32 +01:00
Dylan K. Taylor
26e3280fea
Release 4.0.0-BETA2
4.0.0-BETA2
2021-09-10 17:18:31 +01:00
Dylan K. Taylor
fa45d1cdb5
Merge branch 'stable'
2021-09-10 17:13:51 +01:00
Dylan K. Taylor
33b5da3749
3.22.6 is next
2021-09-10 17:09:51 +01:00
Dylan K. Taylor
40e88f1686
Release 3.22.5
3.22.5
2021-09-10 17:09:50 +01:00
Dylan K. Taylor
c995c2de37
updated changelog
...
[ci skip]
2021-09-10 17:04:35 +01:00
Dylan K. Taylor
7701e1ff98
InGamePacketHandler: fix regression in movement handling since 82c8fa696a2e8609d8ae086c52f96abe7c7705b6
...
fixes #4291
fixes #4398
2021-09-10 16:52:46 +01:00