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

Is it possible to bind the local skin of the player to a .JSON model? I want the texture of the player's arm to be on a certain part of the model. I'm thinking that where you declare your texture locations in your .JSON file you just plug in the texture location of the local skin (maybe the bind local skin texture has a texture location). I can't seem to think of anything, everything else is done in my mod except this functionality, I'd just like players to be able to see their own skin on the arm model rather than having a default texture on the arm. Also, I don't want to draw a model in Java using Techne, I want to stick with .JSON modeling (I like the simplicity yet the creativity of being able to create complex model renders). Any help is much appreciated, thanks to all in advance!

Development of Plugins [2012 - 2014] Development of Mods [2012 - Current]

I don't think that it is.

 

Skins are stored in their own weird way, for one i know that there is hashing involved so even if you could actually pull out .png from somewhere (which you can't?) you would have to know the exact hash of file.

 

In manners of Forge, you do this:

AbstractClientPlayer acp = (AbstractClientPlayer) player;
acp.getLocationSkin();

1.7.10 is no longer supported by forge, you are on your own.

  • Author

I figured there would be a dynamic texture path that I could attach to a json and UV the arm with its coords, but I guess not. If anyone can figure this out or know of a better way (like maybe draw the arm with the local skin in Java then render the item), just let me know, I'll keep this topic unlocked.

Development of Plugins [2012 - 2014] Development of Mods [2012 - Current]

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.