Jump to content

How do I make custom items for the offhand?


LauchDerStarke

Recommended Posts

  • 2 weeks later...
on load:
    set {custom.item.strength} to redstone dust named "&cStrength Talisman" with lore "&7Hold to get strenght 1 effect!"

every 2 seconds:
    loop all players:
        if off hand item of loop-player is {custom.item.strength}:
            apply potion of strength of tier 1 to the loop-player for 2 seconds

command /givetalisman:
    permission: op
    trigger:
        give player 1 of {custom.item.strength}
        send "&cYou have received strenght talisman" to player

this should work 🙂

                                                                        Skærmbillede 2024-02-11 151140.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...