Dylan K. Taylor
d10d660a4d
fix PHPStan
2022-05-12 16:37:50 +01:00
Dylan K. Taylor
107b0e1728
CS again, kill me
2022-05-12 16:35:12 +01:00
Dylan K. Taylor
cb97f37d13
First look at modern-spec serializer/deserializer for items
...
this is not yet used by anything
2022-05-12 16:26:38 +01:00
Dylan K. Taylor
6c92e73b46
Switch to modernized BedrockData
2022-05-12 15:30:35 +01:00
Dylan K. Taylor
43e61336cf
Support 1.18.30 worlds
2022-04-20 14:58:32 +01:00
Dylan K. Taylor
4c433fd75b
Remap invalid metadata values to zero
...
this is a bit less sophisticated than the way we do it with BlockFactory, but this shouldn't usually have any relevance anyway - it's only used for correcting bogus states.
2022-03-28 18:13:14 +01:00
Dylan K. Taylor
8bf1fb7b1d
Merge branch 'next-minor' into modern-world-support
2022-03-24 12:50:45 +00:00
Dylan K. Taylor
f25beab6cb
Use constants for compound meta values
2022-03-23 15:58:27 +00:00
Dylan K. Taylor
e98cf39b47
cs
2022-02-11 21:18:56 +00:00
Dylan K. Taylor
bc46e148df
Updated to support new tag storage format
2022-02-11 21:13:28 +00:00
Dylan K. Taylor
905eee3198
BlockStateUpgrader: do not apply backwards-incompatible schemas to blockstates already on the correct version
...
this notably led to corruption of glow_lichen and sculk_vein in 1.18.10.
2022-02-10 20:51:31 +00:00
Dylan K. Taylor
8a11ed70e3
improve reusability
2022-02-10 19:38:50 +00:00
Dylan K. Taylor
db9d769db6
fix CS #2
2022-02-10 13:49:40 +00:00
Dylan K. Taylor
0a0383d9bd
BlockStateUpgradeSchema: added isEmpty()
2022-02-10 13:03:29 +00:00
Dylan K. Taylor
1b3e50d0a3
Implement support for remappedPropertyValuesIndex schema format
2022-02-10 00:00:01 +00:00
Dylan K. Taylor
dc5ddf1c1b
make the build pass
2022-02-09 20:18:38 +00:00
Dylan K. Taylor
03cf635adc
Removed pointless array cast
2022-02-09 20:17:28 +00:00
Dylan K. Taylor
0ce3f763db
reEEEEEEEEEEEEEEEEE
2022-02-09 20:13:59 +00:00
Dylan K. Taylor
0226f5466c
Added support for upgrading states via remap (needed for end rods and all-sided-logs)
2022-02-09 20:05:20 +00:00
Dylan K. Taylor
166ffe430a
Updated for 1.18.10
2022-02-08 22:56:04 +00:00
Dylan K. Taylor
e58b3ba46c
First look at loading 1.13+ worlds
2022-02-07 03:06:59 +00:00
Dylan K. Taylor
9e03136861
fix CS
2022-02-07 02:43:57 +00:00
Dylan K. Taylor
1b48603d07
another vague commit restructuring stuff
2022-02-07 02:41:50 +00:00
Dylan K. Taylor
d55eed803d
make build green
2022-02-05 21:12:11 +00:00
Dylan K. Taylor
8f5813b003
Move PM core-specific serializer/deserializer stuff to data/bedrock/blockstate/convert
2022-02-04 17:23:51 +00:00
Dylan K. Taylor
337aab4f0d
Use more class aliases to reduce code width
2022-02-04 16:47:54 +00:00
Dylan K. Taylor
1155f91574
BlockStateSerializer: separate serializer registration from constructor
2022-02-04 16:41:45 +00:00
Dylan K. Taylor
9fbb2ef46a
remove SORT_ASC
2022-02-04 00:27:09 +00:00
Dylan K. Taylor
4d88f8f7f4
shut
2022-02-04 00:24:57 +00:00
Dylan K. Taylor
f33633efcb
Remove rogue var_dump
2022-02-04 00:23:01 +00:00
Dylan K. Taylor
324d203f4e
Fuck you git
2022-02-04 00:21:26 +00:00
Dylan K. Taylor
0cc997f531
Checking in BlockStateUpgrader and a bunch of unit tests
2022-02-04 00:16:48 +00:00
Dylan K. Taylor
f85f2cae98
fix CS
2022-02-01 20:02:12 +00:00
Dylan K. Taylor
6644fd472c
fixed more stupid bullshit
2022-02-01 20:00:50 +00:00
Dylan K. Taylor
101b71ed02
Fixed trapdoor rotation
2022-02-01 19:40:00 +00:00
Dylan K. Taylor
e808b7aac4
Fixed asymmetric API
2022-02-01 19:39:39 +00:00
Dylan K. Taylor
cab9b6c862
Add a wrapper type for blockstate NBT
2022-02-01 17:29:30 +00:00
Dylan K. Taylor
4d935aa8b6
Torch facings are the wrong way round :(
2022-02-01 17:12:12 +00:00
Dylan K. Taylor
ccfe485c06
Fixed end rod up/down state
2022-02-01 13:56:05 +00:00
Dylan K. Taylor
1a800cf4df
fixed match indentations
2022-02-01 05:28:52 +00:00
Dylan K. Taylor
fe7d942500
fix CS
2022-02-01 05:26:14 +00:00
Dylan K. Taylor
f323e3c43f
BlockStateSerializer can now serialize all currently implemented PM blocks
2022-02-01 05:21:16 +00:00
Dylan K. Taylor
7d70865db0
Fixed deserializer not handling walls properly
2022-02-01 04:01:56 +00:00
Dylan K. Taylor
a91e7f7202
deduplicate weighted pressure plate deserializer code
2022-01-31 20:45:33 +00:00
Dylan K. Taylor
cdafb1b0c4
standardize codegen for coral fans
2022-01-31 20:45:11 +00:00
Dylan K. Taylor
69db9f8a30
Reduce duplication of code
2022-01-31 20:31:54 +00:00
Dylan K. Taylor
c4228edf3c
BlockStateDeserializerHelper: fixed mistake in decodeLiquid()
2022-01-31 18:15:02 +00:00
Dylan K. Taylor
03e3ecdbd3
Revert "BlockStateValues now includes integer values too"
...
This reverts commit 0626edbcddf16463b4a69566976bc2b47c64660a.
2022-01-31 17:51:49 +00:00
Dylan K. Taylor
0626edbcdd
BlockStateValues now includes integer values too
2022-01-31 17:49:29 +00:00
Dylan K. Taylor
d03f4d76a2
ws
2022-01-31 02:30:54 +00:00