I tried to make a sword that when it hits a mob it gives food points to the player, but I couldn't, can someone help me?

Started by CookiesZININHO on

Topic category: Help with MCreator software

Joined Jul 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I tried to make a sword that when it hits a mob it gives food points to the player, but I couldn't, can someone help me?

I tried to make a sword that when it hits a mob it gives food points to the player, but I couldn't, can someone help me?

Joined Jun 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
You have the "get food…
Mon, 07/17/2023 - 22:20

You have the "get food saturation level" set as "event/target entity", you need to change it to "source entity"

Joined Mar 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
In addition, food saturation…
Sat, 08/05/2023 - 15:07

In addition, food saturation is different then food level. Make sure you use food level instead as implied by the title.