Now, we know that it's possible to fiddle with redstone circuit items (see: the sunlight-activated "pressure" plate), and we know it's possible to determine whether water passes through a block or not (see: the underwater torches mod).
Is it possible to make a block that allows liquids to pass through it as long as it's powered, and otherwise block the flow when unpowered?
I'm not sure if it's possible, since anything that allows water to pass through it right now gets eliminated in the process (ie just regular torches and air). But what about making a block that allows/blocks the space ABOVE it instead? That way, the powered/unpowered block itself can never have liquids move through it (and thus won't be removed), but it would create a floodgate block above it when it's set to block water?
Perhaps it would create Plank blocks above itself whenever it's powered, and be made like this:
It would look like a cobblestone block with a wood block top. And then when it's powered, it creates plank blocks above itself. And then, perhaps, to avoid issues, placing a non-plank block above it causes it to be turned back into an item, and destroying the plank block OR itself will cause it to be turned back into an item...
Although, perhaps it shouldn't make plank blocks if we want it to block lava, haha. Still, maybe someone knows if this might be possible. It would open up a lot of possibilities. :biggrin.gif: Just thought I'd ask.
What would be cool would be to see the "hidden door" mod for servers added into single-alpha. It would serve as a flood gate because the blocks are being replaced. So the water/lava would stop flowing when the blocks are there, and flow when removed.
Then just a bit (Or a lot? Or not possible?) of tweaking and you could maybe get the block replacement controlled by redstone?
Yes, I know it's possible to have a one-time redstone-activated water/lava fall. However, I'm looking for something repeatable without manual resetting. Otherwise, TNT would work just as good. :tongue.gif:
Is it possible to make a block that allows liquids to pass through it as long as it's powered, and otherwise block the flow when unpowered?
I'm not sure if it's possible, since anything that allows water to pass through it right now gets eliminated in the process (ie just regular torches and air). But what about making a block that allows/blocks the space ABOVE it instead? That way, the powered/unpowered block itself can never have liquids move through it (and thus won't be removed), but it would create a floodgate block above it when it's set to block water?
Perhaps it would create Plank blocks above itself whenever it's powered, and be made like this:
It would look like a cobblestone block with a wood block top. And then when it's powered, it creates plank blocks above itself. And then, perhaps, to avoid issues, placing a non-plank block above it causes it to be turned back into an item, and destroying the plank block OR itself will cause it to be turned back into an item...
Although, perhaps it shouldn't make plank blocks if we want it to block lava, haha. Still, maybe someone knows if this might be possible. It would open up a lot of possibilities. :biggrin.gif: Just thought I'd ask.
TNT isn't resettable; a floodgate block would be. That's why I suggest it for mod authors to consider as their next big project :wink.gif:
Then just a bit (Or a lot? Or not possible?) of tweaking and you could maybe get the block replacement controlled by redstone?
for thought.
Portal Corruption suggestion