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

Started by Ello.-'_@ on Wed, 08/26/2020 - 04:06

Topic category: Help with modding (Java Edition)

Last seen on 12:25, 28. Aug 2020
Joined Oct 2019
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
How do i make enchantments do what i want them to do?
Wed, 08/26/2020 - 04:06

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 03:14, 28. Oct 2020
Joined Jun 2020
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • 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 12:25, 28. Aug 2020
Joined Oct 2019
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • 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 12:25, 28. Aug 2020
Joined Oct 2019
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • 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 12:25, 28. Aug 2020
Joined Oct 2019
User points:

User statistics:

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

Can you show me?

Last seen on 22:34, 30. Oct 2020
Joined Mar 2020
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • 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 12:25, 28. Aug 2020
Joined Oct 2019
User points:

User statistics:

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

Ok, Thanks. I will try that.