Use ModPE to port PC functionsinto MCPE