A Fabric mod made by Yurihaia to generate item data for Yurihaia's mc-nbtdoc repository.
- Replace several variables:
./src/main/java/yurihaia/rd/mixin/HijackBootstrap.java:- Replace
%MAPPINGS_FILE_PATH%with the absolute path to mc-nbtdoc repository's./generate/mappings.jsonfile. - Replace
%GENERATED_DIR_PATH%with the absolute path to mc-nbtdoc repository's./minecraft/generateddirectory.
- Replace
./gradle.properties:- Replace
%GAME_VERSION%with a Minecraftversionshown in fabric's version API. e.g.20w49a. - Replace
%MAPPINGS_VERSION%with a yarn mappingversionshown in fabric's version API. e.g.20w49a+build.1. - Replace
%LOADER_VERSION%with a fabric loaderversionshown in fabric's version API. e.g.0.10.8. - Replace
%FABRIC_VERSION%with a fabric API version shown in fabric's maven metadata. e.g.0.27.2+1.17. - Note: if you're a human, you can get those versions easily at here.
- Replace
- Execute the generator mod by running
./gradlew runServer. - The contents at
%GENERATED_DIR_PATH%should be updated to your specified%GAME_VERSION%.