Enchanted items in creative inventory

Started by lil_cccarrrottt on

Topic category: Help with Minecraft modding (Java Edition)

Joined May 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Enchanted items in creative inventory

Hello :)
Can anyone explain to me how to make item in creative inventory be already enchanted? Specifically: I have custom uncraftable sword in vanilla "Combat" tab, I have two custom enchantments, I need to combine them. I saw multiple forum posts on this topic but I just too unexperienced in java yet, so I will be very greatful if you explain it to me using the above situation as an example. Thank u in advance!

https://pastebin.com/yQiUNstF

https://pastebin.com/4aYjhy4y