How to make a block that despawns after a set time?

Started by Dzugo on

Topic category: Help with modding (Java Edition)

Last seen on 00:51, 12. Feb 2023
Joined Jan 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How to make a block that despawns after a set time?

Im new and i wanted to make a block that when placed decays and vanishes after a few seconds.

Help pls.

Last seen on 19:54, 12. Apr 2024
Joined Jan 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Set the 'Tick rate' property…
Sat, 01/14/2023 - 05:59
  • Set the 'Tick rate' property to a higher number

Screenshot-2023-01-13-235340

  • Create a new procedure

Screenshot-2023-01-13-235517

  • Then, simply set a block of air

Screenshot-2023-01-13-235715

  • Alternatively, you can create different blocks for different amounts of decay and slowly set the block to different stages of decayed blocks and then replace it with air.
  • I hope this helps you with you mod!
Last seen on 04:24, 19. Apr 2024
Joined Mar 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I know this is pretty late,…
Sat, 03/30/2024 - 02:40

I know this is pretty late, but I did this when trying to make a weapon that glows when you hold it and it flashes every time the block is replaced by air. Is there anyways to make it not do that?