Drain Fluid only when enough fluid is in tank

Started by Berdi2 on Sat, 11/07/2020 - 15:22

Topic category: Help with modding (Java Edition)

Last seen on 00:52, 8. Nov 2020
Joined Jan 2018
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Drain Fluid only when enough fluid is in tank
Sat, 11/07/2020 - 15:22

Hello, I want to drain Fluid from my Pump into a canister but only if there is 100 or more mb in the pump. My code:

My code

I don't know how to get the amount of fluid in the pump. I tried it with capacity and level and test draining but non of them worked :(

Last seen on 14:10, 21. Jan 2021
Joined Aug 2020
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Try using "get level" and…
Wed, 11/25/2020 - 00:56

Try using "get level" and instead of "<" use ">"

Last seen on 13:58, 23. Jan 2021
Joined Nov 2020
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
I have the same problem and…
Wed, 01/06/2021 - 17:58

I have the same problem and I don't understand youe explaination SaturnBench