Jump to content

  • Curse Sites
Become a Premium Member! Help
Latest News Article

Interaction between water and redstone


  • Please log in to reply
30 replies to this topic

#1

Raphfrk
    Raphfrk

    Stone Miner

  • Members
  • 95 posts

Posted 10 October 2010 - 11:38 PM

Did a search on "water and redstone", and couldn't find anything related to this.

Anyway, it is possible to use redstone to update water flow.

On top of a flat surface you build:

:obsidian:  :White:  :White:  :White:  :White:  :White:  :White:
:obsidian:  []  []  []  []  []  :White:
:obsidian:  :White:  :White:  :White:  :White:  :White:  :White:
:obsidian:  :White:  :White:  :White:  :White:  :White:  :White:
:obsidian:  []  []  []  :Logs^:  []  []

:obsidian: = ditch
:Logs^: = button

Next place water in as shown

:obsidian:  :White:  :White:  :White:  :White:  :White:  :White:
:obsidian:  []  []  []  :Water:  []  :White:
:obsidian:  :White:  :White:  :White:  :White:  :White:  :White:
:obsidian:  :White:  :White:  :White:  :White:  :White:  :White:
:obsidian:  []  []  []  :Logs^:  []  []

The water will flow left, since that is the shortest distance to a drop.

:obsidian:  :White:  :White:  :White:  :White:  :White:  :White:
:obsidian:  :Water:  :Water:  :Water:  :Water:  []  :White:
:obsidian:  :White:  :White:  :White:  :White:  :White:  :White:
:obsidian:  :White:  :White:  :White:  :White:  :White:  :White:
:obsidian:  []  []  []  :Logs^:  []  []

Next remove the blocks between the water and the ditch.

:obsidian:  :White:  :White:  :White:  :White:  :White:  :White:
:obsidian:  :Water:  :Water:  :Water:  :Water:  []  :White:
:obsidian:  []  []  []  []  :White:  :White:
:obsidian:  :White:  :White:  :White:  :White:  :White:  :White:
:obsidian:  []  []  []  :Logs^:  []  []

and then

:obsidian:  :White:  :White:  :White:  :White:  :White:  :White:
:obsidian:  :Water:  :Water:  :Water:  :Water:  []  :White:
:obsidian:  []  []  []  []  :White:  :White:
:obsidian:  []  []  []  []  []  []
:obsidian:  []  []  []  :Logs^:  []  []

Wire up the redstone

:obsidian:  :White:  :White:  :White:  :White:  :White:  :White:
:obsidian:  :Water:  :Water:  :Water:  :Water:  []  :White:
:obsidian:  []  []  []  :D  :White:  :White:
:obsidian:  []  []  []  :RedShroom:  []  []
:obsidian:  []  []  []  :Logs^:  []  []

Dig a ditch on the right

:obsidian:  :White:  :White:  :White:  :White:  :White:  :White:
:obsidian:  :Water:  :Water:  :Water:  :Water:  []  :obsidian:
:obsidian:  []  []  []  :RedShroom:  :White:  :White:
:obsidian:  []  []  []  :RedShroom:  []  []
:obsidian:  []  []  []  :Logs^:  []  []

Now the ditch on the right is nearer to the water source, so the water should flow right.  However, the water source will only update if a block next to it is changed.

If you stand on the pad, the redstone dust will change from off to on.  This counts as an update of a block beside the water and so, it will flow to the right and down into the ditch.

:obsidian:  :White:  :White:  :White:  :White:  :White:  :White:
:obsidian:  :Water:  :Water:  :Water:  :Water:  :Water:  :obsidian:
:obsidian:  []  []  []  :RedShroom:  :White:  :White:
:obsidian:  []  []  []  :RedShroom:  []  []
:obsidian:  []  []  []  :Logs^:  []  []

This could be used to set up a water trap that is activated by a pad (or any other redstone circuit).

