Package net.minecraftforge.userdev
Class MCPNamingService
- java.lang.Object
-
- net.minecraftforge.userdev.MCPNamingService
-
- All Implemented Interfaces:
cpw.mods.modlauncher.api.INameMappingService
public class MCPNamingService extends java.lang.Object implements cpw.mods.modlauncher.api.INameMappingService
-
-
Constructor Summary
Constructors Constructor Description MCPNamingService()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description private java.lang.String
findFieldMapping(java.lang.String origin)
private java.lang.String
findMapping(cpw.mods.modlauncher.api.INameMappingService.Domain domain, java.lang.String srgName)
private java.lang.String
findMethodMapping(java.lang.String origin)
private static void
loadMappings(java.lang.String mappingFileName, java.util.function.BiConsumer<java.lang.String,java.lang.String> mapStore)
java.lang.String
mappingName()
java.lang.String
mappingVersion()
java.util.function.BiFunction<cpw.mods.modlauncher.api.INameMappingService.Domain,java.lang.String,java.lang.String>
namingFunction()
java.util.Map.Entry<java.lang.String,java.lang.String>
understanding()
-
-
-
Method Detail
-
mappingName
public java.lang.String mappingName()
- Specified by:
mappingName
in interfacecpw.mods.modlauncher.api.INameMappingService
-
mappingVersion
public java.lang.String mappingVersion()
- Specified by:
mappingVersion
in interfacecpw.mods.modlauncher.api.INameMappingService
-
understanding
public java.util.Map.Entry<java.lang.String,java.lang.String> understanding()
- Specified by:
understanding
in interfacecpw.mods.modlauncher.api.INameMappingService
-
namingFunction
public java.util.function.BiFunction<cpw.mods.modlauncher.api.INameMappingService.Domain,java.lang.String,java.lang.String> namingFunction()
- Specified by:
namingFunction
in interfacecpw.mods.modlauncher.api.INameMappingService
-
findMapping
private java.lang.String findMapping(cpw.mods.modlauncher.api.INameMappingService.Domain domain, java.lang.String srgName)
-
findMethodMapping
private java.lang.String findMethodMapping(java.lang.String origin)
-
findFieldMapping
private java.lang.String findFieldMapping(java.lang.String origin)
-
loadMappings
private static void loadMappings(java.lang.String mappingFileName, java.util.function.BiConsumer<java.lang.String,java.lang.String> mapStore)
-
-