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.2] [Unsolved] Different players to see different textures on same block

Featured Replies

Posted

Hey there,

 

I have searched around but I couldn't find a description of the problem I'm trying to solve (Maybe I've been searching the wrong things) but ideally, I'd like players to be able to see different textures on the same block depending on what is equipped in their head armor slot.

 

Say 'Player A' is wearing a Diamond Helmet and 'Player B' is wearing a Golden Helmet, would it be possible to make Player B see a custom block with, say, a wood texture, but to have Player A still see the default texture, even if they're both looking at it at the same time?

 

Thanks for any help anyone can provide, even if its just pointing me in the right direction.

 

-venhip

  • Author

I thought both the Clock and the Compass used animations to achieve their function, with steps to certain frames to get the right direction/time?

Also, in the vanilla source, I don't understand how they specify the difference between what each player sees. I understand that it checks the current player's location and direction facing, but would it be able to update the texture of a block everyone can see, but only for the one person? I mean, the compass and clock are only visible to those holding them, right?

 

Thanks for the reply, though.

 

-venhip

  • Author

I understand that, but both players would have two textures and each would be shown at different times. The texture being shown would have to change for one of them, not have the actual image changed like in a texture pack.

 

-venhip

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.