It is a one shot effect.  Once it is triggered, it would need to be manually reset, but it is pretty quick to do.

Step 1: cover the ditch and the block beside the source:

:obsidian:  :White:  :White:  :White:  :White:  :White:  :White:
:obsidian:  :Water:  :Water:  :Water:  :Water:  :White:  :White:
:obsidian:  []  []  []  :RedShroom:  :White:  :White:
:obsidian:  []  []  []  :RedShroom:  []  []
:obsidian:  []  []  []  :Logs^:  []  []

Step 2: Remove the block beside the source

:obsidian:  :White:  :White:  :White:  :White:  :White:  :White:
:obsidian:  :Water:  :Water:  :Water:  :Water:  []  :White:
:obsidian:  []  []  []  :RedShroom:  :White:  :White:
:obsidian:  []  []  []  :RedShroom:  []  []
:obsidian:  []  []  []  :Logs^:  []  []

Step 3: Uncover the ditch

:obsidian:  :White:  :White:  :White:  :White:  :White:  :White:
:obsidian:  :Water:  :Water:  :Water:  :Water:  []  :obsidian:
:obsidian:  []  []  []  :RedShroom:  :White:  :White:
:obsidian:  []  []  []  :RedShroom:  []  []
:obsidian:  []  []  []  :Logs^:  []  []

[Edit]

Took some images:

Posted Image

Posted Image
Serverport - Server to Server Teleporting mod - includes client mod
Defaultserv - Default multiplayer server mod

Register or log in to remove.

#2

ThreadWeaver

Posted 10 October 2010 - 11:43 PM

Good work. It could be a neat way to flood a room. Does this trick work for lava as well?

#3

Kiershar
    Kiershar

    Forum/Wiki Sponsor

  • Curse Premium
  • 299 posts

Posted 10 October 2010 - 11:53 PM

One way of doing that I though of is putting a switch, iron door and a flow of water just behind the iron door.
Unfortunatly it doesnt work :/ the water and lava gets stopped by the door. I really wish it woulda flown trough.

Your idea is actually pretty good... i have to test that...


EDIT : Brilliant. This works as advertised :Diamond:

#4

Raphfrk
    Raphfrk

    Stone Miner

  • Members
  • 95 posts

Posted 10 October 2010 - 11:54 PM

ThreadWeaver said:

Good work. It could be a neat way to flood a room. Does this trick work for lava as well?

Yes (and thanks)
Serverport - Server to Server Teleporting mod - includes client mod
Defaultserv - Default multiplayer server mod

#5

fireb0rn
    fireb0rn

    Diamond Miner

  • Members
  • 788 posts

Posted 10 October 2010 - 11:56 PM

Very good find. Thanks for posting it.
Posted Image

#6

Alpha_Squad

Posted 11 October 2010 - 12:02 AM

Awesome find, I will have to use this for traps. Though still the only draw back is the manual resetting. We are getting close to making floodgates before Notch has implemented them but we aren't quite there yet.
Starcraft 2 is the Brawl to Brood War's Melee
Posted Image

Doug Hug'em said:

Let's kick ass and eat granola and lucky for you I brought lots of granola

#7

Uberubert

Posted 11 October 2010 - 12:07 AM

oh wow, nice!

#8

Raphfrk
    Raphfrk

    Stone Miner

  • Members
  • 95 posts

Posted 11 October 2010 - 12:48 AM

Alpha_Squad said:

Awesome find, I will have to use this for traps. Though still the only draw back is the manual resetting. We are getting close to making floodgates before Notch has implemented them but we aren't quite there yet.

The only thing I can think of it to use the water -> torch -> block trick to drop some sand blocks to do the reset.

However, then you have the problem of resetting those water systems.  It would mean a finite number of on/off actions, but at least you could disarm the trap using redstone once it had gone off.
Serverport - Server to Server Teleporting mod - includes client mod
Defaultserv - Default multiplayer server mod

#9

