recycler: Turns craftable item into its ingridients.
Has one space for input and 10 spaces for output (10 spaces because max. crafting is 9 items and one as reserve and because it looks better as like 2 hopper inv. stacked on top of each other).
Needs to be powered to activate.
If powered, checks if an item is in the input space, if the item is a craftable one and what the item is crafted with.
Next it checks if there is at least one empty space in the output space.
Then it goes through a loop for the total amount of items needed to craft the input item.
Each time it goes trough one loop it has a chance to fail which groes higher with each loop max. 9 (1 l. 0%, 2 l. 15%,... something like that)
If it succeds it chooses a random item from the recepie and makes a mark for itself that 1* of that item has been taken from the recipe.
That item will then be remembered by the block till its done with all loops or failed, after witch it consumes the input and outputs all
the remembered items (witch did not fail) into the other spaces.
Crafting recipe: Something expensive like one netherstar (since the netherstar has currently only one use and for lore, could explain how this block can do this kind of magical work)
Please sign in to leave a comment.
1 Comments