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.

How to set an item in an itemframe?

Discussion in 'Skript' started by pepper82, Sep 12, 2019.

  1. pepper82

    pepper82 Member

    Joined:
    Jan 26, 2017
    Messages:
    239
    Likes Received:
    1
    Hi all,
    how can I set an item in an itemframe (without using Skellett addon) ?
     
  2. ShaneBee

    Supporter + Addon Developer

    Joined:
    Sep 7, 2017
    Messages:
    2,088
    Likes Received:
    146
    Item of an Entity
     
  3. pepper82

    pepper82 Member

    Joined:
    Jan 26, 2017
    Messages:
    239
    Likes Received:
    1
    I can not get it to work:

    Code (Text):
    1. command /testi [<text>]:
    2.     trigger:
    3.         loop all item frames in radius 5 around player's location:
    4.             set item of entity to cookie
    5.  
    No errors. Does not set cookie into itemframe.
     
  4. ShaneBee

    Supporter + Addon Developer

    Joined:
    Sep 7, 2017
    Messages:
    2,088
    Likes Received:
    146
    for this line
    "set item of entity to cookie"
    try "item of loop-entity" or "item of loop-item frame"
     
Loading...