Skip to content

Decimals #1716

Closed Locked Answered by OmerBenGera
NevileeV asked this question in Pending Feature Requests
Discussion options

You must be logged in to vote

You can have decimal percentage by multiplying everything by 10.
The way the percentage of the rates is calculated is by taking the value of the ore and divide it by the sum of all the rates together.
Therefore, if you have the following setup:

STONE: 999
COAL_ORE: 1

There will be a 99.9% chance for stone to generate, while only 0.1% for coal ore.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by OmerBenGera
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants