Testing code by java minecraft