i can only seem to get blocks to render semi transparent with x ray or opaque with out x ray
here is the code ive tried
RenderTypeLookup.setRenderLayer(RegistryHandler.ROUGH_GLASS.get(), RenderType.getTranslucent());
RenderTypeLookup.setRenderLayer(RegistryHandler.ROUGH_GLASS.get(), RenderType.getCutout());
RenderTypeLookup.setRenderLayer(RegistryHandler.ROUGH_GLASS.get(), RenderType.getCutoutMipped());
how can i make it semi transparent and not x ray