[REQ] Lava flows as fast as water

Discussion in 'Archived: Plugin Requests' started by BattleGroundxx, Nov 15, 2011.

?

Is this Possible

Poll closed Nov 22, 2011.
  1. yes

    57.1%
  2. no

    42.9%
Thread Status:
Not open for further replies.
  1. Offline

    BattleGroundxx

    Plugin request lava flow as fast as water.
     
  2. Offline

    OzoneBuu

    But why would you need this? All it does really is make griefing faster.
     
    h31ix and thehutch like this.
  3. Offline

    BattleGroundxx

  4. Offline

    Zaros

    Don't believe setting the velocity of liquids is possible.
     
  5. Offline

    user_43347

    You could just set the nearby blocks to lava if they are air.
     
  6. Offline

    Zaros

    Isn't that just creating new source blocks then? He wants flow, not more source blocks.
     
  7. Offline

    user_43347

    Yea, my mistake.
     
  8. Offline

    BattleGroundxx

    Yeah I need flow. Changing the physics of lava to water would cause the lava to mess up... I'm not sure... I'm not a java coder so once again I don't know if its possible...
     
  9. Offline

    Zaros

    I'm pretty sure the physics of lava are hard coded into Minecraft. Even if you could, there might be server to client issues.
     
  10. Offline

    mindless728

    This is indeed possible, but you would need to write Notch's fluid system as a plugin, and disable the normal fluids

    IMO this would be a giant pain in the ass to do having worked with fluids extensively (RealFluids - Inactive)
     
  11. Offline

    Zaros

    Wouldn't this require tearing apart Craftbukkit, as there is currently no API for it?
     
  12. Offline

    mindless728

    you can do it, just have to hook into every single event that updates a block, stop the current fluid flow events, and flow the fluids yourself by placing blocks with the data set (changes the water height), keeping in mind that fluids react differently in the nether as opposed to the normal world

    onBlockFromTo() - always cancel to disable water flow
    onBlockPlace() - make fluids nearby update / flow fluid if placed
    onBlockBreak() - make nearby fluids update
    --redstone events and others to watch, basically anything that updates local blocks

    the API is there sp it can be done
     
  13. Offline

    BattleGroundxx

    Could you get working if not thats fine too.
     
  14. Offline

    mindless728

    i never said i was doing this as the first thing i said was that it would be a major pain in the ass and quite a bit of coding
     
    BattleGroundxx likes this.
  15. Offline

    BattleGroundxx

    So your still not up to the challenge?
     
  16. Offline

    mindless728

    i don't have time tbh, i work full time, go to school, run a server, and develop small things i need there

    if you find a dev willing to work on it, i could update my FluidFlow plugin to accommodate block data (like fluid height) so they wouldn't have to do everything
     
    BattleGroundxx likes this.
  17. Offline

    acuddlyheadcrab

    So no one has tried this out yet? Okay gimme some time :)

    Yeah this can't really be done using a listener. Or at least not easily. I tried just setting a blockTo() block (in BLOCK_FROMTO event) and setting that to lava, but that doesn't exactly work. It spreads a tiny bit faster though. Not very consistently though.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 21, 2016
    BattleGroundxx likes this.
  18. Offline

    mindless728

    the best thing to do would be setting up your own flow system and canceling the flow events, you also need to code your fluids to behave like the minecraft fluids
     
  19. Offline

    Daniel Heppner

    Heh. This is a large amount of work for you. If you really need it, I suggest learning Java and doing it yourself.
     
    brennant and BattleGroundxx like this.
  20. Offline

    BattleGroundxx

    Fair enough. I understand people have lives too!
     
  21. Offline

    mindless728

    come on, you have a dev team, they an get it done......

    yeah, not to mention I have been working on a rather large plugin for my server
     
    BattleGroundxx likes this.
  22. Offline

    BattleGroundxx

     
  23. Offline

    Daniel Heppner

    We're busy. ;)
     
  24. Offline

    99skil2

    i hate lava is is so slow that it doesn´t go away so a plugin would by nice
     
  25. Offline

    ಠ_ಠ

    Doesnt each flow level of lava/water have its own id? if so, you could always create a sequence... (im probably wrong about that) lawl
     
  26. Not as far as I'm aware. See every item code here.
     
Thread Status:
Not open for further replies.

Share This Page