Detect if a block wasn't placed by player

Started by Xedroc on

Topic category: Help with MCreator software

Last seen on 01:26, 31. Dec 2021
Joined Jan 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Detect if a block wasn't placed by player

Hello, I am making a mod for minecraft 1.16.5 that spawns custom loot chests, and I would like to know if it's possible to detect if a block wasn't placed by a player without hardcoding.

I need this so the mod can know if the chest spawned naturally or was placed so you can't just dupe the loot by placing and breaking the block over and over.

Thanks for reading

Last seen on 19:52, 29. Jun 2023
Joined Sep 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
you can use variables
Mon, 11/08/2021 - 14:18

you can use variables

Last seen on 01:26, 31. Dec 2021
Joined Jan 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Already found an alternative…
Wed, 12/01/2021 - 18:00

Already found an alternative to this, I just made a 1x1 structure with a chest that has unloaded loot inside of it