how do i make a item play a sound when its selected by the player and left clicked the air with it

Started by storm1 on

Topic category: Help with Minecraft modding (Java Edition)

Joined Jan 2025
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
how do i make a item play a sound when its selected by the player and left clicked the air with it

im trying to make a slash sound for a minecraft real knife

Joined Mar 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
just go in "trigger" section…
Fri, 01/10/2025 - 19:47

just go in "trigger" section and create a procedure in "when item in hand tick". Create another procedure which set a variable when left-click (in basics events), and test this variable in the other procedure