Started by
Я калининград
on
Topic category: Help with Minecraft modding (Java Edition)
I want to make gear (not metal) that spins and presses on nearby block (right clicks)
but when i made it: "missing dependencies"
(i want to make gear that spins by changing block by update tick and press buttons or levers or whatever can be right clicked nearby(z+1 or z-1 or z-1 x+1))
Can anyone help? What's wrong?
Picture of problem:

Procedure that i made:

(And if you can, can you upload picture of working fixed procedure? pretty please?)
Thank you in advance!
So I think your issue here is that the [simulate right click of a block] can only be used by an entity, hence the procedure requires [entity] as can be seen on the left side under dependencies. The block tick procedure obviously isn’t associated with an entity. So your option is to switch the vanilla nbt of the door to open and or closed instead of simulating right click.
Right side with required dependencies
Thank you!