Minecraft wiki entry for Breaking, associated text: Combining all of the information above yields the following pseudo-code to calculate how long in seconds a player takes to mine a certain block. All operations are floating-point, not integer.