mojira.dev
MC-272873

Specifying unusual primary_items in a Custom Enchantment doesn't let that item be used in a table

When creating a custom enchantment, the primary_items and supported_items seem to be able to take odd or unusual items in their place and still be valid (For my example I was using a Written Book), however this does NOT let the Written Book be usable in the Enchanting Table in order to give the enchantment. It works via anvil in survival, however.

Adding my test enchantment to the in_enchanting_table tag also does not effect things.

I would expect that if a Custom Enchantment specified a weird item to be a primary_item, then it should be usable in the Enchanting Table.

Linked issues

Attachments

Comments 4

Please provide any necessary datapacks, with clear steps to reproduce the issue.

How to Reproduce:
0. Install

[media]

for 1.21-pre2 Version World.
1. Test if it is in Creative Search (type Bug Test). It is for sure that Data Pack is working.
2. Try to put any Stick, Shield or Written Book in Enchanting Table.
3. Wow! There's no available Enchantments for Items that consider Unusual for Enchanting Table!

Thank you for your report!
We're tracking this issue in MC-272019, so this ticket is being resolved and linked as a duplicate.

If you would like to add a vote and any extra information to the main ticket it would be appreciated.

If you haven't already, you might like to make use of the search feature to see if the issue has already been mentioned.

Quick Links:
📓 Bug Tracker Guidelines – 💬 Community Support – 📧 Mojang Support (Technical Issues) – 📧 Microsoft Support (Account Issues)
📓 Project Summary – ✍️ Feedback and Suggestions – 📖 Game Wiki
-- I am a bot. This action was performed automatically! The ticket was resolved by one of our moderators, and I left this message to give more information to you.

I think that is a good Idea to repost here this Message because there's 5 Watchers that probably won't watch Original Bug Report:

I see that Original Bug Report was resolved as Feature Request, so I made a Topic for this Idea...
The Link should work if you are in The MINECRAFT FEEDBACK Discord Guild.

Respian

(Unassigned)

Unconfirmed

Data Packs, Enchantments

1.21 Pre-Release 2

Retrieved