Fix datagen not running
@@ -182,7 +182,10 @@ minecraft {
// Recommended logging level for the console
property 'forge.logging.console.level', 'debug'
- args '--mod', 'tconstruct', '--all', '--output', file('src/generated/resources/')
+ environment 'assetIndex', '{asset_index}'
+ environment 'assetDirectory', '{assets_root}'
+
+ args '--mod', 'tconstruct', '--all', '--output', file('src/generated/resources/'), '--existing', file('src/main/resources/')
mods {
tconstruct {
