Commit Graph

18495 Commits

Author SHA1 Message Date
Dylan K. Taylor
6963e9cf60 Merge branch 'minor-next' into major-next 2025-10-03 19:25:45 +01:00
Dylan K. Taylor
1c483288ca Merge branch 'minor-next' of github.com:pmmp/PocketMine-MP into minor-next 2025-10-03 19:25:36 +01:00
Dylan K. Taylor
3a262fafc3 Merge branch 'minor-next' into major-next 2025-10-03 19:25:00 +01:00
Dylan K. Taylor
c09e07c44a Merge branch 'stable' of github.com:pmmp/PocketMine-MP into minor-next 2025-10-03 19:22:14 +01:00
pmmp-admin-bot[bot]
5a331f8a8f Merge 'stable' into 'minor-next'
Automatic merge performed by: https://github.com/pmmp/RestrictedActions/actions/runs/18230424375
2025-10-03 18:21:53 +00:00
pmmp-admin-bot[bot]
d057077084 5.35.1 is next
Commit created by: https://github.com/pmmp/RestrictedActions/actions/runs/18226149740
2025-10-03 15:10:28 +00:00
Dylan T.
bc17ee7489 Bedrock 1.21.111 (#6824)
Co-authored-by: Dries C <15795262+dries-c@users.noreply.github.com>
5.35.0
2025-10-03 16:09:26 +01:00
pmmp-admin-bot[bot]
bc70229db5 Merge 'minor-next' into 'major-next'
Automatic merge performed by: https://github.com/pmmp/RestrictedActions/actions/runs/18205640560
2025-10-02 21:05:59 +00:00
pmmp-admin-bot[bot]
b6705bb419 Merge 'stable' into 'minor-next'
Automatic merge performed by: https://github.com/pmmp/RestrictedActions/actions/runs/18205640560
2025-10-02 21:05:58 +00:00
dependabot[bot]
a83182329e Bump the github-actions group with 4 updates (#6822) 2025-10-02 00:38:48 +00:00
pmmp-admin-bot[bot]
d1b48cbb9d Merge 'minor-next' into 'major-next'
Automatic merge performed by: https://github.com/pmmp/RestrictedActions/actions/runs/18079789743
2025-09-28 21:05:34 +00:00
Dylan K. Taylor
37cdaa281a Deal with a bunch of easy BC breaks 2025-09-28 15:00:55 +01:00
Dylan T.
1c5fef63d2 Fix merge error (again) 2025-09-28 02:24:53 +01:00
Dylan K. Taylor
8d4da4a3c8 Merge branch 'minor-next' into major-next 2025-09-28 00:27:40 +01:00
pmmp-admin-bot[bot]
b21891cbd7 Merge 'stable' into 'minor-next'
Automatic merge performed by: https://github.com/pmmp/RestrictedActions/actions/runs/18064897730
2025-09-27 21:05:31 +00:00
Dylan T.
7ec548774c Limit SubChunk to 2 layers, avoid arrays (#6747)
Initially proposed in #6575

This shows about a 10% performance improvement to both SubChunk->getBlockStateId() and SubChunk->setBlockStateId(), so definitely worth doing. It does result in increased complexity, but for a double digits performance gain, I think it's worth it.

Closes #6575
2025-09-27 18:51:15 +01:00
Sunch
b8b7580153 Fixed timezone error caused by WMIC deprecation in new Windows (#6721)
Timezone information is now fetched from the registry instead of using WMIC
2025-09-27 17:10:19 +01:00
Dylan K. Taylor
d11cf1e592 ResourcePacksPacketHandler: load all version-layered chemistry packs
this fixes rendering of underwater TNT and possibly other chemistry blocks.

There doesn't seem to be a shortcut for this, and BDS also appears not to account for
this requirement, which is why underwater TNT also doesn't have the right texture in BDS.

fixes #6494
2025-09-27 14:43:48 +01:00
IvanCraft623
93653a64f3 Implement Lingering potion & Area Effect Cloud (#5276)
Co-authored-by: Dylan T. <dktapps@pmmp.io>
2025-09-27 02:23:45 +01:00
pmmp-admin-bot[bot]
50a7859c27 5.34.2 is next
Commit created by: https://github.com/pmmp/RestrictedActions/actions/runs/18050570054
2025-09-26 22:15:02 +00:00
Dylan T.
ff093f0565 R5.34.1 (#6817) 5.34.1 2025-09-26 23:14:07 +01:00
Dylan K. Taylor
001330e42e shut up bruv 2025-09-26 23:09:59 +01:00
Dylan K. Taylor
0abf1383ac Private internal function 2025-09-26 23:05:22 +01:00
Dylan K. Taylor
1c92d66ca4 LoginPacketHandler: stop bailing on unexpected JSON properties
the intent of this was noble (to make sure nothing was missed), but in practice throwing
errors on this stuff is just a pain in the ass. We don't actually need to care if the
properties are not used, since it doesn't affect the decoding (like it would for
a missing packet field), so the only reasons to complain are for BedrockProtocol to
have a complete picture of the protocol, and to make sure we're not discarding useful
information.

Log a warning in these cases instead, which should be noticed by developers without
being an unnecessary problem for users.

closes #6816
2025-09-26 23:04:23 +01:00
pmmp-admin-bot[bot]
7aaf94cd89 Merge 'stable' into 'minor-next'
Automatic merge performed by: https://github.com/pmmp/RestrictedActions/actions/runs/18049331901
2025-09-26 21:05:49 +00:00
Dylan K. Taylor
d18b393ccb Avoid unnecessary data loss on invalid items in inventories
we were already doing this in some places but not others. So inconsistent...
while this doesn't fix the root cause of #5128, it should nonetheless fix #5128
as well as not destroying player data on unknown items, which was a frequent
annoyance when switching between branches during PR testing.
2025-09-26 20:04:51 +01:00
Dylan T.
d6e05c90fe EndCrystal: defer explosion until next tick update (#6801) 2025-09-26 19:18:32 +01:00
Dylan K. Taylor
9eadf59bf5 Merge branch 'major-next' of github.com:pmmp/PocketMine-MP into major-next 2025-09-26 15:56:04 +01:00
Dylan K. Taylor
c863c737f4 Merge branch 'minor-next' into major-next 2025-09-26 15:55:55 +01:00
pmmp-admin-bot[bot]
4546ea6771 5.34.1 is next
Commit created by: https://github.com/pmmp/RestrictedActions/actions/runs/18041294757
2025-09-26 14:53:53 +00:00
Dylan T.
3b363cb86d Merge pull request #6813 from pmmp/r5.34.0
R5.34.0
5.34.0
2025-09-26 15:52:32 +01:00
Dylan K. Taylor
236fa062f0 Prepare 5.34.0 release 2025-09-26 15:48:55 +01:00
Dylan K. Taylor
5ca8e15027 tidy 2025-09-25 18:18:33 +01:00
Dylan T.
3336cda34a First pass ext-encoding support (high-level network I/O and read-only data) (#6799)
This implements ext-encoding only in high-level network I/O (only BedrockProtocol and stuff implemented in PM) and read-only data.
This should net a significant performance advantage while being low-risk in the case of critical issues with the extension. Any problems affecting protocol won't do permanent damage while being fairly easy to debug.

Next passes will integrate ext-encoding versions of RakLib, RakLibIpc and NBT, as well as generally using ext-encoding for writeable data.
2025-09-25 17:32:38 +01:00
pmmp-admin-bot[bot]
87f1bd49de Merge 'minor-next' into 'major-next'
Automatic merge performed by: https://github.com/pmmp/RestrictedActions/actions/runs/17989633681
2025-09-24 21:06:15 +00:00
pmmp-admin-bot[bot]
6fede8a67f Merge 'stable' into 'minor-next'
Automatic merge performed by: https://github.com/pmmp/RestrictedActions/actions/runs/17989633681
2025-09-24 21:06:13 +00:00
dependabot[bot]
65cdf68f59 Bump build/php from 627f8d6 to 8fe1873 (#6812)
Bumps [build/php](https://github.com/pmmp/php-build-scripts) from `627f8d6` to `8fe1873`.
- [Release notes](https://github.com/pmmp/php-build-scripts/releases)
- [Commits](627f8d670c...8fe187335f)

---
updated-dependencies:
- dependency-name: build/php
  dependency-version: 8fe187335f666b8fb251927940f66ef372bfd3a6
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-09-24 13:20:37 +01:00
pmmp-admin-bot[bot]
c088dedbc0 Merge 'minor-next' into 'major-next'
Automatic merge performed by: https://github.com/pmmp/RestrictedActions/actions/runs/17959045221
2025-09-23 21:05:49 +00:00
pmmp-admin-bot[bot]
8b70456669 Merge 'stable' into 'minor-next'
Automatic merge performed by: https://github.com/pmmp/RestrictedActions/actions/runs/17959045221
2025-09-23 21:05:48 +00:00
Dylan K. Taylor
45698e4bb9 SendUsageTask: fixed php_uname() call with invalid mode
this now throws in PHP 8.4. Previously it returned the same as php_uname(a).
Presumably the intent was to capture the CPU arch and not a repeat of the machine field.

closes #6811
2025-09-23 13:07:47 +01:00
pmmp-admin-bot[bot]
ee8c1356f6 Merge 'minor-next' into 'major-next'
Automatic merge performed by: https://github.com/pmmp/RestrictedActions/actions/runs/17898936142
2025-09-21 21:05:37 +00:00
Dylan T.
31f4b496a1 Implement new OpenID authentication system (#6798)
Co-authored-by: Dries C <15795262+dries-c@users.noreply.github.com>
2025-09-20 22:40:38 +01:00
Dylan K. Taylor
352cd4f9fd Merge branch 'minor-next' of github.com:pmmp/PocketMine-MP into major-next 2025-09-20 18:09:32 +01:00
IvanCraft623
ebeee29a88 Implement firework rocket & firework star (#5455)
Co-authored-by: Dylan T <dktapps@pmmp.io>
Co-authored-by: ipad54 <63200545+ipad54@users.noreply.github.com>
2025-09-20 18:04:05 +01:00
Dylan K. Taylor
dd9cbb74f0 Added NeverSavedWithChunkEntity interface
closes #6809

turns out we can actually use this for players too.
we need this also for fireworks and probably lightning in the future.
2025-09-20 00:01:16 +01:00
Dylan K. Taylor
1dea350261 shut 2025-09-19 23:43:04 +01:00
Dylan K. Taylor
bbcc0c08b5 Updated NBT library to get new ListTag handling features 2025-09-19 23:40:04 +01:00
Dylan K. Taylor
25dae2f5ae Fix merge error 2025-09-18 22:17:47 +01:00
pmmp-admin-bot[bot]
1ec8754979 Merge 'minor-next' into 'major-next'
Automatic merge performed by: https://github.com/pmmp/RestrictedActions/actions/runs/17841374387
2025-09-18 21:06:04 +00:00
IvanCraft623
6d2d23a210 Implement Trident (#4547)
Co-authored-by: Dylan T. <dktapps@pmmp.io>
2025-09-18 19:00:55 +01:00