Quilt Loader 1
Loading...
Searching...
No Matches
net.fabricmc.loader.api.metadata.ContactInformation Interface Reference

Represents a contact information. More...

Inheritance diagram for net.fabricmc.loader.api.metadata.ContactInformation:
net.fabricmc.loader.metadata.MapBackedContactInformation org.quiltmc.loader.impl.fabric.metadata.MapBackedContactInformation

Public Member Functions

Optional< String > get (String key)
 Gets a certain type of contact information.
Map< String, String > asMap ()
 Gets all contact information provided as a map from contact type to information.

Public Attributes

ContactInformation EMPTY
 An empty contact information.

Detailed Description

Represents a contact information.

Deprecated
Please use quilt's org.quiltmc.loader.api.ModMetadata instead.

Member Function Documentation

◆ asMap()

Map< String, String > net.fabricmc.loader.api.metadata.ContactInformation.asMap ( )

Gets all contact information provided as a map from contact type to information.

Implemented in net.fabricmc.loader.metadata.MapBackedContactInformation, and org.quiltmc.loader.impl.fabric.metadata.MapBackedContactInformation.

◆ get()

Optional< String > net.fabricmc.loader.api.metadata.ContactInformation.get ( String key)

Gets a certain type of contact information.

Parameters
keythe type of contact information
Returns
an optional contact information

Implemented in net.fabricmc.loader.metadata.MapBackedContactInformation, and org.quiltmc.loader.impl.fabric.metadata.MapBackedContactInformation.

Member Data Documentation

◆ EMPTY

ContactInformation net.fabricmc.loader.api.metadata.ContactInformation.EMPTY
Initial value:
@Override
public Optional<String> get(String key) {
return Optional.empty();
}
@Override
public Map<String, String> asMap() {
return Collections.emptyMap();
}
}
Represents a contact information.
Definition ContactInformation.java:29
Map< String, String > asMap()
Gets all contact information provided as a map from contact type to information.

An empty contact information.


The documentation for this interface was generated from the following file:
  • src/fabric/api/java/net/fabricmc/loader/api/metadata/ContactInformation.java