@Retention(value=RUNTIME)
@Target(value=TYPE)
public @interface MultiVersionMod
| Modifier and Type | Required Element and Description |
|---|---|
java.lang.String |
modid
Lowercase ID of the mod
|
| Modifier and Type | Optional Element and Description |
|---|---|
boolean |
client
Can be loaded on clients
|
boolean |
fabric
Compatible with Fabric
|
boolean |
forge
Compatible with Forge
|
boolean |
legacy
Compatible with versions before 1.13
|
java.lang.String |
modDescription
A description of the mod
|
java.lang.String |
modLicense
The license of the mod.
|
java.lang.String |
modName
Human-readable name of the mod
|
java.lang.String |
modVersion
The current version of the mod ideally following semver semantics
|
boolean |
neoforge
Compatible with Neoforge
|
boolean |
server
Can be loaded on dedicated servers
|
boolean |
version12
Compatible with 1.12
|
boolean |
version16
Compatible with 1.16
|
boolean |
version18
Compatible with 1.18
|
boolean |
version19
Compatible with 1.19
|
boolean |
version20
Compatible with 1.20
|
boolean |
version21
Compatible with 1.21
|
public abstract java.lang.String modDescription
public abstract java.lang.String modLicense