package de.ellpeck.actuallyadditions.data; import de.ellpeck.actuallyadditions.mod.ActuallyAdditions; import net.minecraft.data.DataGenerator; import net.minecraftforge.common.data.ExistingFileHelper; import net.minecraftforge.eventbus.api.SubscribeEvent; import net.minecraftforge.fml.common.Mod; import net.minecraftforge.fml.event.lifecycle.GatherDataEvent; @Mod.EventBusSubscriber(modid = ActuallyAdditions.MODID, bus = Mod.EventBusSubscriber.Bus.MOD) public class ActuallyAdditionsData { @SubscribeEvent public static void runGenerator(GatherDataEvent event) { DataGenerator generator = event.getGenerator(); ExistingFileHelper helper = event.getExistingFileHelper(); // generator.addProvider(new GeneratorBlockStates(generator, helper)); // generator.addProvider(new GeneratorItemModels(generator, helper)); // generator.addProvider(new GeneratorLanguage(generator)); BlockTagsGenerator generatorBlockTags = new BlockTagsGenerator(generator, helper); generator.addProvider(new LootTableGenerator(generator)); generator.addProvider(new BlockRecipeGenerator(generator)); generator.addProvider(new ItemRecipeGenerator(generator)); generator.addProvider(generatorBlockTags); generator.addProvider(new ItemTagsGenerator(generator, generatorBlockTags, helper)); generator.addProvider(new BlockStateGenerator(generator, helper)); generator.addProvider(new ItemModelGenerator(generator, helper)); generator.addProvider(new LaserRecipeGenerator(generator)); generator.addProvider(new EmpoweringRecipeGenerator(generator)); generator.addProvider(new CrushingRecipeGenerator(generator)); generator.addProvider(new FuelRecipeGenerator(generator)); generator.addProvider(new MiscMachineRecipeGenerator(generator)); generator.addProvider(new SoundsGenerator(generator, helper)); } }