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.

On explode doesn't check water around chests

Discussion in 'Skript' started by Hordoss, Sep 13, 2021.

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

    Hordoss Member

    Joined:
    Sep 13, 2021
    Messages:
    2
    Likes Received:
    0
    Hi all, (Sorry in advance for my bad english)
    i'm trying to make a skript where the explosions break the water in a radius of 2.

    It breaks the water well but the problem is that it doesn't count the chest surrounded by water event if the tnt explode just next to the chests.

    (Screen of chests surrounded by water)

    [​IMG]

    Here is my code:

    Code (Text):
    1. on explosion:
    2.     loop blocks in radius 2:
    3.         if loop-block is water:
    4.             break loop-block naturally using player' tool
    Thank you in advance for your help !
     
  2. Minecoll_YT

    Supporter Forums Helper

    Joined:
    Dec 2, 2018
    Messages:
    650
    Likes Received:
    40
    This is because of water logging in the newer versions, you should be able to get the waterlog state of a block using nbt data
     
  3. Hordoss

    Hordoss Member

    Joined:
    Sep 13, 2021
    Messages:
    2
    Likes Received:
    0
    Oh wow is there any link to have these nbt ? :x
     
Thread Status:
Not open for further replies.

Share This Page

Loading...