Class MappingsConfigReader

java.lang.Object
org.geysermc.geyser.registry.mappings.MappingsConfigReader

public final class MappingsConfigReader extends Object
  • Method Details

    • loadCustomMappingsFromJson

      public static <K, V> void loadCustomMappingsFromJson(MappingsType<K,V> type, BiConsumer<K,V> consumer)
    • getCustomMappingsDirectoryAndEnsureItExists

      public static Optional<Path> getCustomMappingsDirectoryAndEnsureItExists()
    • readCustomMappings

      @VisibleForTesting public static <K, V> void readCustomMappings(MappingsType<K,V> type, Path file, BiConsumer<K,V> consumer)