January 8, 20214 yr Author I found this: Vec3d vec3d = this.getMotion(); if (!this.onGround && vec3d.y < 0.0D) { this.setMotion(vec3d.mul(1.0D, 0.6D, 1.0D)); } But how can i apply this to the player, if holding the umbrella?
January 8, 20214 yr Author in tick event, how can i check, if the player holds the umbrella? there are not the same methods as in EntityFallEvent.
January 8, 20214 yr Author Now i used PlayerTickEvent. With this, i could check for holding the umbrella very similar to the LivingFallEvent. And after testing, it looks very much like gliding with a parachute. That´s what i want. It reminds me also abit to elythra-flying.
January 8, 20214 yr Author finally i got the mod with the umbrella, that uses an arm up pose, and they use the THROW_SPEAR pose for this. So i make it this way, too.
January 10, 20214 yr Author Is there any way to give it a classic "item/generated"-sprite for displaying in gui or item-frame and keep the .obj-model for all other display-types (laying on ground and all equip-variants) Edited January 10, 20214 yr by Drachenbauer
January 10, 20214 yr Author now i try this solution: https://forums.minecraftforge.net/topic/83298-solved-1152-different-item-model-when-rendered-in-the-inventory-vs-handheld/ It uses the deprecated variant of getQuads. but if i try to replace it with the better one, new IBakedModel() says, that i have to use the old one, because it´s an unimplemented method. How can i use the new one without this error? Now i found IForgeBakedModel. How can i use it instead of IBakedModel here? Edited January 10, 20214 yr by Drachenbauer
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.