Enum Class MappingsNamespace
- All Implemented Interfaces:
Serializable,Comparable<MappingsNamespace>,Constable
The standard namespaces used by loom.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionIntermediary mappings have been generated to provide a stable set of names across minecraft versions.Named mappings are the developer friendly names used to develop mods against.Official mappings are the names that are used in the vanilla Minecraft game jars, these are usually obfuscated. -
Method Summary
Modifier and TypeMethodDescriptiontoString()static MappingsNamespaceReturns the enum constant of this class with the specified name.static MappingsNamespace[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
OFFICIAL
Official mappings are the names that are used in the vanilla Minecraft game jars, these are usually obfuscated. -
INTERMEDIARY
Intermediary mappings have been generated to provide a stable set of names across minecraft versions.Intermediary is used in a production runtime (outside a dev env) allowing mods to run across multiple versions of the game. Mods are remapped from "named" at build time.
- See Also:
- github.com/FabricMC/intermediary/
-
NAMED
Named mappings are the developer friendly names used to develop mods against.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
toString
- Overrides:
toStringin classEnum<MappingsNamespace>
-