Started by
dr.vanta
on
Topic category: Help with Minecraft modding (Java Edition)
ım trying to add a mixer to my mod but ı dont know how to make wire whips spin when you hold right click
Topic category: Help with Minecraft modding (Java Edition)
ım trying to add a mixer to my mod but ı dont know how to make wire whips spin when you hold right click
You're gonna wanna make an Item State like this in the Item States tab of your item:
You're gonna wanna set the property value provider to something like this:
Then add as many state definitions as you want for the amount of frames in the animation and set the number for the mixingstate to how many ticks you want it to take to change frames:
Then give it an item use duration in the properties tab (set it in ticks for how long you want it to take for the item to mix):
Then head over to triggers
Make a 'When item in hand tick' procedure:
Then make this the procedure:
I hope this all helped and if you have any more questions please ask.