Enchantment Help

Started by D3Ezz on

Topic category: Advanced modding

Last seen on 11:10, 24. Dec 2023
Joined Dec 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Enchantment Help

I want to make an enchantment that when a player kills an animal, you will gain 3 hunger points! If it is possible, can someone give me the procedures?

Last seen on 00:11, 22. Feb 2024
Joined Jun 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I'm pretty sure that using…
Sat, 12/30/2023 - 00:35

I'm pretty sure that using the global procedure "entity dies" allows you to use the "source entity" as a component, with that, use the if block to detect if the item in main-hand of the source-entity is enchanted with your custom enchantment. Then use the Set Food Level procedure to set the player food to 3 hunger points + what he already haves using the math block.

Last seen on 18:44, 17. Feb 2024
Joined Dec 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
(No subject)
Sun, 01/07/2024 - 21:59

Last seen on 18:44, 17. Feb 2024
Joined Dec 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Hold up....set the food…
Sun, 01/07/2024 - 22:31

Hold up....set the food level of source entity...not target entity.