Add fluidstack info to jei recipe for IndustrialGrinder
This commit is contained in:
parent
601194685b
commit
abcef5aace
1 changed files with 7 additions and 0 deletions
|
@ -4,6 +4,7 @@ import mezz.jei.api.IGuiHelper;
|
|||
import mezz.jei.api.IJeiHelpers;
|
||||
import mezz.jei.api.gui.IDrawableAnimated;
|
||||
import mezz.jei.api.gui.IDrawableStatic;
|
||||
import mezz.jei.api.ingredients.IIngredients;
|
||||
import net.minecraft.client.Minecraft;
|
||||
import net.minecraftforge.fluids.FluidStack;
|
||||
import techreborn.api.recipe.machines.IndustrialGrinderRecipe;
|
||||
|
@ -31,6 +32,12 @@ public class IndustrialGrinderRecipeWrapper extends BaseRecipeWrapper<Industrial
|
|||
IDrawableAnimated.StartDirection.LEFT, false);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void getIngredients(@Nonnull final IIngredients ingredients) {
|
||||
ingredients.setInput(FluidStack.class, this.baseRecipe.fluidStack);
|
||||
super.getIngredients(ingredients);
|
||||
}
|
||||
|
||||
@Override
|
||||
@Nonnull
|
||||
public List<FluidStack> getFluidInputs() {
|
||||
|
|
Loading…
Reference in a new issue