Armor 'Born' With Enchantment

Started by gustavowizard123 on Thu, 07/23/2020 - 21:59

Topic category: Help with modding (Java Edition)

Last seen on 19:53, 2. Jun 2021
Joined Sep 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Armor 'Born' With Enchantment
Thu, 07/23/2020 - 21:59

so i notice that now we got procedures for enchantments, but i cant find examples of how to use them, i´ve been trying to set up a 'magic' armor, that already start with enchantments, i tried to make them like potions, but no luck.. anybody can post examples here for us?

thanks in advance!

Last seen on 08:32, 19. Jun 2021
Joined Jun 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
on item crafted global…
Fri, 07/24/2020 - 00:04

on item crafted global trigger => 

if(provided itemstack == your armor item){

    Enchant itemstack with enchantment();

}

Last seen on 19:53, 2. Jun 2021
Joined Sep 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
hum thats nice, thanks! that…
Fri, 07/24/2020 - 00:37

hum thats nice, thanks! that will work also when you grab the item from creative tab or just when you craft?

Last seen on 19:53, 2. Jun 2021
Joined Sep 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
yeah that works thanks! but…
Fri, 07/24/2020 - 02:19

yeah that works thanks!

but that glow effect kind messes it around, its a futurisitic nano armor not a magical armor, is there a way to give the enchantment without the glow? like postions without particles?

Last seen on 08:32, 19. Jun 2021
Joined Jun 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
no.... I don't think you can…
Fri, 07/24/2020 - 10:37

no....

I don't think you can even with Java

cuz the way enchantments are hardcoded in MC

Last seen on 07:00, 19. Jun 2021
Joined Jul 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
I've maked a ranged item and…
Fri, 07/31/2020 - 15:19

I've maked a ranged item and there isn't the item crafted trigger. What should I do?

Last seen on 08:32, 19. Jun 2021
Joined Jun 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
use the on item crafted…
Sat, 08/01/2020 - 06:55

use the on item crafted global trigger and check if provided item is your ranged item, then apply the enchantment