Removing Damage

Discussion in 'Plugin Development' started by Liam Allan, Mar 5, 2014.

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

    Liam Allan

    Is it possible to remove/apply damage to item yet?
    By this I mean: you have a sword and the lore is "+5 Attack Damage".

    Does anyone know how I can remove this or even change it?

    Thank you in advanced.
     
  2. Offline

    Konkz

    There is a way by playing with packages and stuff, it removes all the lore thought as far as I know.
     
  3. Offline

    Liam Allan

    Removing all the lore isn't a problem, I just need to find this out.
     
  4. Offline

    Konkz

    • Armor Color: Lore can't be removed without the armor losing its color for the client
    • FireWork Star and Firework Colors: Lore can't be removed without the items losing their color for the client
    • Potions: The When Applied: thing is removed if you use custom potion effects (nbt tag rather than dmg value) afaik and the Poison: 3:00 can't be removed without making every potion look like a water bottle for the client.
    • Enchanted Books: Very possible, but makes no sense because the user needs to know what the enchantment is.
    • Music Discs: As stated before: impossible, is client side.
    So your best bet is to use AttributeHider combined with custom potions with nbt tags rather than damage values. Not too sure what you are trying to do.
     
Thread Status:
Not open for further replies.

Share This Page