Drain Fluid only when enough fluid is in tank

Started by Berdi2 on

Topic category: Help with Minecraft modding (Java Edition)

Joined Jan 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Drain Fluid only when enough fluid is in tank

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 :(

Joined Aug 2020
Points:

User statistics:

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

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

Joined Nov 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • 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