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.

Hi, I've been trying to find a way to see the items inside a shulker

Discussion in 'Skript' started by WestinGames, Aug 10, 2022.

  1. WestinGames

    WestinGames New Member

    Joined:
    Feb 12, 2022
    Messages:
    7
    Likes Received:
    0
    Hi, I've been trying to find a way to see the items inside a shulker for a Dupe skript.

    Thanks!
     
  2. Tenfont

    Tenfont Member

    Joined:
    Mar 28, 2021
    Messages:
    31
    Likes Received:
    2
    Code (Skript):
    1. loop compound list tag "tag;BlockEntityTag;Items" of (nbt compound of {_shulker}):
    2.   add item of nbt (loop-value) to {_items::*}
    {_shulker} would be your item.

    the items of the shulker will be stored in the {_items::*} variable. You can open a GUI with it, give it to the player, etc
     

Share This Page

Loading...