get sound registry name you have in hand

Started by TheBardockGames on

Topic category: Help with Minecraft modding (Java Edition)

Active 2 years ago
Joined Oct 2019
Points:
664

User statistics:

  • Modifications: 0
  • Forum topics: 3
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 3
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
Active 4 months ago
Joined Jul 2017
Points:
1025

User statistics:

  • Modifications: 1
  • Forum topics: 16
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 480
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