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

summon item at entity

Discussion in 'Skript' started by Bomby_5, Sep 26, 2022.

  1. Bomby_5

    Bomby_5 Member

    Joined:
    Jan 11, 2022
    Messages:
    3
    Likes Received:
    0
    hi! so im trying to make a script that spawns an item at another mob(in this case a chicken with specific nbt) and i cant use commands for this, so would it be possible with skript?
     
  2. lotzy

    lotzy Active Member

    Joined:
    Mar 15, 2022
    Messages:
    138
    Likes Received:
    22
    Code (Text):
    1. set {_item} to chicken named "super chicken?"
    2. drop {_item} at {_entity}
    Where is {_entity} is needed entity
     
  3. Bomby_5

    Bomby_5 Member

    Joined:
    Jan 11, 2022
    Messages:
    3
    Likes Received:
    0
    really helpful but how do i make it work with nbt not names
     
  4. lotzy

    lotzy Active Member

    Joined:
    Mar 15, 2022
    Messages:
    138
    Likes Received:
    22
    Skbee addon I think. [NBT Skbee docs]
    Code (Text):
    1. set {_item} to chicken with nbt (nbt compound from "{SomeTag:True}")
     
    • Agree Agree x 1
  5. Pierrelasse

    Pierrelasse Active Member

    Joined:
    Apr 20, 2022
    Messages:
    114
    Likes Received:
    4
    set {_item} to chicken with nbt "{SomeTag:""true""}"*

    xD
     
  6. lotzy

    lotzy Active Member

    Joined:
    Mar 15, 2022
    Messages:
    138
    Likes Received:
    22
    Welcome to the reality of Skbee*
    upload_2022-10-3_18-17-54.png

    XD
     
  7. Pierrelasse

    Pierrelasse Active Member

    Joined:
    Apr 20, 2022
    Messages:
    114
    Likes Received:
    4
    That what i posted:

    Works on: my server

    Btw removing that ... with nbt "{}"
    is bad af for me cuz then i can recode all gui stuff :emoji_angry:
     

Share This Page

Loading...