Solved How to remove this from a Firework Charge?

Discussion in 'Plugin Development' started by ArthurMaker, Jan 17, 2014.

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

    ArthurMaker

    I'm doing a shop gui for a minigame and I'm having a little problem:
    [​IMG]
    I didn't write this "Small Ball" and I believe that is a default thing for the Firework Charge, but I don't want it and I don't know how to remove it from the item. I just want to keep the lore that I put in the item.

    Can anyone help me?

    Up! e-e

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jun 6, 2016
  2. Offline

    NathanWolf

    Unfortunately, like the "+ Damage" lore on tools, I don't think you can get rid of that text, except maybe via a resource pack.
     
  3. Offline

    ElliottOlson

    ArthurMaker NathanWolf

    Yes, like Nathan pointed out. It is impossible to remove something from a Vanilla Item that Mojang specifically programmed into the game. The only way of doing this is by creating a Mod, or by using a Resource pack.
     
  4. Offline

    _LB

    I don't know if it's in 1.8 or 1.7, but there are NBT flags you can set to remove specific text displays from items. You might need to hook into NMS to do it if there is no API in Bukkit for it yet (assuming it's in 1.7 and not 1.8 - I really don't remember)

    http://minecraft.gamepedia.com/Item_Format#Display_Properties
    See "HideFlags"
     
    NathanWolf and KingFaris11 like this.
  5. Offline

    ArthurMaker


    Isso é para uma nether star, não um um Firework Charge xD


    I have already done that.
    Cmon guys, this is from 18th January! xD
     
    _LB likes this.
  6. Offline

    _LB

    Oops, sorry. I didn't realize this was an old thread.
     
  7. Offline

    ArthurMaker

    np at all xD
     
  8. Offline

    NathanWolf

    Hey, sorry I didn't realize when I necrobump'd ... and now I'm doing it again.

    However- that's a good reason to mark as solved if you've found a solution, I really don't see the evil in necrobumping, or why it freaks people out so much.

    In this case, _LB's answer was actually rediculously helpful to me, I didn't know you could do that and I am putting it into my code immediately! So thank you for that.
     
Thread Status:
Not open for further replies.

Share This Page