Solved Summon items

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

  • LOOKING FOR A VERSION OF SKRIPT?

    You can always check out skUnity Downloads for downloads and any other information about Skript!

Status
Not open for further replies.

Aztron

New Member
Mar 15, 2017
7
0
0
29
How do I summon items in certain cordinates?
i want to summon, not drop. It's possible?
 
By specifying that you want to summon, I assume you mean using the vanilla command. If so, you can just run the command via console:

code_language.skript:
execute console command "/summon minecraft:creeper 0 100 0"

Of course, you can change that to summon an item, change the coordinates, and/or add NBT tags to the end of it to change the summoned item. Note that console commands default to running relative to the main world, the one named just "world". If you want to run it in a different world, you should execute the command relative to a player. So for example, if you want the player to summon a creeper at 0 100 0 in THEIR world whenever they right click, you can do:

code_language.skript:
on right click:
    execute console command "execute %player% ~ ~ ~ /summon minecraft:creeper 0 100 0"

And it will summon in their world no matter what world it is.
 
Status
Not open for further replies.