get sound registry name you have in hand

Started by TheBardockGames on

Topic category: Help with modding (Java Edition)

Last seen on 07:15, 17. Mar 2023
Joined Oct 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
get sound registry name you have in hand
Wed, 04/13/2022 - 02:39 (edited)

I need the item in hand to take out the sound registry name in order to execute a command that plays the record in hand, I am creating a custom jukebox, I would appreciate your help, thanks

Edited by TheBardockGames on Wed, 04/13/2022 - 02:39
Last seen on 12:31, 22. Jan 2024
Joined Jul 2017
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
you can probably just use a…
Sun, 05/15/2022 - 15:23

you can probably just use a bunch of if statements to check for which disc it is and then play the sound accordingly