return input.slotNumber == 0 ? 1 : 0;
}
@Override
public List<MachineRecipeInput> getQuantitiesConsumed(MachineRecipeInput[] inputs) {
MachineRecipeInput consume = null;
for (MachineRecipeInput input : inputs) {
if(input != null && input.slotNumber == 0 && input.item != null) {
ItemStack consumed = input.item.copy();
consumed.stackSize = 1;
consume = new MachineRecipeInput(input.slotNumber, consumed);
}
}
if(consume != null) {
return Collections.singletonList(consume);
}