Procedure repeats weirdly (SOLVED)

Started by rainbow urumakii on

Topic category: Help with MCreator software

Joined Apr 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Procedure repeats weirdly (SOLVED)
Fri, 06/02/2023 - 00:03 (edited)

https://gyazo.com/11724096232610993ddc1ea78d98bc23

The procedure is above, it's supposed to turn a dropped poppy into red dust if you right-click the block with an item.

It does work but if you do it once, the can just infinitely click the block for red dust and poppies instantly despawn when you throw them anywhere.

Help??

 

 

Edited by rainbow urumakii on Fri, 06/02/2023 - 00:03
Joined May 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
My guess is that you just…
Thu, 06/01/2023 - 16:17

My guess is that you just didn't specify what to despawn- the procedure is probably attempting to despawn the player instead of the item entity. I recommend using an entity-iterator block to check for entities in a specific radius- it'll be able to individually handle each entity, check if it's an item, check if the item is a poppy, then individually despawn and spawn new item-entities at the exact positions of each one.

Joined Apr 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Thank you! Works really…
Fri, 06/02/2023 - 00:03

Thank you! Works really smoothly, love your mods btw.