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

Posted

Hi! Im trying to make a helmet that makes you invisible and hides all armor and the items you're holding. Is there any way to do this?

 

Thanks!

@diesieben07, does this event work reliably when playing on a Forge Server? I've found it to be inconsistent in 1.7.10 in some limited testing, where it sometimes canceled all players rendering (regardless of whether or not the item in question was being worn), and sometimes rendering wasn't cancelled at all. In Single Player, there were no issues.

I see no reason why it wouldn't work if you set up your conditionals right?

If anyone has a comprehensive, visual guide to GUIs - don't hesitate to message me. They make my head spin.

Replying to my earlier hijacked thread post. I unearthed my old code and tested again. Cancelling the event works fine and is reliable on servers.

 

One change, however, to diesieben07's note above, is that you need to use the sub-event 'Pre' (i.e., RenderPlayerEvent.Pre).

 

My problem (in case anyone cares) was how I was using NBT data to trigger the event, which was just plain wrong. 

 

PC

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.