fixes render types for pipes and other blocks

This commit is contained in:
2026-01-16 22:36:30 -05:00
parent 38b89d0d0a
commit c8ac2f9cfe
@@ -131,13 +131,14 @@ public class CommonClientClass {
if (Platform.isFabric()) {
registerSpawnEggColors();
registerRenderTypes();
} else {
ClientLifecycleEvent.CLIENT_SETUP.register(mc -> registerSpawnEggColors());
ClientLifecycleEvent.CLIENT_SETUP.register(mc -> registerRenderTypes());
}
LifecycleEvent.SETUP.register(() -> {
BlockEntityRendererRegistry.register(ModBlockEntities.TANK_BE.get(), TankBlockEntityRenderer::new);
registerRenderTypes();
});
}