Posted January 30, 20205 yr Managed to change the player model for my custom elytra, however whenever I toggle the " Elytra Fly" some weird small arms appear even though I set their visibility to false, this is my code: @SubscribeEvent public static void onRenderPlayerPre(RenderPlayerEvent.Pre event) { PlayerEntity player = (PlayerEntity) event.getEntity(); if (player.isElytraFlying() && player.getItemStackFromSlot(EquipmentSlotType.CHEST).getItem() == ItemHolder.BATMAN_CHEST) { event.getRenderer().getEntityModel().bipedRightArm.showModel = false; event.getRenderer().getEntityModel().bipedRightArmwear.showModel = false; event.getRenderer().getEntityModel().bipedLeftArm.showModel = false; event.getRenderer().getEntityModel().bipedLeftArmwear.showModel = false; event.getRenderer().getEntityModel().bipedBody.showModel = false; } } The weird arms I got:
January 31, 20205 yr Author Bump, I think it might be something to do with flags/pose but I'm not entirely sure what's making those small arms appear
February 4, 20205 yr Author Bump, does anybody understand how flags work? or how can I edit the "Pose" of the flag?
February 5, 20205 yr Sorry I can’t help more, but have you tried stepping through what’s happening in the debugger and seeing why the arms are being rendered? About Me Spoiler My Discord - Cadiboo#8887 My Website - Cadiboo.github.io My Mods - Cadiboo.github.io/projects My Tutorials - Cadiboo.github.io/tutorials Versions below 1.14.4 are no longer supported on this forum. Use the latest version to receive support. When asking support remember to include all relevant log files (logs are found in .minecraft/logs/), code if applicable and screenshots if possible. Only download mods from trusted sites like CurseForge (minecraft.curseforge.com). A list of bad sites can be found here, with more information available at stopmodreposts.org Edit your own signature at www.minecraftforge.net/forum/settings/signature/ (Make sure to check its compatibility with the Dark Theme)
February 6, 20205 yr Author 20 hours ago, Cadiboo said: Sorry I can’t help more, but have you tried stepping through what’s happening in the debugger and seeing why the arms are being rendered? No worries thanks anyways, gonna check the debugger, I don't know why I didn't do that in the first place lol
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.