Adding advancements to a block

Started by MeatyMaker00 on

Topic category: Help with Minecraft modding (Java Edition)

Joined Dec 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Adding advancements to a block

So I made this fossil block that when placed checks to see if the blocks above and below it are a specific block, then it summons lightning, particles and sounds and replaces itself with the revived thing. That worked just fine until I added advancements to it, at which point I realized the trigger I was using (on block added) does NOT check for the entity that placed it, since this check is mashed with the one that happens on world generation. Is there ANY way to do this? Or is the idea dead in the water?