Dylan K. Taylor
04b855235a
Merge branch 'next-major' into modern-world-support
2022-06-24 01:35:46 +01:00
Dylan K. Taylor
72d8b54188
Merge branch 'next-minor' into next-major
2022-06-24 01:33:15 +01:00
Dylan K. Taylor
088a2e478c
Merge branch 'stable' into next-minor
2022-06-24 01:32:53 +01:00
Dylan K. Taylor
9f65fb5f90
Fixed top-side skulls with no-drop flag set being treated as unknown blocks
2022-06-24 01:31:11 +01:00
Dylan K. Taylor
1c689b10b9
ItemSerializer: fixed item NBT being discarded
...
I'm still not sure on the wisdom of allowing NBT usage in here ...
2022-06-23 21:29:52 +01:00
Dylan K. Taylor
82f9a25d88
Fix PHPStan
2022-06-23 21:24:09 +01:00
Dylan K. Taylor
8822bdbefa
Fix CS
2022-06-23 21:22:52 +01:00
Dylan K. Taylor
21cf3813be
Add extra interfaces to make it easier to get at the actual blockstate serializer/deserializer
...
this still is a pain the ass, but it's much less so than before.
2022-06-23 20:01:19 +01:00
Dylan K. Taylor
adf8a61814
BlockStateToBlockObjectDeserializer: make map() public
...
this allows plugins to implement their own blocks using this deserializer.
2022-06-23 19:40:11 +01:00
Dylan K. Taylor
6964012464
fix a bunch of bugs
2022-06-23 19:34:08 +01:00
Dylan K. Taylor
5ed75731f2
First (untested) look at hooking all the itemstack serializer/deserializer stuff together
...
this should address #5063 and related issues, if it works correctly.
2022-06-23 19:02:16 +01:00
Dylan K. Taylor
d8bba6ed3d
git add -p bites again
2022-06-23 16:55:50 +01:00
Dylan K. Taylor
0da174842e
Fix build
2022-06-23 16:46:09 +01:00
Dylan K. Taylor
1533fcf8f6
Separate block legacy data upgrading from block deserialization
...
this commit provides a central place where all block data can go to be upgraded to the latest version (currently 1.19), irrespective of how old it is.
Previously I had issues during debugging, because it wasn't possible to just upgrade a block without deserializing it into a Block object, which isn't currently supported for many blocks.
This commit solves that problem by separating the upgrading from the deserialization.
2022-06-23 16:45:02 +01:00
Dylan K. Taylor
bb5b52d998
Player: fix terrain getting redrawn when moving in noclip mode
2022-06-09 13:48:29 +01:00
Dylan K. Taylor
301b0aba82
Allow Item (de)serializer to accept dynamic BlockState(De)Serializer
2022-06-08 16:22:35 +01:00
Dylan K. Taylor
4aa1a3da8b
Moving more stuff around
2022-06-08 15:57:02 +01:00
Dylan K. Taylor
680615eed8
Namespace rename
2022-06-08 15:54:45 +01:00
Dylan K. Taylor
831738b29c
Added BedrockItemUpgradeSchema dependency
2022-06-08 14:53:58 +01:00
Dylan K. Taylor
02513818a9
4.5.2 is next
2022-06-08 02:50:34 +01:00
Dylan K. Taylor
d641812c52
Release 4.5.1
2022-06-08 02:50:33 +01:00
Dylan K. Taylor
bd2516eded
Merge branch 'next-minor' into next-major
2022-06-07 20:26:15 +01:00
Dylan K. Taylor
35fd71eddf
Fix CS in VersionInfo
...
this got overlooked because I just nuked the changes coming in from stable and didn't notice the formatting changes.
2022-06-07 20:26:02 +01:00
Dylan K. Taylor
e956cfed1c
Branch-specific 1.19.0 stuff
2022-06-07 20:14:00 +01:00
Dylan K. Taylor
cf7d42b3ea
Fix CS according to new rules
2022-06-07 20:02:24 +01:00
Dylan K. Taylor
1ff69136a3
Merge branch 'next-major' into modern-world-support
2022-06-07 20:01:40 +01:00
Dylan K. Taylor
aa9f8781ff
Merge branch 'next-minor' into next-major
2022-06-07 19:56:26 +01:00
Dylan K. Taylor
be168beba0
Merge branch 'stable' into next-minor
2022-06-07 19:55:58 +01:00
Dylan K. Taylor
becbd562d6
FormattedCommandAlias: fixed incorrect arguments array being passed to the target
2022-06-07 19:47:45 +01:00
Dylan K. Taylor
82edb20e0c
4.5.1 is next
2022-06-07 17:57:39 +01:00
Dylan K. Taylor
64a8c462f9
Release 4.5.0
2022-06-07 17:57:39 +01:00
Dylan K. Taylor
4ec97d0f7a
InGamePacketHandler: added missing break
...
I'm getting sloppy ...
2022-06-07 17:52:59 +01:00
Dylan K. Taylor
016a80bb70
1.19.0 changes
2022-06-07 17:47:13 +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
2022-06-07 15:54:55 +01:00
Dylan K. Taylor
1584768c80
PaintingMotive: fixed botched painting fix from 0ea3861d434b017055dfaac5c11e4c90f3779fac
...
I knew I should have used a singleton for this ...
2022-06-07 15:48:20 +01:00
Dylan K. Taylor
c29e23b2f1
TypeConverter: port 5fd685e07d61ef670584ed11a52fd5f4b99a81a7 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