Override `Item#canApplyAtEnchantingTable` on your extended item. I will note that the enchantment has to be on whatever item the projectile hits to apply to the loot table.
If you are using the baked model system, then you can get the model from ModelManager#getModel and then just the same rendering process as used within the `#renderItem` method.