Class MappingsConfigReader
java.lang.Object
org.geysermc.geyser.registry.mappings.MappingsConfigReader
-
Method Summary
Modifier and TypeMethodDescriptionstatic <K,V> void loadCustomMappingsFromJson(MappingsType<K, V> type, BiConsumer<K, V> consumer) static <K,V> void readCustomMappings(MappingsType<K, V> type, Path file, BiConsumer<K, V> consumer)
-
Method Details
-
loadCustomMappingsFromJson
public static <K,V> void loadCustomMappingsFromJson(MappingsType<K, V> type, BiConsumer<K, V> consumer) -
getCustomMappingsDirectoryAndEnsureItExists
-
readCustomMappings
@VisibleForTesting public static <K,V> void readCustomMappings(MappingsType<K, V> type, Path file, BiConsumer<K, V> consumer)
-