Cancel item stuck

  • Welcome to skUnity!

    Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.

    If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the community!

    Now, what are you waiting for? Join the community now!

  • LOOKING FOR A VERSION OF SKRIPT?

    You can always check out skUnity Downloads for downloads and any other information about Skript!

Status
Not open for further replies.

KAVKAZIE

Active Member
Feb 27, 2017
146
0
16
Hello how i can cancel to stuck items i mean like if i have 1 bread and another 1 bread i cant stuck it to 2
thanks for helping
 
Do you mean you want the bread to not stack? if so I know you can do it by giving it a different nbt tag, that way the name of the item is the same but it just won't stack. Here's an example. It requires the addon skstuff
code_language.skript:
command test:
    trigger:
        if {counter} is not set:
            set {counter} to 0
        give player bread with nbt "{antistack:%{counter}%}"
        add 1 to {counter}
The {counter} variable just ensures the nbt tag will be different every time
 
Status
Not open for further replies.