1. The forums will be archived and moved to a read only mode in about 2 weeks (mid march).

Can the player's skin be in the client cache?

Discussion in 'Development' started by 声之形, Oct 9, 2018.

  1. 声之形

    声之形 Creeper

    Messages:
    2
    I spawn many human entities and using PlayerSkinPacket lets them have the same skin. But that will result in a large volume of skinData being sent many times. So is there a way to let the client cache that skin?
    I discovered that the PlayerSkinPacket has some fields that seem to have no effect, are those fields the key to caching?

    111.png
    222.png
    What are those fields for?
     
  2. dktapps

    dktapps Administrator Staff Member PMMP Team

    Messages:
    774
    GitHub:
    dktapps
    The skin system is a mess. I couldn't tell you why the ID still exists today, but historically it was used to select the appropriate skin model (alex, steve, alex-with-cape, etc).

    To the best of my knowledge there is no way to utilize skin caching. This would be a nice to have feature though.
     
    XenialDan and EdwardHamHam like this.
  3. 声之形

    声之形 Creeper

    Messages:
    2
    I see,thank you very much for replied.
     
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.