fixes render types for pipes and other blocks
This commit is contained in:
@@ -131,13 +131,14 @@ public class CommonClientClass {
|
|||||||
|
|
||||||
if (Platform.isFabric()) {
|
if (Platform.isFabric()) {
|
||||||
registerSpawnEggColors();
|
registerSpawnEggColors();
|
||||||
|
registerRenderTypes();
|
||||||
} else {
|
} else {
|
||||||
ClientLifecycleEvent.CLIENT_SETUP.register(mc -> registerSpawnEggColors());
|
ClientLifecycleEvent.CLIENT_SETUP.register(mc -> registerSpawnEggColors());
|
||||||
|
ClientLifecycleEvent.CLIENT_SETUP.register(mc -> registerRenderTypes());
|
||||||
}
|
}
|
||||||
|
|
||||||
LifecycleEvent.SETUP.register(() -> {
|
LifecycleEvent.SETUP.register(() -> {
|
||||||
BlockEntityRendererRegistry.register(ModBlockEntities.TANK_BE.get(), TankBlockEntityRenderer::new);
|
BlockEntityRendererRegistry.register(ModBlockEntities.TANK_BE.get(), TankBlockEntityRenderer::new);
|
||||||
registerRenderTypes();
|
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user