"Packets"
If the question ever involves "how does the server know the client did...?" the answer is packets. Likewise the answer to "how does the client know the server did...?" is also packets.
onItemRightClick
is called on both sides. You don't need to do anything involving packets.
thank you!
Now I have another problem. I didn't open another thread because this problem is
tightly connected to the previous one.
Some answers ago Draco18s wrote:
Now I know how to write my own method that removes the opponent's life, etc. But I do not know how to make the visual effect yet.
I searched online for: Animations Minecraft forge tutorial, Action Minecraft forge tutorial, Attack animation Minecraft tutorial and other queries, but I found nothing about that.
Can you tell me some tutorials, pdf, videos or anything else where I can learn about animations for Minecraft 1.10?