1. 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!

  2. LOOKING FOR A VERSION OF SKRIPT??:

    You can always check our our Wiki for downloads and any other information about Skript!

Dismiss Notice
This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Solved Adding NBT to entities?

Discussion in 'Skript' started by Hyao, Jul 2, 2017.

Tags:
Thread Status:
Not open for further replies.
  1. Hyao

    Hyao Well-Known Member

    Joined:
    Apr 1, 2017
    Messages:
    73
    Likes Received:
    4
    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 understand this condition/effect: *this line*

    I've grabbed the SkStuff file a couple of minutes ago, so I'll assume it's the last one released. Does anyone have a fix for this? Maybe a different plugin I should try? Or a different syntax? All help appreciated.

    #EDIT:

    execute console command "entitydata @e[type=armor_stand,x=%{_x}%,y=%{_y}%,z=%{_z}%,r=2] {NoGravity:1b,Small:1}"

    doesn't do ANYTHING at all, but

    execute console command "say hello"

    works. I'm lost. Using Bensku's 1.12 skript fork.
     
    #1 Hyao, Jul 2, 2017
    Last edited: Jul 2, 2017
  2. Best Answer:
    Post #2 by ShaneBee, Jul 2, 2017
  3. ShaneBee

    Supporter + Addon Developer

    Joined:
    Sep 7, 2017
    Messages:
    2,106
    Likes Received:
    150
    https://github.com/Tuke-Nuke/SkStuff

    Here's an unofficial fork of skStuff that should work with 1.12.

    Try using this command to test it:
    Code (Skript):
    1. command /enbt:
    2.     trigger:
    3.         set {_nbt} to nbt of target entity
    4.         message "%{_nbt}%"
    Use it while looking at an armour stand or another entity.
     
    • Like Like x 2
  4. ShaneBee

    Supporter + Addon Developer

    Joined:
    Sep 7, 2017
    Messages:
    2,106
    Likes Received:
    150
    Holy shit, you are a lifesaver. Thanks.
     
Thread Status:
Not open for further replies.
Loading...