How to make a tesla coil Like Block

Started by ryankirk on

Topic category: Help with Minecraft modding (Java Edition)

Joined Nov 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How to make a tesla coil Like Block

So I am making a mod for a server I play on with my friends so that I can protect my base. So I made a block that when powered by redstone it starts a particle effect around an 5 block area(not the problem). So I then tried to make it do 0.1 damage 100 times and make it do the damage every half a second unless you are holding a specific item. I made that easily, but now I'm having troubles Connecting it to the main code because when I do and try to make it the trigger of the block it says missing dependencies.

 

Ps. I would add a picture if I could sorry I couldn't.