Creating items with damage values that don't usually have them?

Discussion in 'Plugin Development' started by StrangeOne101, Jul 20, 2013.

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

    StrangeOne101

    For my plugin, the player can charge up a new item (a stick with new name, etc) and I want the charging process to be shown as durability. Is it possible of doing this on an item that doesn't usually have it? Because I've looked through ItemStack and there's nothing like setMaxDurability or anything.
     
  2. Offline

    Compressions

  3. Offline

    psanker

    We use the client mod "Connected Textures Mod" to allow blocks, in particular, to accept datavalues that are not generally accessible. So yeah, it's a client-side deal.
     
  4. Offline

    StrangeOne101

    What about a custom material? If it's only server side, shouldn't the server be able to say that?
     
Thread Status:
Not open for further replies.

Share This Page