Posted January 1, 20214 yr I want to render my custom Elytra but how to do that exactly. I have created a layer class and I know from the forum that I have to add the layer to the player using the PlayerRender. For this I use the FMLClientSetupEvent. But now im Stuck. My Code of the FMLClientSetupEvent: What is worng? private void doClientStuff(FMLClientSetupEvent event) { Minecraft mc = Minecraft.getInstance(); EntityRendererManager manager = mc.getRenderManager(); PlayerRenderer playerRenderer = new PlayerRenderer(manager); playerRenderer.addLayer(new EnderiteElytraLayer<>(playerRenderer)); } Edited January 1, 20214 yr by Luis_ST
January 1, 20214 yr You are creating a new renderer and just add a layer to it, what's it gonna do? Use the existing renderer that is bound to the player.
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.