Raphfrk
    Raphfrk

    Stone Miner

  • Members
  • 95 posts

Posted 11 October 2010 - 01:17 AM

Kiershar said:

EDIT : Brilliant. This works as advertised :D

Thanks.
Serverport - Server to Server Teleporting mod - includes client mod
Defaultserv - Default multiplayer server mod

#10

Kiershar
    Kiershar

    Forum/Wiki Sponsor

  • Curse Premium
  • 299 posts

Posted 11 October 2010 - 05:32 AM

I used your concept to make this :

OXYTGcY2tlQ


Also 100% viable for falling lava traps!

#11

Raphfrk
    Raphfrk

    Stone Miner

  • Members
  • 95 posts

Posted 11 October 2010 - 03:17 PM

Kiershar said:

I used your concept to make this :

Also 100% viable for falling lava traps!

Right, you could have a pad release water to block the ways out with sand (and kill lighting) and then drop lava on the target (or maybe just use drowning in complete darkness).
Serverport - Server to Server Teleporting mod - includes client mod
Defaultserv - Default multiplayer server mod

#12

Radioaktiivinen
  • Location: Here

Posted 11 October 2010 - 03:26 PM

hmmm...

if another source of water falls in that pit too, would a update cause the first flow to change direction?

(can another water block affect the flowing of the first river?)



as if you combined 2 water flows you could get it have more uses xP
*Insert fun quote*

*Insert random links*

*Insert bar saying that minecraft was bought googolplexian times*

#13

Raphfrk
    Raphfrk

    Stone Miner

  • Members
  • 95 posts

Posted 11 October 2010 - 04:21 PM

Radioaktiivinen said:

as if you combined 2 water flows you could get it have more uses xP

Water only seems to update if one of the directly bounding blocks is updated.  Water blocks are not affected by blocks lower than the block (except directly under).
Serverport - Server to Server Teleporting mod - includes client mod
Defaultserv - Default multiplayer server mod

#14

Suck My Blowfish

Posted 11 October 2010 - 04:27 PM

Hmmm... I am definitely making a plate trigger to floor the side of my mountain in case of a creeper invasion...  :iapprove:

Now all we have to do is find a way to make it auto reset...
Posted Image

#15

jobzy616
    jobzy616

    Zombie Killer

  • Members
  • 222 posts

Posted 11 October 2010 - 04:36 PM

so many possibilities

#16

DeliixE
    DeliixE

    Iron Miner

  • Members
  • 337 posts
  • Location: Canada, Nova Scotia
  • Minecraft: DeliixE

Posted 11 October 2010 - 04:41 PM

Damn, thats pretty awesome.

Sorrowfox said:

CREEPER FISH!!!! grglemrgleurglesssssssSPLASHBOOOM!

#17

qwertyuiopthepie

Posted 11 October 2010 - 10:46 PM

Awesome!  I was searching for something like this.  Now I don't have to remake my old post-less thread!

#18

The K-man
  • Location: Outside your window, and damn youre sexy.

Posted 11 October 2010 - 10:59 PM

Very interesting, cant wait to play around with this.

Zanith said:

There was a man who feared not the reaper
He dug in the earth ever deeper
Diamonds of his
Were lost, with a hiss
There is a man who now fears the creeper

#19

rosedragon
  • Location: Indonesia
  • Minecraft: rosedragon

Posted 11 October 2010 - 11:57 PM

nice founding! Thanks for sharing!
I made gigantic monster sculptures, repaint minecraft screenshots to digital art, and make maps. You can check my creations here:
Posted Image

#20

Raphfrk
    Raphfrk

    Stone Miner

  • Members
  • 95 posts

Posted 12 October 2010 - 01:03 PM

Btw, I updated the fluids page on the wiki with my understanding of how water works, feel free to add any corrections.
Serverport - Server to Server Teleporting mod - includes client mod
Defaultserv - Default multiplayer server mod