Fixed a lot of minor issues. Added configuration for ore values and ore generation.

This commit is contained in:
Robert Sosnitzka
2016-07-28 11:50:50 +02:00
parent ccf8c75b37
commit b539f986f8
13 changed files with 410 additions and 136 deletions

View File

@@ -32,7 +32,7 @@ public class BlockLignite extends BasicBlock {
@Override
@ParametersAreNonnullByDefault
public int quantityDropped(IBlockState state, int fortune, Random random) {
return MathHelper.getRandomIntegerInRange(random, 1, 3 + fortune);
return random.nextInt(3) + 1 + fortune;
}
@Override