Case Switch W/ Data?

Discussion in 'Spigot Plugin Development' started by DireLegendDev, Jun 17, 2015.

  1. I am trying to test a splash potion w/ a case switch. Any ideas? Nothing I have tried has worked.
  2. Well, show your code and explain what exactly isn't working (errors, etc) - otherwise we can't do much for you.
  3. Ok. I guess I don't need this anyway- can't have items in a GUI with data :(
  4. I'm not sure exactly what you mean, but you can have ItemStacks with MetaData values just fine...
  5. In a GUI, it isn't possible to place items in it that have id's such as this- 373:259631

    In my GUI, I do have item meta working w/ custom item names, etc...
  6. ItemStack#setData(MaterialData data) -> I don't see the problem?
    • Friendly Friendly x 1
  7. Not quite... (It's OK I don't need help anymore thanks though!)
  8. Vague thread is vague..
    • Agree Agree x 2
    • Funny Funny x 1