-
Notifications
You must be signed in to change notification settings - Fork 3
DataGen
Eric edited this page Nov 19, 2023
·
1 revision
Vanilla Minecraft includes a built-in utility which programmatically generates the required JSON files for Recipes, Language Files, Loot Tables, Advancements, World Generation, and more.
There are implementations to extend this with your own values for both Fabric and Forge, and PickHaxe provides a common API for accessing it as well.
Open up your project.xml
and add the following tag under the <pickhaxe>
tag. Note that the <loader>
and <minecraft>
subtags are optional filters which allow conditional use of different data generators.
<mod-data-generator
value="ResourceTreesDataGenerator">
<loader value="fabric" />
<minecraft op="gteq" value="1.20.2" />
</mod-data-generator>