public static Target.@NonNull Type parseType(String type) {
        try {
            return Target.Type.valueOf(type);
        } catch (IllegalArgumentException e) {
            // ignore
        }
        try {
            return parseTypeCharacter(type.charAt(0));
        } catch (IllegalArgumentException e) {
            // ignore
        }
        throw new IllegalArgumentException("Unknown type: " + type);
    }
Creates a new log entry builder

@return a new builder
common/src/main/java/me/lucko/luckperms/common/actionlog/LoggedAction.java