minecraft-data icon indicating copy to clipboard operation
minecraft-data copied to clipboard

Add some more sanity checks in tests

Open rom1504 opened this issue 2 years ago • 2 comments

May help to keep quality high Some examples:

  • are items from recipes all presents in item file
  • are all states uniques in blocks.json
  • does the display name kind of look like the name
  • all material in material key are present in material.json
  • newer version always have more blocks than old ones

rom1504 avatar Aug 22 '21 21:08 rom1504

https://github.com/PrismarineJS/minecraft-data/tree/master/tools/js/test audit files there can be starting points

rom1504 avatar Aug 22 '21 21:08 rom1504

Check block states match recipes Check default state is between min and max in blocks

rom1504 avatar Jan 02 '22 13:01 rom1504