use of mezz.jei.api.gui.IDrawable in project Binnie by ForestryMC.
the class FruitPressRecipeCategory method setRecipe.
@Override
public void setRecipe(IRecipeLayout recipeLayout, FruitPressRecipeWrapper recipeWrapper, IIngredients ingredients) {
IDrawable tankOverlay = ExtraTreesJeiPlugin.drawables.getTankOverlay();
IDrawable tank = ExtraTreesJeiPlugin.drawables.getTank();
IGuiFluidStackGroup fluidStacks = recipeLayout.getFluidStacks();
fluidStacks.init(FruitPressMachine.TANK_OUTPUT, false, 55, 1, 16, 58, 1000, false, tankOverlay);
fluidStacks.setBackground(FruitPressMachine.TANK_OUTPUT, tank);
fluidStacks.set(ingredients);
IGuiItemStackGroup itemStacks = recipeLayout.getItemStacks();
itemStacks.init(0, true, 0, 22);
itemStacks.set(ingredients);
IDrawable slot = ExtraTreesJeiPlugin.guiHelper.getSlotDrawable();
itemStacks.setBackground(0, slot);
}
use of mezz.jei.api.gui.IDrawable in project Binnie by ForestryMC.
the class LumbermillRecipeCategory method drawExtras.
@Override
public void drawExtras(Minecraft minecraft) {
IDrawable arrow = ExtraTreesJeiPlugin.drawables.getArrow();
arrow.draw(minecraft, 69, 25);
arrowAnimated.draw(minecraft, 69, 25);
}
use of mezz.jei.api.gui.IDrawable in project Binnie by ForestryMC.
the class LumbermillRecipeCategory method setRecipe.
@Override
public void setRecipe(IRecipeLayout recipeLayout, LumbermillRecipeWrapper recipeWrapper, IIngredients ingredients) {
IDrawable tankOverlay = ExtraTreesJeiPlugin.drawables.getTankOverlay();
IDrawable tank = ExtraTreesJeiPlugin.drawables.getTank();
IGuiFluidStackGroup fluidStacks = recipeLayout.getFluidStacks();
fluidStacks.init(LumbermillMachine.TANK_WATER, true, 1, 1, 16, 58, LumbermillMachine.TANK_WATER_CAPACITY, false, tankOverlay);
fluidStacks.setBackground(LumbermillMachine.TANK_WATER, tank);
fluidStacks.set(ingredients);
IGuiItemStackGroup itemStacks = recipeLayout.getItemStacks();
itemStacks.init(0, true, 42, 21);
itemStacks.init(1, false, 112, 0);
itemStacks.init(2, false, 92, 21);
itemStacks.init(3, false, 112, 42);
itemStacks.set(ingredients);
IDrawable slot = ExtraTreesJeiPlugin.guiHelper.getSlotDrawable();
for (int i = 0; i <= 3; i++) {
itemStacks.setBackground(i, slot);
}
}
use of mezz.jei.api.gui.IDrawable in project Binnie by ForestryMC.
the class SequencerRecipeCategory method setRecipe.
@Override
public void setRecipe(IRecipeLayout recipeLayout, SequencerRecipeWrapper recipeWrapper, IIngredients ingredients) {
IGuiItemStackGroup itemStacks = recipeLayout.getItemStacks();
itemStacks.init(0, true, 0, 0);
itemStacks.init(1, true, 0, 21);
itemStacks.init(2, true, 52, 0);
itemStacks.init(3, false, 52, 21);
itemStacks.set(ingredients);
IDrawable slot = GeneticsJeiPlugin.guiHelper.getSlotDrawable();
for (int i = 0; i <= 3; i++) {
itemStacks.setBackground(i, slot);
}
}
use of mezz.jei.api.gui.IDrawable in project Binnie by ForestryMC.
the class BreweryRecipeCategory method drawExtras.
@Override
public void drawExtras(Minecraft minecraft) {
IDrawable arrow = ExtraTreesJeiPlugin.drawables.getArrow();
arrow.draw(minecraft, 90, 25);
arrowAnimated.draw(minecraft, 90, 25);
}
Aggregations