Stop procedure when block is broken

Started by Skart2007 on

Topic category: Advanced modding

Last seen on 14:57, 4. May 2024
Joined Mar 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Stop procedure when block is broken

I'm making a procedure that starts when the player places a block, when he does, it spawns particles and then destroys the block. But I have a problem: If you break the block before the procedure does it, the particles keep spawning. I'm trying to make the procedure constantly check if the block has changed and if it happens then make the procedure stop, but I don't know how to do it. There's certainly other ways to do this but I'm unable to figure them out, please help

Last seen on 05:14, 7. Jul 2023
Joined Feb 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
just make the block…
Wed, 07/05/2023 - 02:37

just make the block unbreakable for the duration of the procedure

Last seen on 14:57, 4. May 2024
Joined Mar 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I could do that, but I want…
Wed, 07/05/2023 - 10:57

I could do that, but I want the player to be able to break the block