Question Is custom `ItemType` possible in the future?

  • After careful consideration and due to limited usage, we’ve made the decision to discontinue the PaperMC forums. Moving forward, we recommend using Hangar for plugin uploads, and for all other community discussions and support, please join us on Discord.

Noy

New member
Jan 8, 2023
23
1
0
1
Hi! I'm creating my own ItemStack s and Enchantment s, and I want to apply my custom enchantment to my custom weapon (using CLOCK as its ItemType). But sadly, the supportedItems method of enchantment provider only supports a RegistryKeySet of ItemType, and I don't want any other clocks or custom ItemStack s to be enchanted.

So I wonder if it will be possible to add a ITEM_TYPE provider inside RegistryEvents in the future?