Skip to content
This repository has been archived by the owner on Jun 29, 2024. It is now read-only.

A Fabric mod made by Yurihaia to generate item data for Yurihaia's mc-nbtdoc repository.

License

Notifications You must be signed in to change notification settings

SpyglassMC/nbtdoc-genmod

 
 

Repository files navigation

Superseded by mcdoc features and future testing

NBTDOC-genmod

A Fabric mod made by Yurihaia to generate item data for Yurihaia's mc-nbtdoc repository.

Getting Started

  • 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.json file.
      • Replace %GENERATED_DIR_PATH% with the absolute path to mc-nbtdoc repository's ./minecraft/generated directory.
    • ./gradle.properties:
      • Replace %GAME_VERSION% with a Minecraft version shown in fabric's version API. e.g. 20w49a.
      • Replace %MAPPINGS_VERSION% with a yarn mapping version shown in fabric's version API. e.g. 20w49a+build.1.
      • Replace %LOADER_VERSION% with a fabric loader version shown 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.
  • Execute the generator mod by running ./gradlew runServer.
  • The contents at %GENERATED_DIR_PATH% should be updated to your specified %GAME_VERSION%.

About

A Fabric mod made by Yurihaia to generate item data for Yurihaia's mc-nbtdoc repository.

Resources

License

Stars

Watchers

Forks

Languages

  • Java 100.0%