SlimeVoid / TheMinersFriend

The Miner's Friend Mod
GNU Lesser General Public License v3.0
1 stars 0 forks source link

Mixing logic #34

Closed ali4z closed 11 years ago

ali4z commented 11 years ago

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.

ali4z commented 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

ali4z commented 11 years ago

Do not need to do mixing of the meta data. Already have the blueprint. Just copy it's meta for the output stack.

ali4z commented 11 years ago

4d88d8ea4606aaa92e48ced36ee26d7dd09369f9