Package net.fabricmc.loom.api.fmj
Class FabricModJsonV1Spec.Icon
java.lang.Object
net.fabricmc.loom.api.fmj.FabricModJsonV1Spec.Icon
- Enclosing class:
FabricModJsonV1Spec
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
Icon
public Icon()
-
-
Method Details
-
getPath
The path to the icon file, relative to the root of the mod JAR.- Returns:
- A
Propertycontaining aStringrepresenting the icon path
-
getSize
The size of the icon in pixels (e.g. 16, 32, 64).If not specified, the icon is considered to be "unsized". Only one unsized icon is allowed.
- Returns:
- A
Propertycontaining anIntegerrepresenting the icon size
-