Mineuniverse
Log in Register
Plugins

Water Sensor

Easy, robust water sensor that powers redstone.
by _ForgeUser6840554
Download Claim this project
3,588 downloads
0 likes
Updated Jun 30, 2026
0 hypes
Mechanics

Water Sensor

The water sensor mod provides a robust, efficient, no-fuss water sensor that switches nearby levers on when water is next to it. I made this sensor to replace all other buggy, inefficient sensor types, such as the boats-on-pressure-plates sensor, or the CraftBook IC 0260, which needs to be registered with the CraftBook thread (making it incompatable with instance dungeon plugins like TempleCraft and DungeonBuilder.) Now we can all make water temples!

The sensor is made by placing a Lapiz Lazuli block (configurable) next to where water will flow, and then placing a lever next to the Lapiz block. When water flows next to the block, the lever will be turned on. When there is no more water next to the sensor block, the lever is turned off. Here's an example of how the sensor might be placed in a redstone system:
http://chrisknyfe.net/dumptruck/2011-09-20_22.20.09.png
http://chrisknyfe.net/dumptruck/2011-09-20_22.20.21.png

Code is hosted at https://github.com/Chrisknyfe/WaterSensor. I use maven to build the repository into a jar.

Features of the sensor:

  • Detects water without those gorram glitchy boats.
  • Robustness
  • Creates no extra threads, allocates no extra memory.
  • You don't have to register each sensor using a sign or a command
  • Works with dungeon building plugins like DungeonBuilder and TempleCraft.

This is my first bukkit plugin ever. In the future, I'd like to add a light sensor and a lava sensor to the plugin as well.

Known Issues (both caused by me not having a robust way to detect water draining completely empty...):

  • Flickering when water is draining next to the sensor.
  • Sensor won't turn levers off if two water blocks drain next to the sensor at the same time.
  • Doesn't detect still water? (unverified)
  • Doesn't detect waterfalls.

Planned features:

  • Lava sensor
  • Light sensor

Let me know if you find any bugs, or have any further suggestions for simple sensors you think are missing from Minecraft.

v1.02
MC CB 1337
Release 2011-10-29 Get
v1.01
MC CB 1185
Release 2011-09-27 Get
v1.0
MC CB 1060
Release 2011-09-21 Get

You Might Also Like

MobHealth
Simple plugin to let you know the damage you just caused to a mob, and how much health it has left.
989,881
Player Heads
Lop off Player and all Mob Heads with configurable drop rates + pvp-farming nerf, includes detailed commands and permissions
979,351
Advanced Item Effects
Adds custom effects to any item including potion effects.
97,290
VoxelMore
"Sharing is caring."
9,999
SunSteel
A Golden Item Enhancement Plugin
9,880
Sneaker
Hide name tags above players' heads.
9,865