-
-
Save underscore95/2197171014e2952c14362782744e754d to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Copyright (c) 2025 underscore95 | |
| # Licensed under MIT: https://opensource.org/license/mit | |
| # https://www.youtube.com/watch?v=qeELRR_ebLQ | |
| # Requires SkBee | |
| command /giveitem: | |
| permission: item.admin | |
| trigger: | |
| set {_item} to 2 diamond | |
| set name of {_item} to "My Named Item" | |
| set lore of {_item} to "Hello", "&fHello2" and "hiedrnfiuwn" | |
| enchant {_item} with unbreaking 1 | |
| add hide enchants to item flags of {_item} | |
| set string tag "my_data" of custom nbt of {_item} to "Hello!" | |
| give {_item} to player | |
| command /saytag: | |
| trigger: | |
| set {_data} to string tag "my_data" of custom nbt of player's tool | |
| if {_data} is not set: | |
| send "&cno data set" to player | |
| exit | |
| send "data: %{_data}%" to player |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment