How to make a block spawn lava when broken?

Started by Mr. Pixel on

Topic category: Help with modding (Java Edition)

Last seen on 20:25, 10. Jun 2022
Joined Jul 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How to make a block spawn lava when broken?
Tue, 09/07/2021 - 00:47 (edited)

Hi! So, I wanted to make a block that would spawn lava when you broke it, but I couldn't figure out how to do that. Could anybody help me? I want to make it so a lava source block would replace the block when it breaks.

Edited by Mr. Pixel on Tue, 09/07/2021 - 00:47
I suggest you check our…
Wed, 09/08/2021 - 06:54

I suggest you check our tutorials collection playlist on our YouTube channel which contains many examples and tutorials that can help you get started with MCreator: https://www.youtube.com/playlist?list=PLAeL-oIFIEngE6jRgFYeFMfuj8WQsO3Ei

Last seen on 20:25, 10. Jun 2022
Joined Jul 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I actually already am…
Wed, 09/08/2021 - 22:52

I actually already am started, I just wanted to know how to do this particular part.

Last seen on 19:23, 9. Sep 2021
Joined Sep 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
In the triggers section…
Wed, 09/08/2021 - 23:08

In the triggers section click "when block is is destroyed with tool" procedure, then click the "Block Management" tab and use the "Replace block at x, y, z" in that procedure click the blank box and it will show you a menu, click the lava. and boom, hope it helps! It only works in survival.

 

Last seen on 20:25, 10. Jun 2022
Joined Jul 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Uhh, I couldn't find the …
Sun, 09/12/2021 - 19:30

Uhh, I couldn't find the "when block is is destroyed with tool" trigger, I just found the "when block destroyed by player" trigger. When I try to put the code above in the "when block destroyed by player" trigger, it does not work.