Creates an enchantment from a string.
Enchantment.fromString("sharpness", 1); Enchantment.fromString("Fire Protection", 4); Enchantment.fromString("silk-touch", 1); Enchantment.fromString("minecraft:protection", 2);
See Implementation
Creates an enchantment from a string.