Enchanting Broken?

Started by AppleMod on

Topic category: Help with Minecraft modding (Java Edition)

Joined Oct 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Enchanting Broken?

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.

Joined Apr 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • 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!

Joined Oct 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • 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.

Joined Apr 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • 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?

Joined Apr 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • 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

Joined Oct 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • 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.