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

I know i'm just asking for modding help and even if it isn't REALLY complicated it is a bit.

 

in my mod i use a code in the event RenderPlayerEvent.Pre wich changes player texture:

 

mainTexture.set((EntityPlayer)thePlayer, new ResourceLocation("textures/entity/player/Glacia/snowman.png"));

 

where mainTexture is locationSkin of AbstractClientPlayer wich i change using reflection.

The problem is when setting it back to normal: in 1.7.2 i used this code

 

mainTexture.set(thePlayer, ((AbstractClientPlayer) thePlayer).getLocationSkin(((AbstractClientPlayer) thePlayer).getCommandSenderName()));

 

wich in 1.7.10 no longer works and sets a missing texture (purple and black) with the error "skins\whatever.png" cannot be found

 

if i set it to null it will set steve skin and not the custom skin the player has (while the code i used did in 1.7.2)

 

Is there a way to do that now?

 

PS:sorry for the little bad english

Actually i don't know what to write in this signature soooo.... anyway

Does the requested skin exist in the correct location?

 

Please post more info, such as your folder structure, context-relevant code and -error log.

  • Author

Does the requested skin exist in the correct location?

 

Please post more info, such as your folder structure, context-relevant code and -error log.

 

((AbstractClientPlayer) thePlayer).getLocationSkin(((AbstractClientPlayer) thePlayer).getCommandSenderName())

 

this should get the skin player is using (Standartd steve's one or custom one) and infact it did in 1.7.2, now it doesn't work anymore

 

the location where minecraft looks for the skin is skins\username

Actually i don't know what to write in this signature soooo.... anyway

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.