how do you make a block destroy itself after a few seconds

Started by Jromo2 on

Topic category: Help with modding (Java Edition)

Last seen on 03:37, 11. Mar 2023
Joined Oct 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
how do you make a block destroy itself after a few seconds

i want to know how to remove a block after its been placed for a few seconds. I'm making an emerald bulb that spawns emeralds until the bulb gets removed.

Tick update -> increment nbt…
Thu, 01/14/2021 - 15:30

Tick update -> increment nbt counter -> remove itself after counter reaches a value

OR

Check tick randomly and remove block on tick

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 03:37, 11. Mar 2023
Joined Oct 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
ahh ok thank you
Fri, 01/15/2021 - 00:33

ahh ok thank you