Is there a way to find out what the flow rate of water and lava should be in a given dimension?
For example, is lava's faster flow rate in the nether hard-coded for the nether and material lava, or is the world provider able to report "lava? Oh, that flows every 30 ticks/every 5 ticks"? Or something else?
(In regard to a mod that gives realistic animal genetics):
Would you really rather have bees that make diamonds and oil with magical genetic blocks?
... did I really ask that?
BlockLiquid#tickRate defines the base tick rate for vanilla liquids, but this is modified for lava based on the surrounding blocks in BlockDynamicLiquid#updateTick.
A dimension can't directly set the flow rate of liquids, the only property of the dimension used in the flow rate calculation is whether it has a sky.
Rollback Post to RevisionRollBack
Chisel Facades: For all your decorative pipe-hiding needs.
Please don't PM me to ask for help or to join your mod development team. Asking your question in a public thread preserves it for people who are having the same problem in the future. I'm not interested in developing mods with people.
Yea, I just found that section in BlockLiquid. But BlockDynamicLiquid doing another test? Let me see that ...
Dang, the names used inside updateTick are obfuscated. func_149810_a, func_149804_e, ...
I can't make out enough details of what it is doing. But this seems odd:
It is doing a scheduleBlockUpdate, and then notifyBlocksOfNeighborChange. Not waiting for the scheduled update to happen before notifying, but notifying them now.
This appears to be the "decay" code -- when a partial block in vanilla goes smaller. Which makes sense since the dynamic blocks are supposed to be blocks that are still changing their meta-data values (decaying source), right?
... so this routine is where lava turns water into stone? Why in here? Oh, this is also spreading -- when a source is placed, and the new liquid is flowing.
Equally, blockStaticLiquid is where the test is made for lava setting things on fire.
Wait -- it is checking for has sky, not is hell world? So a non-hell cave world, with no sky but "normal" temperatures will still have fast lava???
(In regard to a mod that gives realistic animal genetics):
Would you really rather have bees that make diamonds and oil with magical genetic blocks?
... did I really ask that?
Is there a way to find out what the flow rate of water and lava should be in a given dimension?
For example, is lava's faster flow rate in the nether hard-coded for the nether and material lava, or is the world provider able to report "lava? Oh, that flows every 30 ticks/every 5 ticks"? Or something else?
* Promoting this week: Captive Minecraft 4, Winter Realm. Aka: Vertical Vanilla Viewing. Clicky!
* My channel with Mystcraft, and general Minecraft Let's Plays: http://www.youtube.com/user/Keybounce.
* See all my video series: http://www.minecraftforum.net/forums/minecraft-editions/minecraft-editions-show-your/2865421-keybounces-list-of-creation-threads
(In regard to a mod that gives realistic animal genetics):
Would you really rather have bees that make diamonds and oil with magical genetic blocks?
... did I really ask that?
BlockLiquid#tickRate defines the base tick rate for vanilla liquids, but this is modified for lava based on the surrounding blocks in BlockDynamicLiquid#updateTick.
A dimension can't directly set the flow rate of liquids, the only property of the dimension used in the flow rate calculation is whether it has a sky.
Chisel Facades: For all your decorative pipe-hiding needs.
Please don't PM me to ask for help or to join your mod development team. Asking your question in a public thread preserves it for people who are having the same problem in the future. I'm not interested in developing mods with people.
I've just had a look at the BlockLiquid class and found the following code:
I'm presuming that's what determines the liquid's viscosity and would therefore mean that yes, it is hard coded in the liquid.
Yea, I just found that section in BlockLiquid. But BlockDynamicLiquid doing another test? Let me see that ...
Dang, the names used inside updateTick are obfuscated. func_149810_a, func_149804_e, ...
I can't make out enough details of what it is doing. But this seems odd:
It is doing a scheduleBlockUpdate, and then notifyBlocksOfNeighborChange. Not waiting for the scheduled update to happen before notifying, but notifying them now.
This appears to be the "decay" code -- when a partial block in vanilla goes smaller. Which makes sense since the dynamic blocks are supposed to be blocks that are still changing their meta-data values (decaying source), right?
... so this routine is where lava turns water into stone? Why in here? Oh, this is also spreading -- when a source is placed, and the new liquid is flowing.
Equally, blockStaticLiquid is where the test is made for lava setting things on fire.
Wait -- it is checking for has sky, not is hell world? So a non-hell cave world, with no sky but "normal" temperatures will still have fast lava???
* Promoting this week: Captive Minecraft 4, Winter Realm. Aka: Vertical Vanilla Viewing. Clicky!
* My channel with Mystcraft, and general Minecraft Let's Plays: http://www.youtube.com/user/Keybounce.
* See all my video series: http://www.minecraftforum.net/forums/minecraft-editions/minecraft-editions-show-your/2865421-keybounces-list-of-creation-threads
(In regard to a mod that gives realistic animal genetics):
Would you really rather have bees that make diamonds and oil with magical genetic blocks?
... did I really ask that?