nbt

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

  1. Riknesh

    Solved Custom NBT

    How can I add a custom NBT to a item. I tried following the example in the SkUnity Documentation but didnt work for me. I already have SkStuff installed. None of these seemed to work. Sad lyf command /debug1: trigger: give player a stone with custom nbt "{test:10}"...
  2. Pexien

    How to give items that can only break certain blocks

    I am coding a adventure script for my server, and I want to give the player's a diamond pickaxe that can only destroy sponge. How do you add the canDestroy tag in skript? Ir would also be good if I could give players sponge blocks that could only be placed on certain blocks in skript. Is there...
  3. XxMartuixX

    Solved I need minecraft name of a item in a variable

    Hi, I have a big problem ... I have to add the nbt to an armor stand through an object list This is the code inside the function to add the nbt add...
  4. ChisleLP

    Script Head Database 1

    Do you want get any Heads without searching in explorer? There you go. It's simple - just run /head and you will see a GUI with 9 different categories Addons Requirements: -reqn (For getting Skull from Web) -Skript-Json (For making your life easier!) -Skellett (For GUI) Currently available...
  5. BirdCanFly

    Solved fireworks

    Hello, I want to make firework explode directly after i spawned it with a command/item, is this possible? And how can i do it?
  6. T

    [Need Help] Checking NBT of block with SkStuff

    I'm pretty new to Skript, so I need some help. What I'm trying to do is to check the NBT tags of a block with the on break event. I saw "NBT of an entity, block or item" in SkStuff, but it seems to only work when you're adding/removing a tag from an entity/block. Basically, I want to add...
  7. kapec323

    Custom item model by damage with skript

    hey i want to create a custom item witch texture pack i have model file (if damage of hoe is 0.0012545482 hoe get diamond sword look) how i can do it in skript like nbt or set damage ? i found plugin called NewItems on spigot premium and its work like my idea
  8. Mikioul

    Remove indesirable NBT

    Hello, i have a command to get a command block to spawn a custom entity execute player command "/setblock ~ ~ ~ command_block 0 replace {Command:/summon armor_stand ~ ~ ~ %nbt of {ast.edit.%player%}%}" In "%nbt of {ast.edit.%player%}%" there should be the nbt of the armorstand.. But i have...
  9. Hyao

    Solved Adding NBT to entities?

    So, I've tried to work with SkStuff, but it doesn't seem to work and just returns an error. There's also a review on its resource page about how it doesn't work in 1.12 - is that so? Am I just doing it wrong? I've got so much: add "{Invulnerable:1}" to nbt of {_as} but it returns Can't...
  10. Juc70

    Solved Using NBT values in scripts

    --- Partial Code: command /NBT <Item=bone> <Number=10>: trigger: give arg-1 with custom nbt "{hr:{valueHolder:%arg-2%}}" to player Soo, if I wish to use valueHolder in parts of my script for example checking if its equal to 0 What would be the best way on doing so. -//- I wish to...
  11. Duetro

    Format Slot - NBT Edition (SkStuff)

    Example: command /xxxx: trigger: open chest with 3 rows named "test" to player formatSlot(player's current inventory, 10, 1, (diamond named "&b&lDIAMOND"), "broadcast ""Skript is awesome!""") Requires: - SkStuff - SkQuery Code: function formatSlot(inv: inventory, slot...
  12. FightingPlay

    Solved Getting Custom Skulls with nbt

    Skript Version: 2.2-dev20 Skript Author: Bensku Minecraft Version: 1.8.8 --- Hey there, Because SKQuery 4 is throwing much errors on reload I cannot use more the "custom skull "" " expression. So I tried to use custom nbt from a head database. But the head/skull is a steve skull or a skeleton...
  13. EWS

    Script skBackpacks NBT | A better way to store your stuff! 3.3 release

    skBackpacks [insert a wonderful logo here] ABOUT: This script allows you to store your items in a non-virtual backpack! It's great for hardcore servers that just want to give player's more slots, but without making them unstealable! Every backpack can be traded, stole and sold! FEATURES: •...