The following tests are books enchanted with level 30.
Original Test with 200 books:
15x Loyalty III (7.5%)
9x Impaling IV (4.5%)
5x Impaling V (2.5%)
3x Channeling (1.5%)
1x Riptide III (0.5%)
Total: 33 Trident enchants (16.5%)
Test in 1.15.1 with over 12K books using a loot table: See attachment.
Knowing that the Trident is a treasure item, these seem way to common. The crossbow enchantments are also specific, in comparison to efficiency and unbreaking. Enchantments that are used on more items should be more common.
Attachments
Comments 6
With the help of a script and some command blocks I now have some results of a decently large sample size of 2000 enchanted books. I got some interesting results in 18w22a so I decided to also check the same test in 18w07a to see the difference.
18w07a: 109 / 500 (21.8%)
18w21b: 90 / 500 (18%)
18w22a: 193 / 2000 (9.7%)
It is clear that the amount of trident enchantments has been significantly reduced in 18w22a. However, @Jeb is still assigned, so maybe this isn't resolved?
Still the same as after 18w22a. With a test in 1.13 pre-2 I got 90 / 1000 (9%). Still waiting on a response from one of the devs to confirm this as fixed.
I did a large scale test with over 10K books with loot tables and the results are obvious. I attached a screenshot.
I'd like to try and confirm this in the latest version(s), but am unsure how. Do you have a clear way to reproduce it easily?
Can confirm in 1.21.5.
How to Reproduce:
1- Start by building the setup shown in the attachment
2- Acquire at least 130 (or more) books
3- Enchant each book and place it in the chests
4- Start counting each book and look for the trident enchantments.
Conclusion
You will notice that trident enchantments are indeed very common:
130 books = 14 trident enchantments
( 9x) Loyalty: 6.92%
(3x) Riptide: 2.31%
(2x) Channeling: 1.54%
Total: 14 → 10.77%
(Do note that the amount depends on how many books are enchanted, 14 out of 130 is very common)
Can you try again, with a bigger sample size?