Class DebugInformation
java.lang.Object
com.simibubi.create.infrastructure.debugInfo.DebugInformation
Allows for providing easily accessible debugging information.
This info can be retrieved with the "/create debuginfo" command.
This command copies all information to the clipboard, formatted for a GitHub issue.
Addons are welcome to add their own sections. Registration must occur synchronously.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic List<DebugInfoSection> static Stringstatic StringgetIndent(int depth) static StringgetMcSystemInfo(String key) Get a system attribute provided by Minecraft.static List<DebugInfoSection> static Stringstatic Stringstatic Collection<InfoElement> static Collection<InfoElement> static voidregisterBothInfo(DebugInfoSection section) static voidregisterClientInfo(DebugInfoSection section) static voidregisterServerInfo(DebugInfoSection section) static String
-
Constructor Details
-
DebugInformation
public DebugInformation()
-
-
Method Details
-
registerClientInfo
-
registerServerInfo
-
registerBothInfo
-
getClientInfo
-
getServerInfo
-
getVersionOfMod
-
listAllOtherMods
-
listAllGraphicsCards
-
getTotalRam
-
getCpuInfo
-
getMcSystemInfo
Get a system attribute provided by Minecraft. They can be found in the constructor ofSystemReport. -
getIndent
-
tryTrim
-