How do i make it so when right-clicked with a dagger, you get meat but get damaged

Started by Expandi-craft … on

Topic category: Help with modding (Java Edition)

Last seen on 16:20, 16. Nov 2023
Joined Jun 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How do i make it so when right-clicked with a dagger, you get meat but get damaged
Wed, 07/05/2023 - 19:36 (edited)

Currently it wont do anything. Here is the procedure i used (post back a working one and solution with an reply to a solution)
https://imgur.com/gallery/UuKvEnu

procedure

Edited by Expandi-craft mod dev on Wed, 07/05/2023 - 19:36
Last seen on 00:42, 10. Oct 2023
Joined Mar 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
first replace the 'and' with…
Wed, 07/05/2023 - 20:06

first replace the 'and' with air since 1 block won't have 3 block types in it. Other than that it looks like it should work

Last seen on 16:20, 16. Nov 2023
Joined Jun 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
it still doesn't work
Wed, 07/05/2023 - 20:49

it still doesn't work

Last seen on 00:42, 10. Oct 2023
Joined Mar 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I meant the 'and' with 'or'.
Thu, 07/13/2023 - 22:46

I meant the 'and' with 'or'.