mojira.dev
MC-272540

Custom enchantments not showing on /reload

When creating a datapack with a custom enchantment, doing /reload wont make it appear in /enchant (and possibly world generation and more but I can't confirm). You must relog to make it appear.

This also affects them not disappearing after removing them

Linked issues

Attachments

Comments 5

Please provide the datapack used.

[media]

This is the datapack. Your world must already be open when you add the datapack. Then do /reload and /enchantment and the enchant wont be there unless you relog. Also, this may apply to loot tables and other worldgen stuff but I don't know how to set this up.

But this is the same as Painting and Wolf Variants, Jukebox Songs and other Registry Stuff...

Thank you for your report!
After consideration, the issue is being closed as Working as Intended.

Please note, that mechanics of the game may change between updates.
Things such as graphics, sounds, world creation, biomes, redstone, villagers, and animals may not work the same in current versions.

Full Version HistorySnapshot Version HistoryThe official Minecraft feedback site

Quick Links:
📓 Bug Tracker Guidelines – 💬 Community Support – 📧 Mojang Support (Technical Issues) – 📧 Microsoft Support (Account Issues)
📓 Project Summary – ✍️ Feedback and Suggestions – 📖 Game Wiki

Ninjaguardian68

(Unassigned)

Community Consensus

(Unassigned)

command, data-pack, datapack, enchantment, reload

24w21b, 1.21 Pre-Release 1, 1.21 Pre-Release 2

Retrieved