Custom fluid tanks

Started by Marwinekk256 on

Topic category: Help with Minecraft modding (Java Edition)

Joined May 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Custom fluid tanks

Hello guys, I need some help with procedures. I've created a custom fluid and a custom fluid tank. I know I can get fluid directly from it by checking the "check to enable the fluid bucket", but it cannot be used with recipes etc. so I need a custom tank, which is an item that can be used in recipes. Now how can I get this custom tank filled with my custom fluid, and the other way, how do I pour out the custom fluid from the custom tank? Could some show me a procedure? I'd be so so grateful :) I want it to work the same way how vanilla water and lava buckets work.

Joined Mar 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
So you want a custom bucket …
Sat, 04/30/2022 - 21:12

So you want a custom bucket ?

You can create an item "[customfluid] bucket". When the player right-click on a block, place [customfluid] at xyz and set an empty bucket in the hand of the player.

When a player right-click with empty bucket on [customfluid], destroy block at xyz and set [customfluid] bucket in the hand of player.

 

I'm not sure the second part work

Joined May 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Thank you, tho I've already…
Sun, 05/01/2022 - 17:15

Thank you, tho I've already figured that out. Besides, MCreator added buckets for custom fluids some time after i posted this thread :)