TheMajorN Posted September 11, 2022 Share Posted September 11, 2022 (edited) Heya, So I'm trying to update my project from 1.16.5 to 1.19.2 and it's mostly complete, but there's one part in my main file that I can't figure out the 1.19 equivalent, and that's the entity and block rendering. Presently, I have this: private void doClientStuff(final FMLClientSetupEvent event) { RenderingRegistry.registerEntityRenderingHandler(EntityInit.ALMIRAJ.get(), AlmirajRenderer::new); RenderingRegistry.registerEntityRenderingHandler(EntityInit.BLINK_DOG.get(), BlinkDogRenderer::new); RenderingRegistry.registerEntityRenderingHandler(EntityInit.QUIPPER.get(), QuipperRenderer::new); RenderingRegistry.registerEntityRenderingHandler(EntityInit.DRYAD.get(), DryadRenderer::new); RenderTypeLookup.setRenderLayer(BlockInit.BOOK_STACK.get(), RenderType.cutout()); RenderTypeLookup.setRenderLayer(BlockInit.BOOK_STACK_SHORT.get(), RenderType.cutout()); RenderTypeLookup.setRenderLayer(BlockInit.FLAME_LILLY.get(), RenderType.cutout()); RenderTypeLookup.setRenderLayer(BlockInit.RED_AMANITA_MUSHROOM.get(), RenderType.cutout()); } If anyone can let me know the 1.19 equivalent, that would be much appreciated. Until then, I'll continue looking myself. Edited September 12, 2022 by TheMajorN solved Quote Link to comment Share on other sites More sharing options...
Luis_ST Posted September 11, 2022 Share Posted September 11, 2022 EntityRenderers are now registered in EntityRenderersEvent.RegisterRenderers. The RenderType of a Block is now set in the Model, add the following line to the Block Models, below the parent property. "render_type": "minecraft:cutout", 2 Quote Link to comment Share on other sites More sharing options...
TheMajorN Posted September 12, 2022 Author Share Posted September 12, 2022 got it, thanks Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.