My custom hand hit sound works incorrently

Started by Ru4eyOk on

Topic category: Help with modding (Java Edition)

Last seen on 16:09, 30. Aug 2023
Joined May 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
My custom hand hit sound works incorrently
Fri, 05/19/2023 - 08:23 (edited)
I decided to make my own hand hit sound, that only plays when the player punches, but the sound plays with all items in the hand.Could someone help me pls
Edited by Ru4eyOk on Fri, 05/19/2023 - 08:23
Last seen on 14:22, 19. Apr 2024
Joined Apr 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
try 'and' instead of 'or'…
Fri, 05/19/2023 - 12:23

try 'and' instead of 'or' for the logic block, and maybe replace 'empty itemstack' with air item(the item procedure block, but changed to air)  Also try 'sourceentity' instead of event/target entity

Last seen on 16:09, 30. Aug 2023
Joined May 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Thanks for the advice, but…
Fri, 05/19/2023 - 13:17

Thanks for the advice, but it still work incorrently