6 Commits

Author SHA1 Message Date
Dylan K. Taylor
ccb3c3cb05
BlockStateData: use array<Tag> instead of CompoundTag to store state properties
this reduces the footprint of RuntimeBlockMapping by a further 1 MB, as well as simplifying various parts of the code, and solidifying the immutability guarantee of BlockStateData.
2022-07-09 16:03:51 +01:00
Dylan K. Taylor
a8728a02f6
BlockStateDictionary: extract a more generic helper method for decoding block palette files 2022-07-06 14:37:46 +01:00
Dylan K. Taylor
dc8f65c0dd
Remove unnecessary BlockStateDictionary usages 2022-07-06 14:33:27 +01:00
Dylan K. Taylor
afd37ca892
Fix PHPStan errors 2022-07-04 15:13:48 +01:00
Dylan K. Taylor
03b8077054
generate-block-serializer-consts: don't pollute the global namespace 2022-07-04 14:58:21 +01:00
Dylan K. Taylor
17abd50f69
Publish script used to generate BlockTypeNames, BlockStateNames and BlockStateStringValues 2022-07-04 14:56:50 +01:00