Commit Graph

14760 Commits

Author SHA1 Message Date
Dylan K. Taylor
566e4a4196 VanillaItems generator now reverse-lookups ID constants instead of baking numeric IDs into the code
this makes it easier to spot errors.
there's nothing we can do about the metadata values, but IDs can be quite easily constified.
there might be some weird artifacts where constants are aliased (e.g. appleenchanted) , but this is inarguably better than baking numeric IDs.
2022-02-26 16:10:34 +00:00
Dylan K. Taylor
3ed336fa0e Merge branch 'stable' into next-minor 2022-02-19 20:16:49 +00:00
Dylan K. Taylor
b26b1cd32f Fixed swimming hitbox glitch
fixes #4815
relates to Sandertv/gophertunnel#88
2022-02-19 20:14:17 +00:00
Dylan K. Taylor
54db842d16 Merge branch 'stable' of github.com:pmmp/PocketMine-MP into stable 2022-02-19 19:26:39 +00:00
Dylan K. Taylor
31a0085efb Update setup-php-action to pmmp/setup-php-action@aa636a4fe0 2022-02-19 19:26:30 +00:00
Dylan K. Taylor
715355e148 Update GitHub Actions to PHP 8.0.16. 2022-02-19 19:20:08 +00:00
Muqsit Rayyan
55dfacea8d Item: Improve performance of nbtSerialize() (#4831)
Replace hasNamedTag() with $nbt->count() > 0
This avoids a duplicate indirect call to Item::serializeCompoundTag() method call when serializing items with namedtags.
2022-02-16 00:32:12 +00:00
mmm545
55c744cc00 Added missing changes to the 4.0 changelog (#4820) 2022-02-11 17:39:45 +00:00
Dylan K. Taylor
7e903fde5b Fixed multiple players being able to sleep in the same bed 2022-02-10 00:57:43 +00:00
Dylan K. Taylor
d702113fb5 Merge branch 'stable' into next-minor 2022-02-08 22:23:00 +00:00
Dylan K. Taylor
4f44a067b0 4.2.1 is next 2022-02-08 20:14:19 +00:00
Dylan K. Taylor
44818e6d14 Release 4.2.0 4.2.0 2022-02-08 20:14:19 +00:00
Dylan K. Taylor
325131dd30 Protocol changes for 1.18.10 2022-02-08 20:08:15 +00:00
Dylan K. Taylor
38eeda6e8b Merge branch 'stable' into next-minor 2022-02-07 19:32:07 +00:00
Dylan K. Taylor
1eb59fb9b5 4.1.1 is next 2022-02-07 19:22:54 +00:00
Dylan K. Taylor
1c60aa9769 Release 4.1.0 4.1.0 2022-02-07 19:22:53 +00:00
Dylan K. Taylor
735e4cc3bc Merge branch 'staging/4.1' into next-minor 2022-02-07 17:22:42 +00:00
Dylan K. Taylor
e9dd9df0a0 Merge remote-tracking branch 'origin/stable' into staging/4.1 2022-02-07 17:22:18 +00:00
Dylan K. Taylor
032b15efe0 fix BlockFactory consistency check 2022-02-07 15:49:32 +00:00
Dylan K. Taylor
256826d9c7 Fixed uninitialized color fields of stained glass, stained clay and stained hardened glass 2022-02-07 15:39:54 +00:00
Dylan K. Taylor
c273b29dec BambooSapling: fixed wrong bit being used for readiness
closes #4809
2022-02-07 15:38:05 +00:00
Dylan K. Taylor
c19a038d47 LevelDB: Added a whole bunch of constants 2022-02-07 00:54:00 +00:00
Dylan K. Taylor
95bc013e97 Merge branch 'staging/4.1' into next-minor 2022-02-06 23:56:47 +00:00
Dylan K. Taylor
7ddd547190 Merge remote-tracking branch 'origin/stable' into staging/4.1 2022-02-06 23:55:52 +00:00
Shaheryar Sohail
38e34093cf ResourcePackManifest: Stop throwing exceptions on extra properties (#4804)
This code currently throws errors when properties other than the base required ones are added. This can be from resource packs created by "bridge.", where the IDE adds a "generated_with" property to the manifest. This leads to resource packs created by bridge., which are otherwise completely valid, not being loaded.
2022-02-06 23:22:22 +00:00
Dylan K. Taylor
dd1ebb5915 4.0.10 is next 2022-02-05 16:08:23 +00:00
Dylan K. Taylor
df1cdbe921 Release 4.0.9 4.0.9 2022-02-05 16:08:10 +00:00
Dylan K. Taylor
7846ea8acc LevelDB: do not barf on chunk version 8
this covers a wide range from 1.2.13 to 1.8.
2022-02-05 04:18:37 +00:00
Dylan K. Taylor
1dc0d5f96a WorldManager: do not calculate safe spawn if there are no players in the unloaded world 2022-02-04 19:24:51 +00:00
Dylan K. Taylor
712ffb3e31 WorldManager: fixed loading the default world's spawn chunk when unloading the default world
yo dawg
I heard you like loading and unloading
so I put some loading inside your unloading
so you can load while you unload
2022-02-04 19:22:37 +00:00
Andrew1481432
2a4111868c Fixed incorrect doc for EncryptionContext (#4791)
* Fixed incorrect doc for EncryptionContext

* Update src/network/mcpe/encryption/EncryptionContext.php

Co-authored-by: Dylan T <odigiman@gmail.com>
2022-02-02 13:12:33 +00:00
dependabot[bot]
123701ed76 Bump tests/plugins/DevTools from 39510af to e884a4c (#4788)
Bumps [tests/plugins/DevTools](https://github.com/pmmp/DevTools) from `39510af` to `e884a4c`.
- [Release notes](https://github.com/pmmp/DevTools/releases)
- [Commits](39510af5bc...e884a4c234)

---
updated-dependencies:
- dependency-name: tests/plugins/DevTools
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-02-02 00:05:33 +00:00
dependabot[bot]
28dce8783f Bump build/php from bd329db to 30eed13 (#4787)
Bumps [build/php](https://github.com/pmmp/php-build-scripts) from `bd329db` to `30eed13`.
- [Release notes](https://github.com/pmmp/php-build-scripts/releases)
- [Commits](bd329dba08...30eed13faa)

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

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-02-02 00:05:17 +00:00
Dylan T
3781b62d35 Update dependabot.yml 2022-02-01 23:58:49 +00:00
Dylan K. Taylor
859f062267 StringToItemParser: fixed *_concrete_powder giving concrete instead of concrete powder 2022-02-01 23:29:47 +00:00
Dylan K. Taylor
15425d01bc BanEntry: clean up getString() 2022-01-28 21:53:28 +00:00
Dylan K. Taylor
0642364a44 block: added constants for various integer property bounds 2022-01-28 21:27:30 +00:00
Dylan K. Taylor
cfdbfa3d58 Liquid: fixed implicit assumption of 0 == air 2022-01-28 21:07:41 +00:00
Dylan K. Taylor
e9a6c0ba58 Liquid: added missing bounds check for setDecay() 2022-01-28 21:03:44 +00:00
Dylan K. Taylor
466b018319 Merge branch 'staging/4.1' into next-minor 2022-01-28 20:40:20 +00:00
Dylan K. Taylor
d16b6fe61e Merge branch 'stable' into staging/4.1 2022-01-28 20:40:07 +00:00
Dylan K. Taylor
7a75fcda44 Merge branch 'bell-4745' into stable 2022-01-28 20:21:28 +00:00
NTT1906
8d289ab01d Bell: fixed collision boxes
closes #4745
2022-01-28 20:20:41 +00:00
Dylan K. Taylor
363a9689b4 Prepare 4.2.0+dev 2022-01-28 15:10:19 +00:00
Dylan K. Taylor
40c7497efe Updated BedrockProtocol to 7.3.1 2022-01-28 15:06:56 +00:00
Dylan K. Taylor
6ccb1ff114 4.1.0-BETA3 is next 2022-01-27 00:55:09 +00:00
Dylan K. Taylor
1d2593208a Release 4.1.0-BETA2 4.1.0-BETA2 2022-01-27 00:55:02 +00:00
Dylan K. Taylor
a7bdef69e2 Merge remote-tracking branch 'origin/stable' into next-minor 2022-01-27 00:40:34 +00:00
Dylan K. Taylor
d9ea647925 InGamePacketHandler: add a hack for swimming AABB client bug 2022-01-27 00:28:54 +00:00
Covered123
6673289c33 Fixed spectator players being able to drop items (#4775)
closes #4765
2022-01-27 00:03:19 +00:00