Redstone emit for a few seconds

Started by purppecats123 on

Topic category: Help with Minecraft modding (Java Edition)

Joined Nov 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Redstone emit for a few seconds

I want to make a block that when you right click it, it will emit redstone only for a few seconds and then stop.
how do i do that?

please help.

Joined Jun 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
You could try something…
Tue, 03/28/2023 - 18:02

You could try something along the lines of making 2 blocks. Custom Block 1- Emits redstone power. Custom Block 2 - Looks identical but does not emit redstone.

When player right clicks custom block 2 - destroy/replace/spawn custom block 1 in it's place - Wait procedure for 3 seconds - destroy/replace/ spawn custom block 2 in it's place.
(Make it so you can't break custom block 1 so that you can't mine it and get a second block)