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. S

    Help with making a "minigun"

    So my code is as follows on right click with bow: execute console command "execute as @p at @p run summon arrow ~ ~ ~ {Motion:[1.0,0.0,0.0]}": I'm trying to make it fire in a direction, but when i try to run it, it shows as an error but there is no error without the motion nbt tag.
  2. Squarebuilder

    Solved Custom Head in a GUI

    Hi there, I've been trying to get custom heads (e.g. https://minecraft-heads.com/custom-heads/miscellaneous/4318-twitter) into a GUI for a few weeks now. I tried this code among others: command /gui: trigger: open virtual chest inventory with 1 row named "&6GUI" to the sender...
  3. A

    Player dat nbt editing, is it possible?

    Long long ago, I used a plug in conjunction with skript to edit 4 components of player nbt: movement speed, base ranged attack, base melee attack, fall damage. Or maybe one of those was base defense. Anyway, these were values stored in the player nbt data. Searching I see a LOT of stuff about...
  4. S

    Solved Equipping a zombie with a custom head

    Hello there. I believe the title sums it up, so... Basically, I have to equip a zombie with a head with a custom ID, not a head which can be retrieved from a Minecraft account. The zombie has to wear it on his head. Although, I don't know how to do it and what skript addons I need. Thanks in...
  5. H

    Adding A nbt to a variable that contains an item

    I do not know what to do, i've been searching in the fourms for about 15 minutes and i can't find any other helpfull fourm about this, i get this error
  6. D

    Solved On Block Place

    Hey guys! I'm a relatively new skripter, and I'm not sure on how to "discriminate" which blocks get placed. (I'm trying to make a generator plugin, and I've gotten everything else worked out) I've tried adding an NBT tag and even trying to change MetaData; (to no avail) Heres the code I've been...
  7. D

    Giving item with NBT

    How do i give items with nbt, I have tried this: give player head with nbt...
  8. A

    Solved How do I get location of targeted block without XYZ

    This will be used to summon a mob using a console command, but for that i need the location without "X:, Y:, Z:" command /value [<text>]: trigger: message "%location of targeted block%" set {_target} to location of targeted block message "%{_target} parsed as...
  9. L

    Book's NBT

    is book's nbt avalible be like add {pages:['{"text":"haha"}']} to nbt of player's tool and add 1 more {pages:['{"text":"heyheyhey"}']} to nbt of player's tool than book show me "hahaheyheyhey"??? now i add nbt to nbt of player's tool he just show me "heyheyhey",they replaced "haha" anyway can...
  10. T

    Add custom NBT to dropped item

    So the below code is working for everything except for the adding the custom attribute ala NBT to the leather cap. I have been at this for hour just going full blown shotgun strategy trying literally everything I research to get this to work :/ no luck. (also im brand new to skripting so be nice...
  11. T

    Remove damage meter from iron sword

    Hello, Is there a possibility that the danage meter / bar is no longer displayed if the item is damaged? Depending on the damage to the item, a certain texture is displayed. that also works Something like this must be included in the texture package of a JSON file so that the damage meter / bar...
  12. Riknesh

    Custom NBT

    Im trying to make a skript where it adds the spawn reason to the nbt of a mob. I tried to test it on sheeps. on spawn of sheep: "%spawn reason%" is not "natural": add "{spawnreason:1}" to entity-nbt of last spawned sheep It seems like the skript isn't working. Any way to fix it or...
  13. C

    Nbt value/string Check.

    So ... It's been a while that some of my friends and I have been using nbt and skript just for fun, so I'd like to know if there's a way to check a player's Nbt value or string and then trigger something (we're using skript 1.7.10 ie some addons are not compatible.)
  14. dreike

    Solved TuSKe GUI with SkStuff NBT.

    https://pastebin.com/BLXXJ8Xt This repeats itself 10 times.
  15. IMO0226

    Store NBT without coordinates

    Skript Version: Skript 2.3.6 Skellet Version: Skellet 1.9.6b Minecraft Version: 1.13.2 I want to create a system what helps the players move entities with just clicking with an item. The system removes the entity, stores the NBT of that entity without any problems, summons the new entity with...
  16. L0v0lup

    Solved Cant >Add< NBT to existing Item

    Minecraft 1.12.2 Skript 2.2-dev36 |SkStuff T-Nuke Fork Hello, i am currently working on RPG Sets in Minecraft. For a set effekt i am trying to add HP attributes to an set part after all 4 armour parts have been equipped. What would work: give player diamond boots with custom nbt...
  17. Riknesh

    Itemstack size

    It is possible to change the maximum item stack size for an item. For example...i want to set the maximum stack size for a spawner to 1 while in player's inventory Is there any way to do this? like using custom nbt or smtg else
  18. W

    Nbt splitting

    So this might be more of a MC thing, but i cant find anything to do this, let me explain my problem. I have skills on my server, and have a attack speed skill (1.9 combat) and i want to increase that by the amount that is on the weapon itself, however it will only register the attack speed...
  19. D

    Solved Help About NBT

    Hello i have a problem about NBT how to give NBT to On Spawn of Zombie but giving NBT using command succeeded This is my script this does not work and there is no error but, I try not to follow my NBT instead just like a regular zombie on spawn of zombie: wait 1 ticks set {_a} to...
  20. MarijnPlays

    Knockback Resistance

    Hey, i wanted to know if there is a way to get the generic.knockbackresistance on armor like vanilla minecraft but with a skript command.