How do I make a block that can be powered by redstone

Started by GrevelTex on

Topic category: Help with modding (Java Edition)

Last seen on 21:55, 8. Sep 2024
Joined Sep 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How do I make a block that can be powered by redstone

Im making a mod with gear, and I dont know how to make it so it can be powered by redstone, so if anyone knows could you tell me? Thanks in advance lol.

 

Last seen on 16:04, 16. Sep 2024
Joined Jul 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Depends on what you want the…
Mon, 09/09/2024 - 23:55

Depends on what you want the block to do, you can either use blockstates to change the block through the plugin, or you need to replace the block with a second redstone powered one. To check for if the block is powered or not you need to first check that redstone can connect to the block in advanced settings for the block, then make a procedure in the triggers for redstone on and redstone off.