Jump to content

Unbreakable pick when join


Yodamaster

Recommended Posts

How do you make a pick unbreakable, add a name, and enchant it. This is all i have so far it gives a pick on 1st join but its not unbreakable.

 

on join:
    if {Joinpick} does not contain player's uuid:
    add player's uuid to {Joinpick}
    add wooden pickaxe to player

Link to comment
Share on other sites

Hello!

I'm not the sharpest on this area, but I think this should work.
 

on join:
    if {joinpick::*} does not contain player's uuid:
        set {_item} to unbreakable wooden pickaxe named "&aTest" 
        enchant {_item} with efficiency 5
        add {_item} to player
        add player's uuid to {joinpick::*}

It should work perfectly fine. Please let me know if I'm incorrect.

Continue this thread if you need more help.

 

image.png.e46e91961f1d6d4604a6e5f3dcb5a2bd.png

unknown.pngunknown.png

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...