Interface Mod
public interface Mod
- 
Nested Class Summary
Nested Classes - 
Method Summary
Modifier and TypeMethodDescriptionDeprecated.Gets a list of all possible root paths for the mod.@Nullable Collection<String>getLogoFile(int preferredSize) Gets the logo file path of the modgetModId()getName()void 
- 
Method Details
- 
getModId
String getModId() - 
getVersion
String getVersion() - 
getName
String getName() - 
getDescription
String getDescription() - 
getLogoFile
Gets the logo file path of the mod- Parameters:
 preferredSize- the preferred logo size, only used in fabric- Returns:
 - the logo file path relative to the file
 
 - 
getFilePaths
Gets a list of all possible root paths for the mod. This is especially relevant on Fabric, as a single mod may have multiple source sets (such as client / server-specific ones), each corresponding to one root path.- Returns:
 - A list of root paths belonging to the mod
 
 - 
getFilePath
Deprecated.UsegetFilePaths()instead - 
getAuthors
Collection<String> getAuthors() - 
getLicense
 - 
getHomepage
 - 
getSources
 - 
getIssueTracker
 - 
registerConfigurationScreen
 
 - 
 
getFilePaths()instead