This API was removed during the 1.21.9 port due to significant and fundamental changes to vanilla rendering code.