Commit Graph

15200 Commits

Author SHA1 Message Date
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
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
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
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 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
Dylan K. Taylor
ef15dc883a Merge branch 'next-major' into modern-world-support 2022-06-01 15:34:26 +01:00
Dylan K. Taylor
3fcf6372e0 Merge branch 'stable' into next-minor 2022-06-01 15:32:37 +01:00
Dylan K. Taylor
533cb77c50 Updated dependencies 2022-06-01 15:29:39 +01:00
dependabot[bot]
681a9bb0e1 Bump build/php from 8138c6a to 1110349 (#5075)
Bumps [build/php](https://github.com/pmmp/php-build-scripts) from `8138c6a` to `1110349`.
- [Release notes](https://github.com/pmmp/php-build-scripts/releases)
- [Commits](8138c6a4a4...11103498ca)

---
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-05-31 17:18:47 +01:00
dependabot[bot]
6c080dae55 Bump shivammathur/setup-php from 2.18.1 to 2.19.0 (#5076)
Bumps [shivammathur/setup-php](https://github.com/shivammathur/setup-php) from 2.18.1 to 2.19.0.
- [Release notes](https://github.com/shivammathur/setup-php/releases)
- [Commits](https://github.com/shivammathur/setup-php/compare/2.18.1...2.19.0)

---
updated-dependencies:
- dependency-name: shivammathur/setup-php
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-31 17:18:27 +01:00
dependabot[bot]
670fb4de74 Bump phpstan/phpstan from 1.7.1 to 1.7.4 (#5074)
Bumps [phpstan/phpstan](https://github.com/phpstan/phpstan) from 1.7.1 to 1.7.4.
- [Release notes](https://github.com/phpstan/phpstan/releases)
- [Changelog](https://github.com/phpstan/phpstan/blob/1.7.x/CHANGELOG.md)
- [Commits](https://github.com/phpstan/phpstan/compare/1.7.1...1.7.4)

---
updated-dependencies:
- dependency-name: phpstan/phpstan
  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>
2022-05-30 16:09:30 +01:00
Dylan K. Taylor
bf199d3a74 duct tape for recipes 2022-05-27 20:40:32 +01:00
Dylan K. Taylor
bd8dd48dee Assign new IDs to every block 2022-05-27 18:07:31 +01:00
Dylan K. Taylor
6d7318af43 Liquid: fixed merge regression 2022-05-26 18:48:45 +01:00
Dylan K. Taylor
adfabca684 Merge branch 'next-major' into modern-world-support 2022-05-26 16:02:32 +01:00
Dylan K. Taylor
97c0d72e28 ItemFactory: use import aliases to reduce code width 2022-05-26 15:55:33 +01:00
Dylan K. Taylor
4ccae2d1de BlockFactory: use import aliases to reduce code width 2022-05-26 15:50:29 +01:00
Dylan K. Taylor
b36c6ea13b StringToItemParser: Use import aliases to reduce code width 2022-05-26 15:40:18 +01:00
Dylan K. Taylor
39b8daeeec Living: fixed a usage of hardcoded numeric ID 2022-05-25 22:23:14 +01:00
Dylan K. Taylor
776b8d2f95 Harden BlockStateDeserializer further against bugs 2022-05-25 21:56:17 +01:00
Dylan K. Taylor
c492352d50 changelog: fix typo
[ci skip]
2022-05-25 17:09:29 +01:00
Dylan K. Taylor
8f1452acd1 4.4.0-BETA2 is next 2022-05-25 16:44:32 +01:00
Dylan K. Taylor
8a2ba584ab Release 4.4.0-BETA1 4.4.0-BETA1 2022-05-25 16:44:17 +01:00
Dylan K. Taylor
2b27b8a230 fixed fucky wucky 2022-05-24 21:52:10 +01:00
Dylan K. Taylor
383be5426e Rewrite network item serialization to use ItemSerializer 2022-05-24 21:44:57 +01:00
Dylan K. Taylor
81b51c0791 fixing special block serialization 2022-05-24 21:29:20 +01:00
Dylan K. Taylor
227f28a6d2 Use VanillaItems::AIR() instead of ItemFactory 2022-05-24 15:47:27 +01:00
Dylan K. Taylor
d8dc32ec4b PhpStorm sucks
I'm very sure I enabled 'Ensure every file ends with a line break' ...
2022-05-24 15:22:23 +01:00
Dylan K. Taylor
0fc24c94cd Fix PHPStan 2022-05-24 15:20:11 +01:00
Dylan K. Taylor
24bd403e23 Updated VanillaItems 2022-05-24 15:19:22 +01:00
Dylan K. Taylor
81eafde074 Hacks for banners and coral fans 2022-05-24 15:07:38 +01:00
Dylan K. Taylor
a2ea0cea86 Update unit tests 2022-05-24 14:47:46 +01:00
Dylan K. Taylor
5ce5e1d2b0 Throw proper exceptions for serialize/deserialize failures
this allows them to be caught and properly reported in tests.
2022-05-24 14:46:18 +01:00
Dylan K. Taylor
901a51a9dd Added serialize/deserialize support for stonecutter 2022-05-24 14:31:40 +01:00
Dylan K. Taylor
567bd8e330 Merge branch 'next-major' into modern-world-support 2022-05-24 14:19:34 +01:00
Dylan K. Taylor
812d5c3f58 Merge branch 'stable' into next-minor 2022-05-24 14:17:53 +01:00
dependabot[bot]
9a5a03ef83 Bump phpstan/phpstan from 1.6.8 to 1.7.1 (#5067)
Bumps [phpstan/phpstan](https://github.com/phpstan/phpstan) from 1.6.8 to 1.7.1.
- [Release notes](https://github.com/phpstan/phpstan/releases)
- [Changelog](https://github.com/phpstan/phpstan/blob/1.7.x/CHANGELOG.md)
- [Commits](https://github.com/phpstan/phpstan/compare/1.6.8...1.7.1)

---
updated-dependencies:
- dependency-name: phpstan/phpstan
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-24 13:46:09 +01:00
Dylan K. Taylor
38d75f3aab Player: Be more explicit about not parsing chat messages when messageCounter is zero
the length check technically accounts for this, but future readers might not realize this
2022-05-22 16:46:53 +01:00
Dylan K. Taylor
03c505aaa7 Merge branch 'next-major' into modern-world-support 2022-05-22 16:21:48 +01:00
Dylan K. Taylor
179cac45f5 Merge branch 'stable' into next-minor 2022-05-22 16:21:05 +01:00
Dylan K. Taylor
1591881bf2 4.3.5 is next 2022-05-22 16:12:24 +01:00