diff --git a/src/main/java/thaumic/tinkerer/common/block/fire/BlockFireBase.java b/src/main/java/thaumic/tinkerer/common/block/fire/BlockFireBase.java index ec454d4a..e2abf276 100644 --- a/src/main/java/thaumic/tinkerer/common/block/fire/BlockFireBase.java +++ b/src/main/java/thaumic/tinkerer/common/block/fire/BlockFireBase.java @@ -123,7 +123,15 @@ public void updateTick(World world, int x, int y, int z, Random rand) { world.setBlock(xT, yT, zT, targetTransform, 0, 3); } } - if (blockMeta >= 15) { + + if (blockMeta < 15 && blockMeta > 0) { + // Randomly increase the age of a fire + // 0 meta is considered a source and never increases, for any other meta we have a chance to increase + final int newMeta = Math.min(blockMeta + rand.nextInt(3) / 2, 15); + if (newMeta > blockMeta) { + world.setBlockMetadataWithNotify(x, y, z, newMeta, 4); + } + } else if (blockMeta >= 15) { // No spreading if we're at max meta return; }