Class MCPNamingService

java.lang.Object
net.minecraftforge.fml.loading.MCPNamingService
All Implemented Interfaces:
cpw.mods.modlauncher.api.INameMappingService

public class MCPNamingService extends Object implements cpw.mods.modlauncher.api.INameMappingService
  • Field Details

  • Constructor Details

    • MCPNamingService

      public MCPNamingService()
  • Method Details

    • mappingName

      public String mappingName()
      Specified by:
      mappingName in interface cpw.mods.modlauncher.api.INameMappingService
    • mappingVersion

      public String mappingVersion()
      Specified by:
      mappingVersion in interface cpw.mods.modlauncher.api.INameMappingService
    • understanding

      public Map.Entry<String,​String> understanding()
      Specified by:
      understanding in interface cpw.mods.modlauncher.api.INameMappingService
    • namingFunction

      public BiFunction<cpw.mods.modlauncher.api.INameMappingService.Domain,​String,​String> namingFunction()
      Specified by:
      namingFunction in interface cpw.mods.modlauncher.api.INameMappingService
    • findMapping

      private String findMapping(cpw.mods.modlauncher.api.INameMappingService.Domain domain, String srgName)
    • findMethodMapping

      private String findMethodMapping(String origin)
    • findFieldMapping

      private String findFieldMapping(String origin)
    • loadMappings

      private static void loadMappings(String mappingFileName, BiConsumer<String,​String> mapStore)