| Package | Description |
|---|---|
| com.nukkitx.api | |
| com.nukkitx.api.resourcepack | |
| com.nukkitx.api.util |
| Modifier and Type | Method and Description |
|---|---|
SemVer |
Server.getApiVersion() |
SemVer |
Server.getMinecraftVersion() |
| Modifier and Type | Method and Description |
|---|---|
SemVer |
ResourcePack.getVersion() |
| Modifier and Type | Method and Description |
|---|---|
Optional<SemVer> |
ResourcePack.getMinimumSupportedMinecraftVersion() |
| Modifier and Type | Method and Description |
|---|---|
static SemVer |
SemVer.fromString(String ver) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
SemVer.isCompatible(SemVer ver)
Checks whether the version is compatible with patch, minor, major.
|
boolean |
SemVer.isCompatibleMajor(SemVer ver)
Checks whether the version is compatible with major.
|
boolean |
SemVer.isCompatibleMinor(SemVer ver)
Checks whether the version is compatible with minor and major.
|
boolean |
SemVer.isNewerOrEqual(SemVer ver) |
Copyright © 2017–2020 NukkitX. All rights reserved.