Jump to content
View in the app

A better way to browse. Learn more.

Forge Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (โ‹ฎ) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Featured Replies

  • 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?

  • 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.

  • 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.

  • 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 by Drachenbauer

  • 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 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.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

Important Information

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

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions โ†’ Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.