mirror of
https://github.com/Ellpeck/ActuallyAdditions.git
synced 2024-11-16 21:13:11 +01:00
27 lines
746 B
Java
27 lines
746 B
Java
|
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
|
||
|
protected void registerRecipes(Consumer<IFinishedRecipe> consumer) {
|
||
|
super.registerRecipes(consumer);
|
||
|
}
|
||
|
|
||
|
@Override
|
||
|
protected void saveRecipeAdvancement(DirectoryCache cache, JsonObject cache2, Path advancementJson) {
|
||
|
//Nope...
|
||
|
}
|
||
|
}
|