Remove blocks placed by mob on mob death?

Started by fuchsiashock on

Topic category: Help with Minecraft modding (Java Edition)

Active 4 years ago
Joined Jan 2020
Points:
781

User statistics:

  • Modifications: 1
  • Forum topics: 21
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 80
Remove blocks placed by mob on mob death?

My custom mob places blocks when hurt. How do I remove all these blocks when it dies?

Active 6 months ago
Joined Dec 2019
Points:
678

User statistics:

  • Modifications: 0
  • Forum topics: 0
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 94
make the blocks disappear …
Sat, 04/04/2020 - 22:57

make the blocks disappear "when on tick" procedure, otherwise it won't work. and if you want the blocks stay for five seconds and disappear? try setting active tick in block settings to 100

Active 6 months ago
Joined Dec 2019
Points:
678

User statistics:

  • Modifications: 0
  • Forum topics: 0
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 94
or either that /fill command…
Sat, 04/04/2020 - 22:58

or either that /fill command on global procedures.