Info - Earthcomputer/EnchantmentCracker GitHub Wiki

EnchantmentCracker is a tool for Minecraft, compatible with the latest full release (version 1.16.4) that allows you to manipulate the enchantment table easily and reliably. It uses information gathered by the user to figure out the current random numbers the game is using, and can reliably predict what numbers will come next.

 

How does it work?

First, the tool asks the user to collect data about what available enchantment levels they see in an enchanting table with different numbers of active bookshelves. This information is used to calculate what is called the XP Seed, which controls what enchantments the player can get.

After calculating two consecutive XP seeds, the tool calculates what is known as the Player Seed, which is the random number generator's state for the player. This is used by the game to calculate sprinting/falling particles, eating particles, durability gain by mending, the effect of unbreaking, the damage sound, and a few other things, most importantly the trajectory of thrown item stacks.

Once the Player Seed is calculated, the user inputs the item and enchantment combinations they want and don't want. Any item that can be enchanted in an enchantment table, and any compatible enchantment (besides mending, frost walker, curse of vanishing, and curse of binding) can be applied. The tool gives information to the user on how to throw out items to influence the RNG to get the enchantments they want. This can be repeated for any number of enchantments in a row as long as you are careful.