Cuberite Forum
Sourceblock creation in Floody simulator - Printable Version

+- Cuberite Forum (https://forum.cuberite.org)
+-- Forum: Cuberite (https://forum.cuberite.org/forum-4.html)
+--- Forum: Development (https://forum.cuberite.org/forum-13.html)
+--- Thread: Sourceblock creation in Floody simulator (/thread-624.html)



Sourceblock creation in Floody simulator - xoft - 11-15-2012

When I wrote Floody fluid simulator, I deliberately didn't implement sourceblock creation (3x1 hole, put water in the ends, a sourceblock is created in the middle). Having a way to generate infinite water from two sourceblocks didn't feel right to me. But now it has been asked in the bugtracker that this feature be added. So this thread is to ask, whether you'd like to have sourceblock creation in Floody simulator.
As usual, on-topic comments are welcome.
I'm personally gonna go with "configurable", as usual. Give them their freedom! Smile


RE: Sourceblock creation in Floody simulator - ThuGie - 11-15-2012

Well as you plan to add the original vanilla simulator anyway right ?
Why not only add it to that ?

In the end if you ever add it i will use the vanilla simulator anyway. so people dont get there planning washed away :p.


RE: Sourceblock creation in Floody simulator - Taugeshtu - 11-15-2012

Quote:I'm personally gonna go with "configurable", as usual. Give them their freedom!
You know, in terms of how to write a software that somebody else will use, you are my hero Wink
Go with configurable option!

On a related note: I can't quite remember if Floody has its spread settable or not. If not, could it be added?

Maybe one day I'll write my own simulator..


RE: Sourceblock creation in Floody simulator - xoft - 11-15-2012

The vanilla simulator won't be added for some time - at least until the simulators are refactored for faster operation (discussed in another thread), because it needs access to a far wider area around the simulated block than Floody.

Floody is quite configurable, the parameters should be added to your world.ini as soon as you enable Floody simulator for a fluid. True, I haven't updated the wiki yet, so I'm gonna do that soon (ish Smile )
Simulator configuration documented:
http://mc-server.org/wiki/doku.php?id=configure:world.ini#physics_section


RE: Sourceblock creation in Floody simulator - xoft - 12-29-2012

Hmm, I see I've promised something and I haven't yet delivered. Well then, maybe when I get more time, perhaps on the bus.


RE: Sourceblock creation in Floody simulator - xoft - 01-03-2013

got it working last night, but have no svn access, hopefully in the evening.


RE: Sourceblock creation in Floody simulator - xoft - 01-04-2013

Committed as rev 1119, documented in the wiki: http://www.mc-server.org/wiki/doku.php?id=configure:world.ini&#watersimulator_and_lavasimulator_sections
Extended testing would be welcome.