Vswe's Summer Courses | You're not logged in. Sign up or log in | Server time: | Donate
One can now see other persons' badge hunts. Simply head over to their profiles to access them.

Go back to sub forum page

General forum

Non-course related subjects

3. Programming help

Liquid

  • 2013-08-25 11:55:54
    Hi, for something I'm thinking off, I would love to have a machine that pumps a liquid into a connected waterproof pipe/liquiduct/.. when it receives an redstone signal.

    and maybe make that you can pump the liquid first in the machine it's get stored in the internal buffer.

    How would you do something like this?
  • 2013-08-25 19:37:06
    You would do it like any other "machine" that contains something with the only difference that it also would implement the IFluidHandler and overrides its methods. It's quite a big question so if you can narrow it down what you need help with it will be easier.
  • 2013-08-25 21:26:17
    Basically if I could make a machine to work like the Aqueous Accumulator ( Thermal Expansion ) I should be able to figure out the rest.
  • 2013-08-26 13:00:24
    What part of that do you need help with then?
  • 2013-08-27 00:52:32
    That is a little too complex to make, I say first pass at least the first three courses to make that.
  • 2013-08-27 10:46:43
    Complex is not the issue, I just ask this on how you do this the "proper" way. instead of researching it, and having to spend hours on doing it probably in the wrong way.

    and I mostly need help on letting a liquid flow into a pipe.
  • 2013-08-27 11:37:04
    Simply let your tile entity implement IFluidHandler.
  • 2013-10-21 16:11:46
    So, when we're here now and talk about Liquids, so how do you create one yourself? (so it's compatible with tanks and stuff)
    So the Liquid Registry probably is a good start, but is there something else I should take care of?

    (And when I'm here, what about the Ore Registry?)
  • 2013-10-31 06:23:19
    Quick correction, post-1.6 they are called fluids, not liquids.
  • Log in or sign up to reply to this thread