Dylan K. Taylor
c7c20d4d79
tools/generate-block-palette-spec: fixed sorting
2024-01-09 16:43:11 +00:00
Dylan K. Taylor
8fd4918429
Use Filesystem::fileGetContents() in more places
2022-12-25 18:26:53 +00:00
Dylan K. Taylor
4d79aced07
Merge branch 'next-minor' into next-major
2022-12-15 19:50:27 +00:00
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
227a481473
generate-block-palette-spec: include blocks with no properties
2022-07-03 02:01:28 +01:00
Dylan K. Taylor
7994da07be
Crafting recipe network serialization no longer depends on PM's internal legacy metadata
...
WOOOOOOOOOOOOOOOOOOOOOOHOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO!!!!!!!!!!!!!!!!!!!!!
2022-07-02 16:37:43 +01:00
Dylan K. Taylor
cf7d42b3ea
Fix CS according to new rules
2022-06-07 20:02:24 +01:00
Dylan K. Taylor
1f8009954c
Fix PHPStan errors
2022-06-07 19:52:16 +01:00
Dylan K. Taylor
3a9e4bc357
Fix CS
2022-06-07 19:40:00 +01:00
Dylan K. Taylor
fe4ff3325b
Add tool to dump JSON specification for block palettes
...
this makes for easier reading to determine available properties.
2022-06-07 19:05:49 +01:00