Help with pre-enchanted armor, sword and hoe !!!

Started by Maxmos on Fri, 08/10/2018 - 11:33
Last seen on 19:33, 25. Aug 2018
Joined Apr 2016
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
Help with pre-enchanted armor, sword and hoe !!!
Sat, 08/11/2018 - 13:58 (edited)

Hey there ! So just like the titles says, i need help with pre enchants, i want these to be visible in creative too ! (Edit: of course i do know i can get the enchants using crafts but once again i want em to be visible in creative)

I need fire aspect 2 on my sword, fire protection V on every armor pieces and mending on my hoe !

Sorry if this seems complicated it's just that i've been trying many things for days and haven't found anything that could work, hope you'll be able to help me ^^

To be fast i'll just put my 3 classes right here:

Sword: https://pastebin.com/wzK2zKiV

Armor: https://pastebin.com/px6ZkRUW

Hoe: https://pastebin.com/nE29e5Hr

Edited by Maxmos on Sat, 08/11/2018 - 13:58
Last seen on 23:42, 20. Sep 2018
Joined Jul 2018
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
Maybe you could add the…
Fri, 08/10/2018 - 23:13

Maybe you could add the echantment when the item is crafted  ¯\_(ツ)_/¯

Last seen on 19:33, 25. Aug 2018
Joined Apr 2016
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
Of course I did that I just…
Sat, 08/11/2018 - 13:57

Of course I did that I just want it to be visible in creative mode I've already said it...

Last seen on 14:06, 21. Sep 2018
Joined Aug 2013
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
  • wiki contributor
  • moderator
Override Item#getSubItems()…
Sat, 08/11/2018 - 14:36

Override Item#getSubItems(). You can add enchants, NBT, etc... using this method to the ItemStack displayed in creative tabs.

Last seen on 19:33, 25. Aug 2018
Joined Apr 2016
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
So basically what do I write…
Sat, 08/11/2018 - 19:34

So basically what do I write where ? Like the sword for example (sry I'm new to this kind of stuff so I don't really know what and where to add these lines)