Jump to content

Recommended Posts

Posted

Hello there!

I developing a mod, that will be allow to spawn a hologram of the player. So i need, that a hologram has a skin of owner. I don't sure how to do that, 'cause if i just place a path to standart steve skin, that will lead for same skin on all holograms. Btw, is it posible to dynamicly add an another layer to player's skin? For creating a small diffusing.

Can anyone share some ideas? (will be perfect if i don't must be use an openGL API and something)

Posted

So, if anyone interested, i managed it by myself. Just add a field to my entity class called owner id. Then in renderer i just get object of AbstractClientPlayer by this id and use method getSkinTextureLocation(). Works perfectly

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...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.