How to detect player who broke block?

Started by Rytheredguy on

Topic category: Help with modding (Java Edition)

Last seen on 12:07, 6. Mar 2023
Joined Feb 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How to detect player who broke block?

I’m trying to drop items when a block is broken with an enchant, but I can’t get it to find a source entity from the broken block. Is this possible, and if so, how?