Package net.minecraft.util
Class NativeModuleLister
java.lang.Object
net.minecraft.util.NativeModuleLister
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
static class
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final int
private static final int
private static final int
private static final int
private static final org.slf4j.Logger
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
addCrashSection
(CrashReportCategory p_184680_) private static OptionalInt
findLangAndCodepage
(int[] p_184682_) private static String
langTableKey
(String p_184676_, int p_184677_, int p_184678_) private static String
queryVersionString
(com.sun.jna.Pointer p_184687_, String p_184688_, com.sun.jna.ptr.IntByReference p_184689_) private static com.sun.jna.Pointer
queryVersionValue
(com.sun.jna.Pointer p_184670_, String p_184671_, com.sun.jna.ptr.IntByReference p_184672_) private static Optional<NativeModuleLister.NativeModuleVersion>
tryGetVersion
(String p_184674_)
-
Field Details
-
LOGGER
private static final org.slf4j.Logger LOGGER -
LANG_MASK
private static final int LANG_MASK- See Also:
-
DEFAULT_LANG
private static final int DEFAULT_LANG- See Also:
-
CODEPAGE_MASK
private static final int CODEPAGE_MASK- See Also:
-
DEFAULT_CODEPAGE
private static final int DEFAULT_CODEPAGE- See Also:
-
-
Constructor Details
-
NativeModuleLister
public NativeModuleLister()
-
-
Method Details
-
listModules
-
tryGetVersion
-
langTableKey
-
findLangAndCodepage
-
queryVersionValue
private static com.sun.jna.Pointer queryVersionValue(com.sun.jna.Pointer p_184670_, String p_184671_, com.sun.jna.ptr.IntByReference p_184672_) -
queryVersionString
-
addCrashSection
-