Package com.velocitypowered.api.util
Class ModInfo
- java.lang.Object
-
- com.velocitypowered.api.util.ModInfo
-
public final class ModInfo extends Object
Represents the information for a Forge mod list.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classModInfo.ModRepresents a mod to send to the client.
-
Constructor Summary
Constructors Constructor Description ModInfo(String type, List<ModInfo.Mod> modList)Constructs a new ModInfo instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)List<ModInfo.Mod>getMods()StringgetType()inthashCode()StringtoString()
-
-
-
Field Detail
-
DEFAULT
public static final ModInfo DEFAULT
-
-
Constructor Detail
-
ModInfo
public ModInfo(String type, List<ModInfo.Mod> modList)
Constructs a new ModInfo instance.- Parameters:
type- the Forge server list version to usemodList- the mods to present to the client
-
-