Jump to content

Need Help with a different item drop skript


Tewca

Recommended Posts

I am trying to get this skript to work for when you break a coal block you get a piece of coal with {HideFlags:1} and unbreaking 10. However, I don't know how to implement this into my code so if someone could help me I would be grateful.

My Current Code:

on mine of coal block:
    cancel event
    set event-block to air
    give player 1 coal named "&5Ancient Crystalized Coal" with lore "&9Item Type: &5Ancient Crystalized"

 

Link to comment
Share on other sites

on mine of coal block:
    cancel event
    set event-block to air
    give player 1 coal named "&5Ancient Crystalized Coal" with lore "&9Item Type: &5Ancient Crystalized" with all flags hidden


This should work also will hide all Flags, so enchants, categories and more will be hidden

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...