Minecraft Algorithm