Solved Can I change items in item frame?

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

7stage

Member
Oct 20, 2021
4
0
1
16
I know the expression (Skellett Expression):
Code:
[skellett] item (in|inside|within|of|from) item[ ]frame %entity%
[skellett] %entity%'s item[ ]frame item
[skellett] item[ ]frame %entity%'s item
But, I don't know how to use it.
Can you suggest an example or another code type?
 
Hi,
try this one:

Code:
on right click on item frame:
   set item inside item frame %event-block% to stone
 
It works, but I want to set the item of item frame which is in a certain coordinate. How can I do that?
 
Try this instead of %event-block%:
(You need to replace x,y,z, and yourWorldName with your data.)

Code:
location(x, y, z, world "yourWorldName")
 
Try this instead of %event-block%:
(You need to replace x,y,z, and yourWorldName with your data.)

Code:
location(x, y, z, world "yourWorldName")

It returns "The returned value of the functin 'location', location, is not an entity.".
 
Status
Not open for further replies.