Redstone On event is called a lot of times

Started by MihlanDOta on Sat, 12/05/2020 - 11:20

Topic category: Bugs and solutions

Last seen on 05:57, 24. Jan 2021
Joined Nov 2020
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Redstone On event is called a lot of times
Sat, 12/05/2020 - 11:20

I want to spawn particles when the redstone is applied to the block. When the lever is next to the block, everything works fine, but if I move the lever away from the block using the redstone, then when turned on, the particles will spawn two times, and when turned off, very many times. If the redstone is located next to the block, and goes left or right, then the event does not fire at all. Tell me how to make this event work normally?

Sorry for my English, I am Russian

Last seen on 18:04, 24. Jan 2021
Joined Apr 2010
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
It is called when neighbour…
Sun, 12/06/2020 - 10:14

It is called when neighbour blocks update. Consider storing current state in block NBT and only do the action when the value toggles