Solved Removing NBTs from Items

  • 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 comminuty!

    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.

KingDooms

Member
Jun 10, 2020
26
0
1
So, im trying to remove NBTs from items, i tried looking for help and someone said to put "remove {NBT} from player's held item" but that didn't work... Any help? Oh and by the way I have SkBee on me.


Code:
            remove "{Unbreakable:1b,AttributeModifiers:[{AttributeName:""generic.attack_speed"",Name:""generic.attack_speed"",Amount:-3.1,Operation:0,UUID:[I;-2024264647,-367048635,-1289783227,2145752734],Slot:""mainhand""}]}" from nbt of player's held item
 
So, im trying to remove NBTs from items, i tried looking for help and someone said to put "remove {NBT} from player's held item" but that didn't work... Any help? Oh and by the way I have SkBee on me.


Code:
            remove "{Unbreakable:1b,AttributeModifiers:[{AttributeName:""generic.attack_speed"",Name:""generic.attack_speed"",Amount:-3.1,Operation:0,UUID:[I;-2024264647,-367048635,-1289783227,2145752734],Slot:""mainhand""}]}" from nbt of player's held item
Code:
set player's tool to player's tool with no nbt
 
Status
Not open for further replies.