How to detect if a player place a block ?

Started by Mackarrão on

Topic category: Help with modding (Java Edition)

Last seen on 15:22, 28. Sep 2022
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

Last seen on 17:49, 6. Sep 2022
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