Skript custom item drop

Discussion in 'Skript' started by DarkBoomba, Sep 13, 2017.

  1. Hello,

    I am trying to make a scripts that drops custom items on chanche when someone mines an ore.

    I've gotten quite far but I need help with the NBT data. I found out how to set name, lore and enchant. Now I want to add the hide enchant itemflag, I tried that but it cancels the glow effect aswell. Which it normally doesn't (looking add bossshop).

    This is what I have so far.

    Code (Text):
    on mine of diamond ore:
            chance of 50%:
                    drop a coal of sharpness 1 named "&6test" with lore "&aTest||&bTest"      
    I found I should use skstuff, with that I can do 'with custom nbt "{HideFlags:1}"' I tried that but as I said it cancels the glow effect too.

    Can someone help me with this?

    Thanks for reading.

    - DarkBoomba

  2. So you want it to be glowing without the enchantment name?
  3. Yes, I noticed it was possible with "glowing" but it has to be accepted by bossshop so all the nbt tags must be the same.
  4. SkStuff and its NBT expressions will do the job.

Share This Page