Config making and Items with METADATA and damage

Discussion in 'Plugin Development' started by ArsenArsen, Jun 15, 2014.

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

    ArsenArsen

    I'm preety sure you all know about Uncraft Table. I want to take care of it, but for next version i got to make uncraft recipe for lapis block or for damaged e.x. boots. I need to return 9 dyes and to for half-damaged boots to return half of e.x. diamond.

    I tryed everything, from quick fixes to decompiling bukkit ITSELF.
     
  2. Offline

    Ice3ider4

    So your problem is that you can't set the damage for an itemstack? Or am I wrong? :D
     
  3. Offline

    ArsenArsen

    Ice3ider4 Ur wrong im updating plugin Uncraft Table i need to half-damaged things to table returns half of materials. And i need way to return dyes e.x. lapis.
     
  4. Offline

    Ice3ider4

  5. Offline

    ArsenArsen

    I KNOW THAT I ALLREDY DOWNLOADED I NEED TO
    It need to return blue DYE. Sorry for caps Ice3ider4

    Did u saw TODO list i did perms i need to do another thingys now.
     
  6. Offline

    LordVakar

    ArsenArsen
    Wut?
    Just create a new uncraftrecipe for lapis to return dyes?
    xD
     
  7. Offline

    ArsenArsen

    No i need lapis block to return 9 lapis AND config file to blacklist recipes LordVakar .

    It need INK_SACK:4 (351:4 if im right) LordVakar

    And dont say ItemStack i need Material
     
  8. Offline

    Ice3ider4

    The problem is that you can't add a uncrafting recipe for Lapis because you don't have a material for it. And you're right you need Material.INK_SACK with the data of 4. So you need to change the UncraftRecipe function so that you can add ItemStacks.
     
  9. Offline

    ArsenArsen

    Can u edit and send me edited UncraftRecipe and send to me?

    Ice3ider4 Can you?
     
Thread Status:
Not open for further replies.

Share This Page