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 namesarc.struct.Seq<String>
boolean
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.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.arc.struct.Seq<String>
float
To 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. -
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
-
-
Constructor Details
-
ModMeta
public ModMeta()
-
-
Method Details