Drachenbauer Posted January 8, 2021 Author Posted January 8, 2021 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? Quote
Drachenbauer Posted January 8, 2021 Author Posted January 8, 2021 in tick event, how can i check, if the player holds the umbrella? there are not the same methods as in EntityFallEvent. Quote
Drachenbauer Posted January 8, 2021 Author Posted January 8, 2021 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. Quote
Drachenbauer Posted January 8, 2021 Author Posted January 8, 2021 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. Quote
Drachenbauer Posted January 10, 2021 Author Posted January 10, 2021 (edited) 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, 2021 by Drachenbauer Quote
Drachenbauer Posted January 10, 2021 Author Posted January 10, 2021 (edited) 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, 2021 by Drachenbauer Quote
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.