This is the situation: I want a program that moves fuel and items from a chest based the fuels burntime.
If the fuel and item burned 1:1 it would be peace á cake, but I got different fuel types supported.
This is what you get to know in the function:
fuel quantity, fuel burn time, item quantity
Burn time is a number of how many items the fuel burns, for example coal/charcoal burns 8.
example:
I got 5 coal and 26 iron in a chest, this is the optimal amounts for this situation:
- fuel to move: 3
- items to move: 24
If you come up with one it does not need to be optimized and small, just that it works.