Dylan K. Taylor
999eab0c84
SetupWizard: use Server constants directly
2023-09-08 15:43:36 +01:00
Dylan K. Taylor
33a0fb9061
SetupWizard: clean up crusty code that loads server.properties 3 times
2023-09-08 15:14:51 +01:00
Dylan K. Taylor
904b0acfff
SetupWizard: replace hardcoded config keys
2023-09-08 15:11:59 +01:00
Dylan K. Taylor
093b1e1b18
Merge branch 'stable' into minor-next
2023-09-08 12:48:40 +01:00
Dylan K. Taylor
d7f69c5e24
CaveVines: fixed incorrect support condition
2023-09-08 12:47:46 +01:00
ShockedPlot7560
d60fca0a1c
Age blocks logic moved into dedicated trait ( #5962 )
2023-09-08 12:25:26 +01:00
Dylan K. Taylor
0e87ee1e0e
ÂHangingRoots: fixed incorrect support face
2023-09-08 12:22:00 +01:00
Dylan K. Taylor
03ecc98a24
HangingRoots: fixed support conditions
2023-09-08 12:16:45 +01:00
Dylan K. Taylor
a5aeabd836
RegistryTrait: fixed mishandling of self::$members
...
Since PHPStan doesn't warn about potential nulls on untyped properties, this flew under the radar.
2023-09-08 12:16:16 +01:00
Artem Vasyagin
fa9bba470c
RegistryTrait: use native parameter types for __callStatic() arguments ( #5944 )
2023-09-08 12:03:03 +01:00
Dylan K. Taylor
361626d236
Merge branch 'minor-next' into major-next
2023-09-08 11:27:09 +01:00
Dylan K. Taylor
d3ab516ba4
CS
2023-09-08 11:26:58 +01:00
Dylan K. Taylor
16d8522245
Farewell EnumTrait, you served us well
2023-09-08 11:26:11 +01:00
Dylan K. Taylor
a4f3476190
Merge branch 'minor-next' into major-next
2023-09-08 11:22:44 +01:00
Dylan K. Taylor
aa916b2c49
WoodLikeBlockIdHelper: reduce obnoxious code
2023-09-08 11:17:47 +01:00
Dylan K. Taylor
7ce33d9375
Migrate final remaining EnumTrait users to native enums
2023-09-08 10:34:12 +01:00
Dylan K. Taylor
14f2368454
ToolTier: remove legacy EnumTrait annotations and doc comment infoÂ
2023-09-08 10:02:50 +01:00
Dylan K. Taylor
e96e68d221
Merge branch 'minor-next' into major-next
2023-09-07 20:33:35 +01:00
Dylan K. Taylor
07194e3884
CS again
2023-09-07 20:33:30 +01:00
Dylan K. Taylor
f1a6d71cc1
Merge branch 'minor-next' into major-next
2023-09-07 20:30:58 +01:00
Dylan K. Taylor
58278f22f3
Remove deprecated API usages from tests
2023-09-07 20:30:45 +01:00
Dylan K. Taylor
89f42c80d4
Strip out deprecated stuff
2023-09-07 20:26:04 +01:00
Dylan K. Taylor
cd6b780d31
Merge branch 'minor-next' into major-next
2023-09-07 20:10:31 +01:00
Dylan T
7dcd2592d4
RuntimeDataDescriber: Support dynamically describing arbitrary enums ( #6039 )
...
Previously, we were using codegen to support describing a fixed set of enums.
Instead, we implement an enum() function, allowing any native PHP enum to be described.
All enums used in runtime data have been migrated to native PHP 8.1 enums in minor-next to facilitate this.
This implementation:
- is faster (in extreme cases by 40x, such as with PotionType)
- requires way less code
- does not require a build step
- is way more flexible
This fixes #5877 , increasing the range of stuff that plugins are now able to do.
EnumTrait enums are not supported, as it's easier and cleaner to just support native enums. Most core EnumTrait enums have been migrated to native enums by now to facilitate this.
2023-09-07 20:07:14 +01:00
Dylan K. Taylor
6887fcd590
RuntimeEnum(De)SerializerTrait no longer uses legacy accessors for enum members
2023-09-07 19:40:14 +01:00
Dylan K. Taylor
c168818311
missed one
2023-09-07 19:39:13 +01:00
Dylan K. Taylor
b50efbc15a
Fix CS
2023-09-07 19:38:29 +01:00
Dylan K. Taylor
94d98fb5c4
Migrate all but two remaining legacy enums to native PHP 8.1 enums
2023-09-07 19:32:45 +01:00
Dylan K. Taylor
ae564e445d
Start migrating EnumTrait enums to PHP 8.1 native enums
2023-09-07 17:20:52 +01:00
Doge
ed61a68013
Entity: make getNetworkTypeId
non-static ( #6037 )
...
This was static to permit ItemFactory to register spawn eggs for all known entity types in early PM4. However, nowadays we provide a callback to the spawn egg instead, and spawn eggs must be manually implemented, so this is no longer needed.
In addition, having this static forces everyone to make a new entity class for every unique type of entity, which isn't ideal.
2023-09-06 15:26:32 +01:00
Dylan K. Taylor
4dc9d696d0
Merge branch 'minor-next' into major-next
2023-09-06 13:03:51 +01:00
Dylan K. Taylor
fe94379a93
Fixed connection requirements for fences, glass, bars and walls
...
these connect to the back faces of stairs and to glass, for example.
2023-09-06 12:56:47 +01:00
Dylan K. Taylor
79acc4fed4
5.5.1 is next
2023-09-06 12:13:26 +01:00
Dylan K. Taylor
c8d357f4eb
Release 5.5.0
5.5.0
2023-09-06 12:13:26 +01:00
Dylan K. Taylor
ec1cd5967d
Added private constructors for new internal classes
2023-09-06 12:12:11 +01:00
Dylan K. Taylor
5a010e8213
Merge branch 'minor-next' into stable
2023-09-06 12:06:15 +01:00
Dylan K. Taylor
73a44d50ee
5.4.5 is next
2023-09-06 11:53:04 +01:00
Dylan K. Taylor
6aab07debd
Release 5.4.4
5.4.4
2023-09-06 11:53:01 +01:00
Dylan K. Taylor
b160b87e24
Server: stop discriminating against crashes caused by folder plugins
...
these are the de facto standard, which means that a lot of crashes aren't getting reported from servers with folder plugins.
2023-09-06 11:34:03 +01:00
Dylan K. Taylor
690ee4c574
CrashDump: fixed empty elements in lastError trace
...
as shown by #6010
2023-09-06 11:24:08 +01:00
Dylan K. Taylor
a0c7587b68
Update composer dependencies
2023-09-06 11:09:28 +01:00
Dylan K. Taylor
be4e091d40
Update draft release notice
2023-09-06 11:03:15 +01:00
Dylan K. Taylor
857c2edc2c
Server: update obsoletion notice with new announcement and cutoff date
2023-09-06 10:58:41 +01:00
Dylan K. Taylor
b1ab69ac6c
Updated build/php submodule to pmmp/PHP-Binaries@3331f8c0d5
2023-09-06 10:51:22 +01:00
Dylan K. Taylor
e95a920fb8
Update composer dependencies
2023-09-06 10:49:54 +01:00
dependabot[bot]
67f399b238
Bump phpstan/phpstan-phpunit from 1.3.13 to 1.3.14 ( #6021 )
...
Bumps [phpstan/phpstan-phpunit](https://github.com/phpstan/phpstan-phpunit ) from 1.3.13 to 1.3.14.
- [Release notes](https://github.com/phpstan/phpstan-phpunit/releases )
- [Commits](https://github.com/phpstan/phpstan-phpunit/compare/1.3.13...1.3.14 )
---
updated-dependencies:
- dependency-name: phpstan/phpstan-phpunit
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-06 10:24:41 +01:00
dependabot[bot]
a7c806d549
Bump phpunit/phpunit from 10.3.2 to 10.3.3 ( #6033 )
...
Bumps [phpunit/phpunit](https://github.com/sebastianbergmann/phpunit ) from 10.3.2 to 10.3.3.
- [Changelog](https://github.com/sebastianbergmann/phpunit/blob/10.3.3/ChangeLog-10.3.md )
- [Commits](https://github.com/sebastianbergmann/phpunit/compare/10.3.2...10.3.3 )
---
updated-dependencies:
- dependency-name: phpunit/phpunit
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-06 10:24:23 +01:00
dependabot[bot]
0920c76a35
Bump build/php from 8884039
to 3331f8c
( #6031 )
...
Bumps [build/php](https://github.com/pmmp/php-build-scripts ) from `8884039` to `3331f8c`.
- [Release notes](https://github.com/pmmp/php-build-scripts/releases )
- [Commits](8884039bee...3331f8c0d5
)
---
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>
2023-09-06 08:37:05 +01:00
dependabot[bot]
a91ca999fe
Bump actions/checkout from 3 to 4 ( #6032 )
...
Bumps [actions/checkout](https://github.com/actions/checkout ) from 3 to 4.
- [Release notes](https://github.com/actions/checkout/releases )
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md )
- [Commits](https://github.com/actions/checkout/compare/v3...v4 )
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-06 08:32:33 +01:00
Jonathan B
ce04478395
Fix SmithingTableInventory size ( #6035 )
...
Since 1.20 SmithingTable has a new Template slot, size is now 3
Fix debug error from InventoryManager
2023-09-06 08:15:27 +01:00