Vanilla data for the Minecraft version SerenityJS supports: blocks, items, the creative inventory and recipes, among others.
tools/generate.mjs refreshes the block, item, creative inventory and recipe files in src/json from Dragonfly's vanilla data. Point DRAGONFLY_COMMIT at the Dragonfly commit that supports the new version, then run it from this folder:
node tools/generate.mjs
It downloads the files from GitHub; pass the path of a Dragonfly checkout to read them from there instead. The script's header describes what it keeps from the current files.
The other files (biome_types.json, block_drops.json, entity_types.json, tool_types.json and the files in src/bin) are not generated by it.
The files the script generates are derived from Dragonfly, whose license requires this notice:
MIT License
Copyright (c) 2019 Dragonfly Tech
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.