How to detect if a player place a block ?

Started by Mackarrão on

Topic category: Help with Minecraft modding (Java Edition)

Joined Aug 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How to detect if a player place a block ?

Hello, so basically I'm trying to make a block that generates an anti-griefing zone, but during development I didn't find any function that would let me know if a player placed a block. Does anyone know any way to do it?

Thanks

Joined Feb 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
In your procedures you can…
Wed, 08/10/2022 - 17:08

In your procedures you can set the global trigger to "A block is placed", or even "entity is about to grief the world" have a play and see which you like best