How many ticks for stone to form

I've been playing with new designs for a stone generator, playing with how fast I can get it running.
I'm trying a redstone clock / pulse shortener this time.
Is the rate that lava flows in to water fixed? If so how many ticks does it take?
Best Answer
Let's take a look at the source code of Minecraft 1.8:
public boolean checkForMixing(World paramWorld, BlockPos paramBlockPos, IBlockState paramIBlockState) {
if (this.blockMaterial == Material.lava) {
int i = 0;
for (EnumFacing localEnumFacing : EnumFacing.values()) {
if ((localEnumFacing != EnumFacing.DOWN) && (paramWorld.getBlockState(paramBlockPos.offset(localEnumFacing)).getBlock().getMaterial() == Material.water)) {
i = 1;
break;
}
}
if (i != 0) {
??? = (Integer)paramIBlockState.getValue(LEVEL);
if (((Integer)???).intValue() == 0) {
paramWorld.setBlockState(paramBlockPos, Blocks.obsidian.getDefaultState());
triggerMixEffects(paramWorld, paramBlockPos);
return true; }
if (((Integer)???).intValue() <= 4) {
paramWorld.setBlockState(paramBlockPos, Blocks.cobblestone.getDefaultState());
triggerMixEffects(paramWorld, paramBlockPos);
return true;
}
}
}
return false;
}
This function determines whether it should create cobblestone or obsidian or nothing. It is called by two other functions, namely onBlockAdded
and onNeighborBlockChange
.
onBlockAdded
seems rather self-explanatory, it is called whenever a block has been added and simply callscheckForMixing
on the block that has been added (e.g. by using a bucket or because it is flowing and creating new block).onNeighborBlockChange
is somewhat more interesting. It is called whenever a neighbouring block has been changed or better whenever it is ticking/updating (there is nothing that needs to change, just calling an update is enough). the problem with your contraption is, water and lava are set tosetTickRandomly(true);
, so you can't know when they are changing.
There are plenty of automatic (cobble)stone generators that feature a block detection and push forward the generated block, so they don't need to rely on a constant redstone clock.
Pictures about "How many ticks for stone to form"



How do you make a stone farm in Minecraft?
Likely the easiest way to create a cobble generator involves digging a small shape in the ground, placing a block, then the water and lava, and then removing the block. Doing so will allow the water and lava to flow naturally into each other, creating a block of cobblestone where the placeholder block once was.Why Ticks Are So Hard To Kill
Sources: Stack Exchange - This article follows the attribution requirements of Stack Exchange and is licensed under CC BY-SA 3.0.
Images: SHVETS production, SHVETS production, SHVETS production, SHVETS production