Closed ali4z closed 11 years ago
To get the burnTime level of the blueprint dust; do ItemMineralMixedDust.getBurnTimeLevel(meta)
If the number of red dusts are equal or more than this level; that means there is enough to do the mixing. This also goes for the other 2 levels.
Simply subtract burnTime level amount of red dusts from the input and put or increase the output
Do not need to do mixing of the meta data. Already have the blueprint. Just copy it's meta for the output stack.
4d88d8ea4606aaa92e48ced36ee26d7dd09369f9
You drop 1 mixed dust into blueprint slot. Drop clean mixed dusts into input inventory. When enough clean dusts are present, it eats them and outputs mixed dust.
Lock the blueprint while stuff is in output slot.