Class FabricModInfo
java.lang.Object
com.thecsdev.commonmc.api.util.modinfo.ModInfo
com.thecsdev.commonmc.fabric.util.modinfo.FabricModInfo
Represents basic information about a currently installed mod
on the Fabric mod loader platform.
-
Constructor Details
-
FabricModInfo
public FabricModInfo(@NotNull @NotNull String modid) throws NullPointerException, NoSuchElementException
-
-
Method Details
-
getName
@NotNull public final @NotNull net.minecraft.network.chat.Component getName()Description copied from class:ModInfoReturns the display name of this mod. If the mod does not have a display name, returns the mod'sModInfo.getID()as a textComponent. -
getVersion
-