Search in sources :

Example 1 with BlockSceneRenderer

use of crazypants.enderio.base.gui.BlockSceneRenderer in project EnderIO by SleepyTrousers.

the class InfinityRecipeCategory method setRecipe.

@Override
public void setRecipe(@Nonnull IRecipeLayout recipeLayout, @Nonnull InfinityRecipeWrapper recipeWrapper, @Nonnull IIngredients ingredients) {
    IGuiItemStackGroup itemStacks = recipeLayout.getItemStacks();
    itemStacks.init(0, false, 85, 30);
    itemStacks.set(ingredients);
    this.recipeLayout = recipeLayout;
    bsr = new BlockSceneRenderer(new NNList<>(Pair.of(new BlockPos(0, 0, 0), Blocks.BEDROCK.getDefaultState()), Pair.of(new BlockPos(0, 1, 0), Blocks.FIRE.getDefaultState())));
}
Also used : BlockSceneRenderer(crazypants.enderio.base.gui.BlockSceneRenderer) NNList(com.enderio.core.common.util.NNList) IGuiItemStackGroup(mezz.jei.api.gui.IGuiItemStackGroup) BlockPos(net.minecraft.util.math.BlockPos)

Aggregations

NNList (com.enderio.core.common.util.NNList)1 BlockSceneRenderer (crazypants.enderio.base.gui.BlockSceneRenderer)1 IGuiItemStackGroup (mezz.jei.api.gui.IGuiItemStackGroup)1 BlockPos (net.minecraft.util.math.BlockPos)1