use of buildcraft.lib.recipe.ChangingItemStack in project BuildCraft by BuildCraft.
the class FacadeAssemblyRecipes method getRecipeOutputs.
@Override
public ChangingItemStack getRecipeOutputs() {
NonNullList<ItemStack> list = NonNullList.create();
for (FacadeBlockStateInfo info : FacadeStateManager.validFacadeStates.values()) {
if (info.isVisible) {
list.add(createFacadeStack(info, false));
list.add(createFacadeStack(info, true));
}
}
ChangingItemStack changing = new ChangingItemStack(list);
changing.setTimeGap(TIME_GAP);
return changing;
}
use of buildcraft.lib.recipe.ChangingItemStack in project BuildCraft by BuildCraft.
the class FacadeAssemblyRecipes method getRecipeInputs.
@Override
public ChangingItemStack[] getRecipeInputs() {
ChangingItemStack[] inputs = new ChangingItemStack[2];
inputs[0] = new ChangingItemStack(new ItemStack(BCTransportItems.pipeStructure, 3));
NonNullList<ItemStack> list = NonNullList.create();
for (FacadeBlockStateInfo info : FacadeStateManager.validFacadeStates.values()) {
if (info.isVisible) {
list.add(info.requiredStack);
list.add(info.requiredStack);
}
}
inputs[1] = new ChangingItemStack(list);
inputs[1].setTimeGap(TIME_GAP);
return inputs;
}
Aggregations