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

Started by Ello.-'_@ on

Topic category: Help with Minecraft modding (Java Edition)

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?

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.

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?

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

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?

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.

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.