Advertisement
L0v0lup

Skript ✎ NBT in SkBee 2.5+ nutzen #155 Tutorial

Jan 26th, 2023
1,686
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.90 KB | None | 0 0
  1. command test:
  2.     trigger:
  3.         set {_item} to diamond axe
  4.         set tag "tag;Creator" of nbt compound of {_item} to uuid of player
  5.         give {_item} to player
  6.         broadcast "%nbt compound of {_item}%"
  7.  
  8. command test2:
  9.     trigger:
  10.         set {_item} to player's tool
  11.        delete player's tool
  12.         set {_nbt} to nbt compound of {_item}
  13.         delete tag "tag;Creator" of {_nbt}
  14.         delete tag "tag" of {_nbt}
  15.         give player {_item}
  16.  
  17. command nbt:
  18.     trigger:
  19.         broadcast "%nbt compound of player's tool%"
  20.  
  21. command k:
  22.     trigger:
  23.         set {_skull} to a player head with nbt compound from "{SkullOwner:{Id:""46ab6a75-6e0d-43ad-9571-cb45308431c4"",Properties:{textures:[{Value:""eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvNjBiNTVmNzQ2ODFjNjgyODNhMWMxY2U1MWYxYzgzYjUyZTI5NzFjOTFlZTM0ZWZjYjU5OGRmMzk5MGE3ZTcifX19""}]}}}"
  24.  
  25.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement