Minecraft – What are all the ways in which a gold block can be removed in vanilla Minecraft

minecraft-java-edition

I'm developing a skyblock plugin in vanilla Minecraft in which placed gold blocks will generate a certain amount of gold per hour. Naturally, I must keep a list of the placed gold blocks in memory, and remove them from memory when the gold blocks are removed.

What are all the ways in which a gold block can be removed in vanilla Minecraft? Here are the methods I have so far. Have I missed anything?

  • Breaking manually with tool/hand
  • Breaking from explosions

Best Answer

I was way overthinking this. Catching all block breaking events is not necessary. One only needs to store the locations of each placed gold block and then check every hour if that location still contains a gold block.