EnchantingPlus Scala port