use of buildcraft.transport.plug.FacadeBlockStateInfo 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