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.

block placed is chest??

Discussion in 'Skript' started by hh07, Jan 22, 2023.

Thread Status:
Not open for further replies.
  1. hh07

    hh07 Member

    Joined:
    Jan 22, 2023
    Messages:
    2
    Likes Received:
    0
    I want to check if the block I place is a chest or next to a chest
     
  2. xdh

    xdh Active Member

    Joined:
    Apr 15, 2020
    Messages:
    88
    Likes Received:
    4
    Code (Text):
    1. on block place:
    2.     loop all blocks around event-block in radius 3:
    3.         if loop-block is chest or trapped chest:
    4.             send "chest"
    something like this, didnt test
     
  3. hh07

    hh07 Member

    Joined:
    Jan 22, 2023
    Messages:
    2
    Likes Received:
    0
    I am new but i Tested that it worked but I want that if you build a block (furnace) next to the chest or build a chest next to a furnace. It doesnt work when I do it with two 'if'.
    Sorry for my english .
     
  4. xdh

    xdh Active Member

    Joined:
    Apr 15, 2020
    Messages:
    88
    Likes Received:
    4
    it depends on how you place your if statements, send me your code
     
  5. Merrical

    Supporter

    Joined:
    Jul 27, 2020
    Messages:
    29
    Likes Received:
    3
    I'm sorry, but we don't give exact answers here because then we wouldn't be doing our job. You know how to check what the loop-block and event-block is, so try to get it working by yourself. We aren't spoon feeders.(not trying to be harsh, just the truth)
     
Thread Status:
Not open for further replies.

Share This Page

Loading...