11 Commits

Author SHA1 Message Date
Dylan K. Taylor
a08b06d322
also sort table by ID 2025-02-18 15:34:20 +00:00
Dylan K. Taylor
c876253f76
tools/blockstate-upgrade-schema-utils: added dump-table command
this command dumps a human-readable version of pmmp/mapping palette mapping files to a .txt file.
may be useful for debugging issues with the schema generator or the upgrade process.
2025-02-18 15:30:39 +00:00
Dylan K. Taylor
47cb04f6a6
tools: fix PHPStan 2.0 issues 2025-01-07 22:15:50 +00:00
Dylan K. Taylor
d01203d7c4
Reduce code duplication 2024-10-24 18:50:39 +01:00
Dylan K. Taylor
22718c4971
Add support for specialized flattenedProperties in schema format 2024-10-24 16:12:28 +01:00
Dylan K. Taylor
acbfb0a3e9
Support for updating a batch of schemas using BlockPaletteArchive 2024-10-24 13:30:55 +01:00
Dylan K. Taylor
7f9e79c83e
Automatically test new schemas to ensure they produce the results predicted by the input file 2024-10-24 13:30:24 +01:00
Dylan K. Taylor
3ef7001d8e
Merge branch 'stable' into blockstate-schema-generator-improvements 2024-10-17 20:55:34 +01:00
Dylan K. Taylor
c8f567b093
Fix missing arg count check 2024-10-17 20:24:57 +01:00
Dylan K. Taylor
33dc995cc7
blockstate-upgrade-schema-utils: added a command to update old schemas to a newer format
this is useful when the generator was updated with new features & optimisations, to reduce the size and/or improve readability of existing schemas.
2024-08-09 13:12:46 +01:00
Dylan K. Taylor
26761c2b87
Blockstate schema tool now supports testing schemas as well as generating them
this is useful when making changes to the generator, since regenerated schemas can now be tested for validity. This helps to find bugs in the generator.
2024-08-09 12:38:03 +01:00