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.

[1.7.10] How to add a shader (from super secret settings) when wearing armor

Featured Replies

Posted

Hey there!

I was fiddling around with the super secret settings (under net.minecraft.client.shaders, I believe) and was wondering how I could I 'trigger' it when wearing an armor.

 

So, I began researching and sifting through code (don't understand any of the shader code), but there were no tutorials- or really anything. I couldn't find any hooks. I'm decent at Java but this stumbled me.

 

Does anybody have any clue as to how I can manage to do this?

 

 

I don't know anything about shaders, so I can't help you with that, but I imagine you would want to subscribe to the render event, then in there, check if the player is wearing the armor, then execute whatever code you use to apply a shader. Or, you could make a new potion effect that gives the shader, then subscribe player to player update event, check if the player is wearing the armor, then give them that potion effect.

- Just because things are the way they are doesn't mean they can't be the way you want them to be. Unless they're aspen trees. You can tell they're aspens 'cause the way they are.

  • Author

Hey there! I'm going through the reflection thing and it's incredibly confusing.

 

Mind giving a brief on how I should go about everything?

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.