Leather_Boots - Dyed in Item-Lore

Discussion in 'Plugin Development' started by TimBone, Sep 30, 2013.

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

    TimBone

    Hey community,
    I am creating a plugin that needs winterboots. So I create my own recipe for boots, they are colered. My problem is, they have the string "Dyed" in the item-lore. I already know, that this part is clientside, but is there any way to remove this string?

    [​IMG]

    P.S: Sorry for my bad english, I am still learning ;)
     
  2. Offline

    __ImTheMoney__

    Can I Have Code please i cant solve without

    hmm lemme think
    il call a friend and give him link please like me

    wait u did recipe can u help me with my code?
     
  3. Offline

    TimBone

    Code:java
    1. public ItemStack getBoots(){
    2. ItemStack item = new ItemStack(Material.LEATHER_BOOTS, 1);
    3. LeatherArmorMeta armor = (LeatherArmorMeta) item.getItemMeta();
    4. armor.setColor(Color.BLUE);
    5. armor.setDisplayName("Winterstiefel");
    6. List<String> lore = new ArrayList<String>();
    7. lore.add("§b§oDiese Stiefel werden dich");
    8. lore.add("§b§oauch im Winter warm halten");
    9. armor.setLore(lore);
    10. item.setItemMeta(armor);
    11. return item;
    12. }

    This is my item, I return it in the recipe.
     
  4. Offline

    sgavster

    I don't think you can remove it, sadly ;c
    You might be able to use ProtocolLib. No idea though :*(
     
  5. Offline

    TimBone

    Okay, what shall I do? Should I send packets, that just tell the Boots are colered. Or ist there any way to remove the NBTTag?
     
  6. Offline

    sgavster

    TimBone I'm not sure, sorry.
    I haven't played with packets much :/
     
  7. Offline

    TimBone

    Same here, it would be nice if somebody can explain me.
     
Thread Status:
Not open for further replies.

Share This Page