public void applyRelocationSettings(Dependency dependency, List<Relocation> relocations) {
        // support for LuckPerms legacy (bukkit 1.7.10)
        if (!RelocationHandler.DEPENDENCIES.contains(dependency) && isGsonRelocated()) {
            relocations.add(Relocation.of("guava", "com{}google{}common"));
            relocations.add(Relocation.of("gson", "com{}google{}gson"));
        }

        // relocate yaml within configurate if its being provided by LP
        if (dependency == Dependency.CONFIGURATE_YAML && !SNAKEYAML_PROVIDED_BY_PLATFORM.contains(this.platformType)) {
            relocations.add(Relocation.of("yaml", "org{}yaml{}snakeyaml"));
        }
    }
Applies LuckPerms specific behaviour for {@link Dependency}s.
common/src/main/java/me/lucko/luckperms/common/dependencies/DependencyRegistry.java