How do I make the player do the attack/use animation?

Started by HackR Man on

Topic category: Help with modding (Java Edition)

Last seen on 07:21, 7. Dec 2021
Joined Feb 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How do I make the player do the attack/use animation?

I am making a tool that places redstone and i need to plat the attack/use animation so it looks normal. Is there a way to do this?

Last seen on 08:38, 6. Nov 2022
Joined Dec 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
A couple options for ya: 1-…
Tue, 12/07/2021 - 09:08

A couple options for ya:
1- Make a procedure that causes the item to swing, and link it to both 'when player right clicks air' and 'when player right clicks block' in the tool triggers.
2- Make the redstone place on a left click rather than a right click. The tool will automatically swing due to the left click, so it's all sorted.