For context a had a diamond sword with no enchantments on it and I had a looting 3 book I put them in the anvil but it was to expensive cuz at the time i only had 6 xp and i needed 9xp so i never enchanted my sword but now it has looting 3 sharpness 4 and fire aspect 2 enchants on it and I don’t have any other diamond swords, how did I get enchantments without actually putting the enchants on sword
Can somebody explain this by u/PeppermintPisces99 in Minecraft