Can you make an item that, when crafted, will already have an enchantment?

Started by skyviper327 on

Topic category: Help with MCreator software

Last seen on 20:41, 29. Sep 2021
Joined Jun 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Can you make an item that, when crafted, will already have an enchantment?

Can you make an item that, when crafted, will already have an enchantment? i am trying to make an ore pack that is based around fire and am trying to et fire aspect on the sword. How do i do this?

 

Last seen on 15:43, 1. Jan 2024
Joined Jun 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
When editing the item, under…
Thu, 09/24/2020 - 17:20

When editing the item, under "Triggers" there should be a spot that says "When item is crafted/smelted". Add a procedure to it that uses the "Add enchantment with level ___ to (Provided itemstack) type ___" under the item procedures. This should ensure that the item has fire aspect when crafted.

alternatively, you could add a procedure to "When living entity is hit with item" that uses the "set Event/Target entity on fire for __ seconds" procedure to set the hit entities on fire, regardless of the enchantments.

Last seen on 20:41, 29. Sep 2021
Joined Jun 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Thanks!
Thu, 09/24/2020 - 18:12

Thanks!