Package mindustry.mod
Class Mods.ModMeta
java.lang.Object
mindustry.mod.Mods.ModMeta
- Enclosing class:
- Mods
Mod metadata information.
-
Field Summary
FieldsModifier and TypeFieldDescriptionString[]If set, load the mod content in this order by content names.arc.struct.Seq<String>booleanHidden mods are only server-side or client-side, and do not support adding new content.Name without spaces in all lower case.booleanIf true, this script mod is compatible with iOS.booleanIf true, this mod should be loaded as a Java class mod.booleanMod from an older major version that is compatible with the latest one as well.Minimum game version that this mod requires, e.g.Name as defined in mod.json.booleanIf true, bleeding is skipped and no content icons are generated.arc.struct.Seq<String>floatTo rescale textures with a different size. -
Constructor Summary
Constructors -
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. -
iosCompatible
public boolean iosCompatibleIf true, this script mod is compatible with iOS. Only set this to true if you don't use extend()/JavaAdapter. -
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. -
contentOrder
If set, load the mod content in this order by content names. -
legacyCompatible
public boolean legacyCompatibleMod from an older major version that is compatible with the latest one as well.
-
-
Constructor Details
-
ModMeta
public ModMeta()
-
-
Method Details