If an item is not in the names.yml it will fallback to the internal minecraft name but formatted. For example the diamond sword enum is "DIAMOND_SWORD". Formatted it would be "Diamond Sword". Fallback for item names is automatic and does not need to be enabled in the config.