How make one item make a sound

Started by Lizardinthedeep on

Topic category: Help with Minecraft modding (Java Edition)

Joined Jul 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How make one item make a sound

I cant figure out how to make an item play a sound using procedure blocks. everytime I do it the sound plays for every item you right click with. I need help figuring out how to right click with one item and make it use a sound and only work for that item using procedure blocks.

Joined May 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Use the 'When player right…
Thu, 07/27/2023 - 06:20

Use the 'When player right clicks with item' global trigger, then use an 'if' block to check if the provided itemstack is your custom item. Inside the if block, put the play-sound block. Alternatively, just make sure the procedure has no global trigger, and is only called when you right click with the custom item.

Joined Apr 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
u have image or an example…
Tue, 04/30/2024 - 04:12

u have image or an example for your idea ? cuz i dont understand the step "use an if......."

Joined Oct 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
how do i find playsound?
Fri, 10/25/2024 - 09:17

how do i find playsound?