Custom Liquid questions (Finite fluid / Farmland-like liquid detection / exploding into area of fire)

Started by The_Kihng on

Topic category: Help with Minecraft modding (Java Edition)

Joined Jul 2025
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Custom Liquid questions (Finite fluid / Farmland-like liquid detection / exploding into area of fire)

Hi. If you've seen my other post here, you'll know that I'm adding apocalypse-themed blocks and items. I'm currently working on Gasoline. I have it largely behaving how I need it to, but I've hit a couple problems I don't currently know how to solve.

1.) I want the fluid to be finite. Instead of having a source block that flows endlessly, it should spread out and disappear immediately. Maybe I could add some type of procedure for the block to replace itself with air after an amount of time?

2.) I want blocks touched by the liquid gasoline to become flammable. This seems simple enough, but I don't want them to burn away to nothing if they weren't flammable before. Non-flammable blocks would catch fire, and spread fire to other blocks while on fire, but shouldn't burn up. Sort of like how the Smithing Table is. This effect would ideally be a block tag or something similar that removes itself randomly after a while.

3.) When the gasoline is destroyed by an explosion, I want it to explode more and leave behind fire. This explosion part works, and creates satisfying chain reactions wherever the gasoline flows. Unfortunately my setup to make it then create fire does not work. I have a screenshot but I don't see a way to attach the image. Let me know if there's a way or if I just have to place a link to it.

Thank you for any help you can give me with this matter. I know the complexity I'm aiming for is beyond MCreator's current capabilities, but I'm hoping to make as much of it in this as possible before I resort to pure coding.

Joined Feb 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
1: some sort of variable…
Sat, 07/05/2025 - 19:55

1: some sort of variable clock

3: upload your image to imgur and post a link

idk about 2

 

Joined Jul 2025
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Hopefully this link works…
Sat, 07/05/2025 - 20:55

Hopefully this link works. https://imgur.com/a/yboqlJY

I kept it simple to start. I remember when I tried MCreator 3 years ago I ended up quitting trying to do something  similar to this (A generator that exploded and left behind a small crater of fire).

I assume by variable clock you mean something like this?

 

When (block) placed, variable set to (desired amount of ticks)

Wait 5 ticks

Variable = variable - 5

Joined Feb 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
maybe try just placing the…
Sat, 07/05/2025 - 23:33

maybe try just placing the fire and not checking for anything

something like that for the clock but the more you place your fluid the more you will lag