Commit Graph

15486 Commits

Author SHA1 Message Date
Dylan K. Taylor
016a80bb70 1.19.0 changes 2022-06-07 17:47:13 +01:00
Dylan K. Taylor
ce66a400a7 Updated composer dependencies 2022-06-07 17:44:06 +01:00
Dylan K. Taylor
50776875bb 4.4.3 is next 2022-06-07 15:54:55 +01:00
Dylan K. Taylor
bcb0e2ff1f Release 4.4.2 4.4.2 2022-06-07 15:54:55 +01:00
Dylan K. Taylor
1584768c80 PaintingMotive: fixed botched painting fix from 0ea3861d43
I knew I should have used a singleton for this ...
2022-06-07 15:48:20 +01:00
Dylan K. Taylor
c29e23b2f1 TypeConverter: port 5fd685e07d to modern-world-support 2022-06-06 22:13:26 +01:00
Dylan K. Taylor
57132204ec ItemTranslator: throw only the expected exception types 2022-06-06 22:09:32 +01:00
Dylan K. Taylor
860fa719b2 ItemTranslator: Accept dynamic BlockStateDictionary instead of using singleton
this will be needed for handling protocol updates in the future
2022-06-06 21:50:43 +01:00
Dylan K. Taylor
c89f7f8e5e TypeConverter: duct tape for crafting recipe block inputs 2022-06-06 21:47:04 +01:00
Dylan K. Taylor
13bb1c26fb ItemTranslator now operates directly using Item, rather than using item ID/meta + ItemFactory
in almost all cases where ItemTranslator is used, an Item already exists, so it doesn't make any sense to make ItemTranslator go and create another item instance just to pass to ‰ItemSerializer.
2022-06-06 20:51:26 +01:00
Dylan K. Taylor
86e7ae341f ItemSerializer: Prohibit serializing recipe input wildcards 2022-06-06 20:48:44 +01:00
Dylan K. Taylor
5fd685e07d TypeConverter: fix crash on arbitrary out-of-bounds item IDs
I don't know why I didn't consider this fix necessary when the item meta bug was originally discovered.
2022-06-06 19:29:44 +01:00
Dylan K. Taylor
93124c79ea Fixed incorrect unknown item filtering logic
this caused recipes with wildcard inputs to not show up at all.
2022-06-06 18:50:40 +01:00
Dylan K. Taylor
08fbf92d8d Filter out recipes containing unknown items 2022-06-06 18:25:14 +01:00
Dylan K. Taylor
f08f82edfd Merge branch 'next-major' into modern-world-support 2022-06-06 17:33:19 +01:00
Dylan K. Taylor
b57f0a2b7e Fixed uninitialized typed properties 2022-06-06 17:23:43 +01:00
Dylan K. Taylor
5c85aa6e58 Eliminate remaining usages of legacy block ID+meta on disk
flower pots loaded from vanilla worlds should now correctly display the plant inside
2022-06-05 21:49:51 +01:00
Dylan K. Taylor
02568bb049 Remove ItemFactory usage from Bucket 2022-06-05 21:19:38 +01:00
Dylan K. Taylor
d2613039ed Replace BlockLegacyIds usages with BlockTypeIds where possible 2022-06-05 21:17:10 +01:00
Dylan K. Taylor
f97c22c341 Merge branch 'next-major' into modern-world-support 2022-06-05 20:48:49 +01:00
Dylan K. Taylor
2a24982bc4 ParticleCommand: standardise usage, don't use legacy block/item IDs 2022-06-05 20:47:54 +01:00
Dylan K. Taylor
6ecfbd1bde FishingRod: make class less useless 2022-06-05 20:20:16 +01:00
Dylan K. Taylor
f2dc9187f0 Use covariant types for InventoryHolder and Container implementors 2022-06-05 18:49:48 +01:00
Dylan K. Taylor
b661097c51 changelog: fix mistake
[ci skip]
2022-06-05 17:59:36 +01:00
Dylan K. Taylor
0771295899 4.4.2 is next 2022-06-05 16:15:38 +01:00
Dylan K. Taylor
702816458c Release 4.4.1 4.4.1 2022-06-05 16:15:34 +01:00
Dylan K. Taylor
e040c2b281 InventoryManager: fixed windows not opening when the server removes windows
closes #5094
2022-06-05 16:03:24 +01:00
Dylan K. Taylor
5a43db1c6d LevelDB: remove stale TODO comment
this has been addressed by folding to state 0 in the legacy blockstate mapper.
2022-06-04 18:47:29 +01:00
Dylan K. Taylor
dab7686656 Merge branch 'next-major' into modern-world-support 2022-06-04 18:43:11 +01:00
Dylan K. Taylor
38cf9fc6e6 Fixed some timings not being initialized in unit tests
previously this error was unnoticed, since uninitialized typeless properties are populated by NULL, but now it causes an error to be thrown.
2022-06-04 18:27:22 +01:00
Dylan K. Taylor
083a35f970 Modernize property type declarations 2022-06-04 18:16:32 +01:00
NoClip
e12e4e8fb8 StatusCommand: fixed output of global memory limit (#5090)
Fix incorrect "Maximum memory (manager)" output
2022-06-04 17:41:55 +01:00
Dylan K. Taylor
d15a90899e build fix 2022-06-04 17:38:45 +01:00
Dylan K. Taylor
237c2866e0 Merge branch 'stable' of github.com:pmmp/PocketMine-MP into stable 2022-06-04 17:35:18 +01:00
Dylan K. Taylor
38d6284671 Use PHP-CS-Fixer to enforce file header presence 2022-06-04 17:34:49 +01:00
Dylan K. Taylor
7355798e77 Exit with error code if the server failed to start
this ensures that external tools such as start.cmd actually see an error if there is one
2022-06-03 18:34:54 +01:00
Dylan K. Taylor
01af70f671 Merge branch 'next-major' into modern-world-support 2022-06-02 20:24:25 +01:00
Dylan K. Taylor
23695fb900 RegionLoader: remove dead static property
[bc break]
2022-06-02 16:55:22 +01:00
Dylan K. Taylor
4b662d65b3 PluginManager: check graylist before doing any loadability checks
fixes #5087
2022-06-02 16:29:22 +01:00
Dylan K. Taylor
2bb99fa677 Modernize Position and Location
[bc break]
2022-06-01 21:21:31 +01:00
Dylan K. Taylor
7b8eeb42f6 Use typed properties in src/entity package
[bc break]
2022-06-01 21:19:02 +01:00
Dylan K. Taylor
2029e3be20 Entity: remove dead code
[bc break]
2022-06-01 21:01:56 +01:00
Dylan K. Taylor
6ee551c5e1 Remove premature optimisation from World::getCollidingEntities()
this is already covered in more fine-grained detail by canCollideWith().

[bc break]
2022-06-01 21:00:54 +01:00
Dylan K. Taylor
b7e2b3e94a Entity: Require declaration of gravity and drag via abstract methods
this guarantees that subclasses will actually declare them.

[bc break]
2022-06-01 20:51:18 +01:00
Dylan K. Taylor
c87a3b054c composer.json: fix make-devtools command 2022-06-01 20:04:47 +01:00
Dylan K. Taylor
f3c9b59856 Bump version for PM5 2022-06-01 19:54:32 +01:00
Dylan K. Taylor
4b73bedd57 Bump version to 4.6.0+dev 2022-06-01 19:45:20 +01:00
Dylan T
8b86e43d51 Update support.yml 2022-06-01 15:56:47 +01:00
Dylan K. Taylor
eade2d2af0 4.4.1 is next 2022-06-01 15:37:48 +01:00
Dylan K. Taylor
f2299a562f Release 4.4.0 4.4.0 2022-06-01 15:37:48 +01:00