Dismiss Notice
Wynncraft, the Minecraft MMORPG. Play it now on your Minecraft client at (IP): play.wynncraft.com. No mods required! Click here for more info...

Wynncraft Api: Items Don't Have Material

Discussion in 'Questions' started by Love Me :3, Jun 14, 2018.

Thread Status:
Not open for further replies.
  1. Love Me :3

    Love Me :3 Travelled Adventurer

    Messages:
    26
    Likes Received:
    17
    Trophy Points:
    13
    Minecraft:
    Some of the Wynncraft official API items don't have a material field, e.g. Affluence.

    Why is that?

    How does Wynncraft know what material they are in-game?
     
  2. WynnChairman

    WynnChairman Chairman of Wynn HERO

    Messages:
    3,451
    Likes Received:
    2,674
    Trophy Points:
    134
    Guild:
    Minecraft:
    um wdym by material field?
     
  3. Love Me :3

    Love Me :3 Travelled Adventurer

    Messages:
    26
    Likes Received:
    17
    Trophy Points:
    13
    Minecraft:
    Idk I just saw most items like this...
    Code:
    { name: 'Agile Loop',
      tier: 'Unique',
      set: null,
      sockets: 0,
      accessoryType: 'Ring',
      addedLore: null,
      material: '89',
      dropType: 'never',
      ...
    
    They have a 'material' field which is like the vanilla MC item used for the Wynncraft one, but I saw some that don't, like Ashen Helm has no material in the API... I just wonder what that means?
     
  4. WynnChairman

    WynnChairman Chairman of Wynn HERO

    Messages:
    3,451
    Likes Received:
    2,674
    Trophy Points:
    134
    Guild:
    Minecraft:
    oh
    no idea then lol
     
  5. dukioooo

    dukioooo Creator of WynnData HERO

    Messages:
    3,311
    Likes Received:
    2,526
    Trophy Points:
    134
    Guild:
    Minecraft:
    No material = base material/skin of the type (i'm also not sure why its like this)
    Armors usually dont have material
     
  6. Love Me :3

    Love Me :3 Travelled Adventurer

    Messages:
    26
    Likes Received:
    17
    Trophy Points:
    13
    Minecraft:
    How do I find out the material of an item that has no material field?

    I.e., how do I get the baee material/skin of the type given the API iteme
     
  7. dukioooo

    dukioooo Creator of WynnData HERO

    Messages:
    3,311
    Likes Received:
    2,526
    Trophy Points:
    134
    Guild:
    Minecraft:
    Check in game?
     
  8. Love Me :3

    Love Me :3 Travelled Adventurer

    Messages:
    26
    Likes Received:
    17
    Trophy Points:
    13
    Minecraft:
    does that means it's impossible just by using the API ?
     
  9. dukioooo

    dukioooo Creator of WynnData HERO

    Messages:
    3,311
    Likes Received:
    2,526
    Trophy Points:
    134
    Guild:
    Minecraft:
    Ye
     
Thread Status:
Not open for further replies.