Variable for active texturepack

Discussion in 'Plugin Development' started by Raggarcowboy, Jan 17, 2013.

Thread Status:
Not open for further replies.
  1. Offline

    Raggarcowboy

    I've been looking a bit in the variables of the Player-class, but I can't seem to find a variable which shows the currently used texturepack of the given player. I can find setTexturepack, to change the texturepack but not something like getTexturepack. Is there anything like this?
     
  2. Offline

    fireblast709

    no because texture packs are completely client-side. The only thing you can do is request it to change with the method you already found
     
  3. Offline

    Raggarcowboy

    :(

    thanks anyway though
     
  4. Offline

    Infamous Jeezy

    Wait unless the server requests you to change the texture pack unless you already have one, it must somehow detect that you're using the wrong texture pack. Maybe you can somehow use a variable to determine if they have the right texture back or not. This would only work if the server can detect if you're using the wrong texture pack and if there's even a possible way to implement that variable.
     
  5. Offline

    william9518

    Dont think its in the API, hough...
     
  6. The server never knows what texture pacxk the client uses, it only sends a link to the client containing the url of it, and lets the client handle the rest (ie, if its uses it or not)
     
Thread Status:
Not open for further replies.

Share This Page