A few Spout questions

Discussion in 'Plugin Development' started by r3Fuze, Sep 27, 2011.

Thread Status:
Not open for further replies.
  1. I have a GenericGradient and GenericTexture but for some reason the GenericTexture gets rendered on top of the GenericGradient, which i dont want. I tried .setPriority() but with no result.

    Second question: Is it possible to retexture the arrow, not the icon but the entity?
     
  2. Offline

    Afforess

    The widget with the highest render priority renders first. Make sure you set their priorities correctly. Also, if you change the state of the widget at any time after it's attached to a screen, you need to set it dirty so it gets updated on the client.
     
  3. @Afforess Oh, apparently Low gets rendered before Normal thats where i messed up.
    But thanks for the help :)
     
  4. Offline

    Afforess

    When in doubt, double check our javadocs.

    Glad it's working now :p
     
Thread Status:
Not open for further replies.

Share This Page