Solved Removing/killing Item frame / paintings

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

    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.

Kiri

Active Member
Jan 28, 2017
54
2
1
More or so asking this without a format because I believe it's just a syntax question, but how would I go about killing/removing a item frame / paintings?
 
Just set the block at the item frame's location to air. Or if item frames are considered entities you can loop entities in radius 1 around the item's frame location, check if loop-value is an item frame, and if so, delete loop-value.

Same for paintings. If you can't figure out the syntax for that ^ stuff just ask.
 
Status
Not open for further replies.