Jump to content

SciPunk

Members
  • Posts

    44
  • Joined

  • Last visited

Everything posted by SciPunk

  1. I tried the code above but couldn't make it work
  2. @SubscribeEvent public static void onRenderPlayerPre(RenderPlayerEvent.Pre event) { PlayerEntity player = (PlayerEntity) event.getEntity(); if (player.isElytraFlying()) { event.getRenderer().getEntityModel().bipedRightArm.showModel = false; event.getRenderer().getEntityModel().bipedRightArmwear.showModel = false; } } @SubscribeEvent public static void onRenderPlayerPost(RenderPlayerEvent.Post event) { PlayerEntity player = event.getPlayer(); if (player.isElytraFlying()) { event.getRenderer().getEntityModel().bipedRightArm.showModel = false; event.getRenderer().getEntityModel().bipedRightArmwear.showModel = false; } }
  3. I'm making a batman mod, and I'm using the elytra code to glide with the cape but I would like to render the player arms extending (kinda like a "T Pose") how could I manage to do that?
  4. Hi, again where could I look up the vanilla code for the elytra render system? I'm completely lost
  5. Should I update my mod to the newest version? I'm having difficulty understanding the rendering system about the player[Trying to make a custom elytra] is the newest version more clarified(mappings)?
  6. I'm trying to make a "custom elytra" I got it working all now but the render, I can't even figure out how to render a simple texture on the player (and move with it kinda like a cape), I know how to render custom armor models but that's about it, been looking at the vanilla code, but I can't seem to figure out. If anyone figures out or knows how to do it I'd be grateful if you could share it with me
  7. Thanks! got the key bind set, now I only got to figure out the rendering
  8. Thanks, I'm trying to get it to work only when you press a certain key, any doc or guide I could use to render my custom elytra? Thanks again for helping me out
  9. Oh ok thanks, the closest thing I found was this public boolean func_226566_ei_() { if (!this.onGround && !this.isElytraFlying() && !this.isInWater()) { ItemStack itemstack = this.getItemStackFromSlot(EquipmentSlotType.CHEST); if (itemstack.getItem() == Items.ELYTRA && ElytraItem.isUsable(itemstack)) { this.func_226567_ej_(); return true; } } it is kinda hard to figure things out without mappings, but I'm trying my best lol
  10. I'm trying to figure out how can I create an item/armor which behaves just like Elytra, tried to see vanilla code of it, but I can't figure out much, I have an armor and I'd like to add the elytra model/ function to it
  11. This is taking longer than I expected all these renderers are getting so confusing if anyone could give me a lead I'd appreciate it
  12. Thanks for answering Damn, I guess my mod then will be impossible to complete, what's a batman without a cape lol, is there any other method like just to render a texture at the back of the player? Thanks for answering I hope we are able to use them, I really need those for my mod
  13. Hi, I'm making a comic based mod and I've been struggling with rendering something like a cape in the chest, I would like to know how could I add this layer to my armor and make it behave like a cape I'd be grateful for any help
  14. Hello everyone, I'm making a comic mod, I'm making the models for the armors and I really need to know how can I add capes to my models, since most super-heroes have one
  15. Do you mind sharing your model class so I can compare it with mine, please and where did you make the armor?
  16. I already made the armor and the properties but I want to add a custom model to the parts but I can't find any good source to get info for 1.15 as it is fairly new, I have some experience with Java but I'm totally new with Forge I tried to read the doc but couldn't find anything, also any recommendations to make the model for the armor (I have Cubik Studio) but will gladly hear recommendations.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.