Started by
Bearcraft359
on
Topic category: Help with Minecraft modding (Java Edition)
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.
Edited by Bearcraft359 on Thu, 12/12/2024 - 00:35
It's probably because you are using "provided itemstack" to check the item a player has, in this case you should use "item in the main hand of the event/target entity"
Sorry I Wasn't Paying Attention To this And Just Scrapped The Idea Entirely.