Redstone On event is called a lot of times

Started by MihlanDOta on

Topic category: Troubleshooting, bugs, and solutions

Last seen on 19:18, 16. Jan 2024
Joined Nov 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Redstone On event is called a lot of times

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

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