Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @Mod.EventBusSubscriber(modid = MysticsBiomes.MOD_ID, bus = Bus.MOD, value = Dist.CLIENT)
- public class ClientEventBusSubscriber {
- @SubscribeEvent
- public static void clientSetup(FMLClientSetupEvent event) {
- RenderTypeLookup.setRenderLayer(ModBlock.LAVENDER.get(), RenderType.getCutout());
- RenderTypeLookup.setRenderLayer(ModBlock.PINK_TULIP.get(), RenderType.getCutout());
- RenderTypeLookup.setRenderLayer(ModBlock.STRAWBERRY_BUSH.get(), RenderType.getCutout());
- RenderTypeLookup.setRenderLayer(ModBlock.SWEET_STRAWBERRY_BUSH.get(), RenderType.getCutout());
- RenderTypeLookup.setRenderLayer(ModBlock.DANDELION_DOOR.get(), RenderType.getCutout());
- RenderTypeLookup.setRenderLayer(ModBlock.LEMON_LIME_DOOR.get(), RenderType.getCutout());
- RenderTypeLookup.setRenderLayer(ModBlock.SEAFOAM_DOOR.get(), RenderType.getCutout());
- RenderTypeLookup.setRenderLayer(ModBlock.TROPICAL_DOOR.get(), RenderType.getCutout());
- RenderTypeLookup.setRenderLayer(ModBlock.STRAWBERRY_DOOR.get(), RenderType.getCutout());
- RenderTypeLookup.setRenderLayer(ModBlock.SWEET_STRAWBERRY_DOOR.get(), RenderType.getCutout());
- RenderTypeLookup.setRenderLayer(ModBlock.LAVENDER_DOOR.get(), RenderType.getCutout());
- RenderTypeLookup.setRenderLayer(ModBlock.MYSTIC_DOOR.get(), RenderType.getCutout());
- RenderTypeLookup.setRenderLayer(ModBlock.DANDELION_TRAPDOOR.get(), RenderType.getCutout());
- RenderTypeLookup.setRenderLayer(ModBlock.LEMON_LIME_TRAPDOOR.get(), RenderType.getCutout());
- RenderTypeLookup.setRenderLayer(ModBlock.SEAFOAM_TRAPDOOR.get(), RenderType.getCutout());
- RenderTypeLookup.setRenderLayer(ModBlock.TROPICAL_TRAPDOOR.get(), RenderType.getCutout());
- RenderTypeLookup.setRenderLayer(ModBlock.STRAWBERRY_TRAPDOOR.get(), RenderType.getCutout());
- RenderTypeLookup.setRenderLayer(ModBlock.SWEET_STRAWBERRY_TRAPDOOR.get(), RenderType.getCutout());
- RenderTypeLookup.setRenderLayer(ModBlock.LAVENDER_TRAPDOOR.get(), RenderType.getCutout());
- RenderTypeLookup.setRenderLayer(ModBlock.MYSTIC_TRAPDOOR.get(), RenderType.getCutout());
- RenderTypeLookup.setRenderLayer(ModBlock.DANDELION_SAPLING.get(), RenderType.getCutout());
- RenderTypeLookup.setRenderLayer(ModBlock.LEMON_LIME_SAPLING.get(), RenderType.getCutout());
- RenderTypeLookup.setRenderLayer(ModBlock.SEAFOAM_SAPLING.get(), RenderType.getCutout());
- RenderTypeLookup.setRenderLayer(ModBlock.TROPICAL_SAPLING.get(), RenderType.getCutout());
- RenderTypeLookup.setRenderLayer(ModBlock.STRAWBERRY_SAPLING.get(), RenderType.getCutout());
- RenderTypeLookup.setRenderLayer(ModBlock.SWEET_STRAWBERRY_SAPLING.get(), RenderType.getCutout());
- RenderTypeLookup.setRenderLayer(ModBlock.LAVENDER_SAPLING.get(), RenderType.getCutout());
- RenderTypeLookup.setRenderLayer(ModBlock.MYSTIC_SAPLING.get(), RenderType.getCutout());
- RenderingRegistry.registerEntityRenderingHandler(ModEntity.STRAWBERRY_COW.get(), StrawberryCowRenderer::new);
- RenderingRegistry.registerEntityRenderingHandler(ModEntity.CHOCOLATE_COW.get(), ChocolateCowRenderer::new);
- RenderingRegistry.registerEntityRenderingHandler(ModEntity.VANILLA_COW.get(), VanillaCowRenderer::new);
- RenderingRegistry.registerEntityRenderingHandler(ModEntity.PINK_CHICKEN.get(), PinkChickenRenderer::new);
- }
- @SubscribeEvent
- public static void onRegisterEntities(final RegistryEvent.Register<EntityType<?>> event) {
- ModSpawnEgg.initSpawnEgg();
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement