Package mindustry.mod
Class Mods.ModMeta
java.lang.Object
mindustry.mod.Mods.ModMeta
- Enclosing class:
- Mods
Mod metadata information.
-
Field Summary
Modifier and TypeFieldDescriptionboolean
Hidden mods are only server-side or client-side, and do not support adding new content.Name without spaces in all lower case.boolean
If true, this mod should be loaded as a Java class mod.boolean
If true, -outline regions for units are kept when packing.Minimum game version that this mod requires, e.g.Name as defined in mod.json.boolean
If true, bleeding is skipped and no content icons are generated.float
To rescale textures with a different size. -
Constructor Summary
-
Method Summary
-
Field Details
-
name
Name as defined in mod.json. Stripped of colors, but may contain spaces. -
internalName
Name without spaces in all lower case. -
minGameVersion
Minimum game version that this mod requires, e.g. "140.1" -
displayName
-
author
-
description
-
subtitle
-
version
-
main
-
repo
-
dependencies
-
softDependencies
-
java
public boolean javaIf true, this mod should be loaded as a Java class mod. This is technically optional, but highly recommended. -
keepOutlines
public boolean keepOutlinesIf true, -outline regions for units are kept when packing. Only use if you know exactly what you are doing. -
texturescale
public float texturescaleTo rescale textures with a different size. Represents the size in pixels of the sprite of a 1x1 block. -
pregenerated
public boolean pregeneratedIf true, bleeding is skipped and no content icons are generated.
-
-
Constructor Details
-
ModMeta
public ModMeta()
-
-
Method Details