Enchanting Broken?

Started by AppleMod on Tue, 06/21/2022 - 01:47

Topic category: Help with modding (Java Edition)

Last seen on 17:19, 1. Aug 2022
Joined Oct 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Enchanting Broken?
Tue, 06/21/2022 - 01:47

My custom item, (it's an item not a tool), has not had a single enchantment show up on an enchantment table, even when I set the enchantability ridiculously high.

Last seen on 02:47, 17. Jul 2022
Joined Apr 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Does it have bookshelves…
Wed, 06/22/2022 - 12:56

Does it have bookshelves around it? Might sound dumb but I've been in that situation before!

Last seen on 17:19, 1. Aug 2022
Joined Oct 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
You don't need bookshelves…
Wed, 06/22/2022 - 23:07

You don't need bookshelves for it to enchant? Or will the mod require it.

Last seen on 02:47, 17. Jul 2022
Joined Apr 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Oh there's just no…
Thu, 06/23/2022 - 00:07

Oh there's just no enchantments whatsoever? Could you provide a screenshot of your custom item's properties?

Last seen on 02:47, 17. Jul 2022
Joined Apr 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Ok so, for an enchantment to…
Thu, 06/23/2022 - 05:25

Ok so, for an enchantment to be applyable inside the enchantment table, you have to use a "Tool" element. Moreover, the tool has to have > 0 use count. I assume you are trying to apply a custom enchantment, which I have taken into account - and in the end, I managed to get it to apply the custom enchantment at the enchantment table, with the downsides being that the unbreaking enchantment will also show up and be applyable, in addition to having to deal with the durability of the item in some form.

enchant

tool

Last seen on 17:19, 1. Aug 2022
Joined Oct 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Thank you, I wasn't going…
Wed, 07/06/2022 - 15:38

Thank you, I wasn't going for a custom enchantment, just any enchantment.

Basically what I'm trying to do is make it so you take a lava bottle, enchant it with anything, then once it's in your inventory I have a procedure set so that it clears and gives you a different custom item: Enchanted lava bottle.