Development Assistance [Cauldron] Get Material of custom block/item

Discussion in 'Plugin Help/Development/Requests' started by Hyrla, Jan 24, 2016.

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

    Hyrla

    Hello :)

    I'm creating a Cauldron Server with my own mod and my own plugins. Is it possible to get the Bukkit Class "Material.[Custom Item]" for my plugins ? (https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/Material.html)

    (I asked this question on a modding forum but they said me to ask my question here ^^)

    Thank you !
     
  2. Offline

    timtower Administrator Administrator Moderator

    @Hyrla Not possible, Material is an enum. Can't change those.
     
  3. Offline

    Hyrla

    @timtower Thank you for your answer, but is there an other way to check the player inventory ? (With the IDs for example ?)

    I just want to give some custom items or check if the player has one
     
  4. Offline

    timtower Administrator Administrator Moderator

    @Hyrla There probably is. Not sure though as I don't combine Bukkit and mods.
     
Thread Status:
Not open for further replies.

Share This Page