Solved Getting ItemStack ID

Discussion in 'Plugin Development' started by Kolton12O, Dec 24, 2020.

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

    Kolton12O

    Am I able to get the item ID from an ItemStack?
     
  2. Offline

    timtower Administrator Administrator Moderator

    @Kolton12O Why do you still want to work with ID's?
     
  3. Offline

    Kolton12O

    I’m working on a small project and I’m needing to send data to my website in JSON format. My website can only reliably read IDs so instead of rewriting the whole thing it would be easier if I could just get the ID from bukkit.
     
  4. Offline

    timtower Administrator Administrator Moderator

    New items don't have ID's anymore. Considered using the Material enum?
     
  5. Offline

    Kolton12O

    I see. I was not aware that Mojang had removed IDs from newer items.
    Thanks!
     
Thread Status:
Not open for further replies.

Share This Page