How do i make enchantments do what i want them to do?

Started by Ello.-'_@ on

Topic category: Help with modding (Java Edition)

Last seen on 23:15, 7. Jan 2023
Joined Oct 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How do i make enchantments do what i want them to do?

Ok so, I saw that they added enchantments, I was Really excited, until I realized it  did nothing, how do I make it have fire aspect, but with poison?

Last seen on 18:54, 23. Aug 2023
Joined Jun 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
What do you mean it did…
Wed, 08/26/2020 - 04:55

What do you mean it did nothing? You can create your own enchantments now that do whatever you want using procedures. You have to understand the main building block of MCreator, procedures, to understand how to make these elements. You'll use procedures to check if the player has the enchantment applied on their item, then do whatever you want according to that. So for a fire aspect type, you'd do something like "if item in main hand of player has enchantment (custom enchantment), do apply fire to target entity", and place that in something like "on entity attacked.

Last seen on 23:15, 7. Jan 2023
Joined Oct 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I mean like, when I add the…
Wed, 08/26/2020 - 16:55

I mean like, when I add the enchantments there is no procedure to add to it. So how do I add procedures?

Last seen on 23:15, 7. Jan 2023
Joined Oct 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
And I can't find the blocks…
Wed, 08/26/2020 - 17:20

And I can't find the blocks all I can find is, If Do, Item in main hand of event/target entity

Last seen on 23:15, 7. Jan 2023
Joined Oct 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Can you show me?
Wed, 08/26/2020 - 17:26

Can you show me?

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

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I would help but I can't…
Wed, 08/26/2020 - 18:18

I would help but I can't figure out how the enchantments work.

Last seen on 23:15, 7. Jan 2023
Joined Oct 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Ok, Thanks. I will try that.
Thu, 08/27/2020 - 13:07

Ok, Thanks. I will try that.