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

Started by skyviper327 on Thu, 09/24/2020 - 16:13

Topic category: Help with MCreator software

Last seen on 20:10, 26. Oct 2020
Joined Jun 2020
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Can you make an item that, when crafted, will already have an enchantment?
Thu, 09/24/2020 - 16:13

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:08, 30. Oct 2020
Joined Jun 2019
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • 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:10, 26. Oct 2020
Joined Jun 2020
User points:

User statistics:

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

Thanks!