Class MappingsResolver
java.lang.Object
de.florianmichael.asmfabricloader.api.MappingsResolver
Handles all mappings related stuff. This class is used to convert between named and intermediary mappings.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanvoidLoads the mappings from the mappings.tiny filenamed()
-
Constructor Details
-
MappingsResolver
public MappingsResolver()
-
-
Method Details
-
loadMappings
Loads the mappings from the mappings.tiny file- Throws:
IOException- If the file could not be readIllegalStateException
-
named
- Returns:
- The mapping environment for intermediary to named mappings
-
intermediary
- Returns:
- The mapping environment for named to intermediary mappings
-
areMappingsLoaded
public boolean areMappingsLoaded()- Returns:
- Whether the mappings are loaded or not (Usually only false in dev environment, except if
loadMappings()was called manually)
-