2021-05-02 00:51:36 +02:00
|
|
|
package de.ellpeck.actuallyadditions.data;
|
|
|
|
|
|
|
|
import com.google.gson.JsonObject;
|
|
|
|
import net.minecraft.data.DataGenerator;
|
|
|
|
import net.minecraft.data.DirectoryCache;
|
|
|
|
import net.minecraft.data.IFinishedRecipe;
|
|
|
|
import net.minecraft.data.RecipeProvider;
|
|
|
|
|
|
|
|
import java.nio.file.Path;
|
|
|
|
import java.util.function.Consumer;
|
|
|
|
|
|
|
|
public class ItemRecipeGenerator extends RecipeProvider {
|
|
|
|
public ItemRecipeGenerator(DataGenerator generatorIn) {
|
|
|
|
super(generatorIn);
|
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
2021-08-22 17:09:06 +02:00
|
|
|
protected void buildShapelessRecipes(Consumer<IFinishedRecipe> consumer) {
|
|
|
|
super.buildShapelessRecipes(consumer);
|
2021-05-02 00:51:36 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
2021-08-22 17:09:06 +02:00
|
|
|
protected void saveAdvancement(DirectoryCache cache, JsonObject cache2, Path advancementJson) {
|
2021-05-02 00:51:36 +02:00
|
|
|
//Nope...
|
|
|
|
}
|
|
|
|
}
|