Started by
felipe1
on
Topic category: Help with Minecraft modding (Java Edition)
hello, i wanna make an addon for create mod, i already know how to make recipes with the mixers, crushers, milling, etc. is there a way i can make blocks connect to gears and axles and also change the animation speed of said block to the rpm, im doing it on forge 1.20.1 and the plugins i find aren't compatible with it, is there a way i can do this?
on block update, check if the appropriate faces are now next to an axle/cog in the right orientation. If that's the case, take that block's rotational speed and torque, and give them to your block.
For the animation, you can't automate speed based on a variable by default, so my guess is that you'd have to set the speed to an easily searchable number like 69, lock the code then go into the json file, ctrl+F and change it to be the "rotation speed" variable instead of a number
thanks! i guess i have to do the same but reversed and apply it to the cog so the rest of the circuit can work.