Package net.minecraft
Class DetectedVersion
java.lang.Object
net.minecraft.DetectedVersion
- All Implemented Interfaces:
- WorldVersion
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprivate final Datestatic final WorldVersionprivate final intprivate final Stringprivate static final org.slf4j.Loggerprivate final Stringprivate final intprivate final intprivate final booleanprivate final DataVersion
- 
Constructor SummaryConstructorsModifierConstructorDescriptionprivateprivateDetectedVersion(com.google.gson.JsonObject p_132489_) 
- 
Method SummaryModifier and TypeMethodDescriptiongetId()getName()intgetPackVersion(PackType p_265454_) intbooleanisStable()static WorldVersion
- 
Field Details- 
LOGGERprivate static final org.slf4j.Logger LOGGER
- 
BUILT_IN
- 
id
- 
name
- 
stableprivate final boolean stable
- 
worldVersion
- 
protocolVersionprivate final int protocolVersion
- 
resourcePackVersionprivate final int resourcePackVersion
- 
dataPackVersionprivate final int dataPackVersion
- 
buildTime
 
- 
- 
Constructor Details- 
DetectedVersionprivate DetectedVersion()
- 
DetectedVersionprivate DetectedVersion(com.google.gson.JsonObject p_132489_) 
 
- 
- 
Method Details- 
tryDetectVersion
- 
getId- Specified by:
- getIdin interface- WorldVersion
 
- 
getName- Specified by:
- getNamein interface- WorldVersion
 
- 
getDataVersion- Specified by:
- getDataVersionin interface- WorldVersion
 
- 
getProtocolVersionpublic int getProtocolVersion()- Specified by:
- getProtocolVersionin interface- WorldVersion
 
- 
getPackVersion- Specified by:
- getPackVersionin interface- WorldVersion
 
- 
getBuildTime- Specified by:
- getBuildTimein interface- WorldVersion
 
- 
isStablepublic boolean isStable()- Specified by:
- isStablein interface- WorldVersion
 
 
-