Random results from Recipe
Posted: Sun Feb 23, 2020 3:17 pm
Hello,
I'm working on my first mod, a stone washer, where you can dump into excess stone, and get back out a random amount of resources, like iron ore, or copper ore.
And I got everything working...
But with set amounts, like 5 stone wold always results in 2 iron and 2 copper. For example.
I would like to make it so, with 5 stone, there's a chance to get anywhere between 0 to 4 of each resource.
But I'm not sure if that's even possible. I've been looking at the Wiki. And not finding anything related to it.
So now I'm turning here, in hopes maybe there is another way?
I'm working on my first mod, a stone washer, where you can dump into excess stone, and get back out a random amount of resources, like iron ore, or copper ore.
And I got everything working...
But with set amounts, like 5 stone wold always results in 2 iron and 2 copper. For example.
I would like to make it so, with 5 stone, there's a chance to get anywhere between 0 to 4 of each resource.
But I'm not sure if that's even possible. I've been looking at the Wiki. And not finding anything related to it.
So now I'm turning here, in hopes maybe there is another way?