ModMeta

public final class ModMeta implements Serializable

It represents the mod.(h)json.

Constructors

Link copied to clipboard
public ModMeta ModMeta()
Link copied to clipboard
public ModMeta ModMeta(Map<String, Object> info)
Link copied to clipboard
public ModMeta ModMeta(    String name,     String displayName,     String author,     String description,     String subtitle,     String version,     String main,     String minGameVersion,     String repo,     List<String> dependencies,     Boolean hidden,     Boolean java,     Boolean hideBrowser,     Boolean keepOutlines)
Link copied to clipboard
public ModMeta ModMeta(HashMap<String, Object> info)

Types

Link copied to clipboard
public class Companion

Functions

Link copied to clipboard
public final Unit append(ModMeta addition)

Append the addition. It will only append any pair that's not default.

Link copied to clipboard
public final Object get(String key)
Link copied to clipboard
public final Object getAt(String key)
Link copied to clipboard
public final HashMap<String, Object> getInfo()
Link copied to clipboard
public final Unit leftShift(ModMeta addition)
Link copied to clipboard
public final Unit plusAssign(ModMeta addition)
Link copied to clipboard
public final Object propertyMissing(String property)
public final Unit propertyMissing(String property, Object value)
Link copied to clipboard
public final Unit putAt(String key, Object meta)
Link copied to clipboard
public final Unit set(String key, Object meta)
Link copied to clipboard
public String toString()

Properties

Link copied to clipboard
private final HashMap<String, Object> info

Extensions

Link copied to clipboard
public final String author
Link copied to clipboard
public final List<String> dependencies
Link copied to clipboard
public final String description
Link copied to clipboard
public final String displayName
Link copied to clipboard
public final Boolean hidden
Link copied to clipboard
public final Boolean hideBrowser
Link copied to clipboard
public final Boolean java
Link copied to clipboard
public final Boolean keepOutlines

since Mindustry v136

Link copied to clipboard
public final String main
Link copied to clipboard
public final String minGameVersion
Link copied to clipboard
public final String name
Link copied to clipboard
public final String repo
Link copied to clipboard
public final String subtitle

since Mindustry v136

Link copied to clipboard
public final String toHjson(Stringify formatter)
Link copied to clipboard
public final String version