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.

Disable Infinite Water Sources

Discussion in 'Skript' started by V3N63R_, Sep 11, 2018.

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

    V3N63R_ Member

    Joined:
    Sep 11, 2018
    Messages:
    1
    Likes Received:
    0
    Hello everyone, i need an script that disables the formation of infinite water, i was trying to do it but without success.
    Hope if someone can help me, thanks!
    (Using Google Translator :emoji_dizzy_face:)
     
  2. jjpwn1

    jjpwn1 Member

    Joined:
    Aug 18, 2018
    Messages:
    12
    Likes Received:
    8
    According to the Minecraft Wiki:
    Therefore, we would need to recreate those conditions and cancel event if necessary.

    Code used:
    Code (Skript):
    1. on bucket empty:
    2.     set {_conditions::1} to true  if block below is solid else false
    3.     set {_conditions::2} to true if block below is stationary water else false
    4.     if {_conditions::*} contains true: #if the block below is a source water block or solid:
    5.         loop blocks in radius 3: #Checks for any water blocks next to, or adjacent
    6.             if loop-block is stationary water:
    7.                 add 1 to {_i}
    8.             if {_i} is more or equal to 2:
    9.                 cancel event
    However, keep in mind this only prevents water placement from buckets.
     
Thread Status:
Not open for further replies.

Share This Page

Loading...