Custom fluid tanks

Started by Marvvinekk on

Topic category: Help with Minecraft modding (Java Edition)

Active 6 hours ago
Joined May 2021
Points:
785

User statistics:

  • Modifications: 12
  • Forum topics: 4
  • Wiki pages: 0
  • MCreator plugins: 1
  • Comments: 180
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.

Active 10 months ago
Joined Mar 2022
Points:
489

User statistics:

  • Modifications: 1
  • Forum topics: 3
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 121
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

Active 6 hours ago
Joined May 2021
Points:
785

User statistics:

  • Modifications: 12
  • Forum topics: 4
  • Wiki pages: 0
  • MCreator plugins: 1
  • Comments: 180
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 :)

Active 10 months ago
Joined Mar 2022
Points:
489

User statistics:

  • Modifications: 1
  • Forum topics: 3
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 121
Ok   T_T
Mon, 05/02/2022 - 11:11

Ok

 

T_T