Interface VersionDescriptor
-
- All Known Subinterfaces:
VersionDescriptor.Full,VersionDescriptor.Reference
@Enclosing @TypeAdapters public interface VersionDescriptor
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interfaceVersionDescriptor.FullThe full descriptor for a Minecraft: Java Edition version.static interfaceVersionDescriptor.ReferenceA reference to a full version.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.OptionalIntcomplianceLevel()java.lang.Stringid()A unique identifier for this version.java.time.ZonedDateTimereleaseTime()java.time.ZonedDateTimetime()VersionClassifiertype()
-
-
-
Method Detail
-
id
java.lang.String id()
A unique identifier for this version.Versions may be updated over time, though there will be only one descriptor for each key in the manifest at any given time.
- Returns:
- the version ID
-
type
VersionClassifier type()
-
time
java.time.ZonedDateTime time()
-
releaseTime
java.time.ZonedDateTime releaseTime()
-
complianceLevel
java.util.OptionalInt complianceLevel()
-
-