Package net.minecraft

Class SystemReport

java.lang.Object
net.minecraft.SystemReport

public class SystemReport extends Object
  • Field Details

    • BYTES_PER_MEBIBYTE

      public static final long BYTES_PER_MEBIBYTE
      See Also:
    • ONE_GIGA

      private static final long ONE_GIGA
      See Also:
    • LOGGER

      private static final org.slf4j.Logger LOGGER
    • OPERATING_SYSTEM

      private static final String OPERATING_SYSTEM
    • JAVA_VERSION

      private static final String JAVA_VERSION
    • JAVA_VM_VERSION

      private static final String JAVA_VM_VERSION
    • entries

      private final Map<String,String> entries
  • Constructor Details

    • SystemReport

      public SystemReport()
  • Method Details

    • setDetail

      public void setDetail(String identifier, String value)
    • setDetail

      public void setDetail(String identifier, Supplier<String> valueSupplier)
    • putHardware

      private void putHardware(oshi.SystemInfo info)
    • ignoreErrors

      private void ignoreErrors(String groupIdentifier, Runnable executor)
    • sizeInMiB

      public static float sizeInMiB(long bytes)
    • putPhysicalMemory

      private void putPhysicalMemory(List<oshi.hardware.PhysicalMemory> memorySlots)
    • putVirtualMemory

      private void putVirtualMemory(oshi.hardware.VirtualMemory memory)
    • putMemory

      private void putMemory(oshi.hardware.GlobalMemory memory)
    • putGraphics

      private void putGraphics(List<oshi.hardware.GraphicsCard> gpus)
    • putProcessor

      private void putProcessor(oshi.hardware.CentralProcessor cpu)
    • putStorage

      private void putStorage()
    • putSpaceForProperty

      private void putSpaceForProperty(String property)
    • putSpaceForPath

      private void putSpaceForPath(String property, Supplier<String> valueSupplier)
    • appendToCrashReportString

      public void appendToCrashReportString(StringBuilder reportAppender)
    • toLineSeparatedString

      public String toLineSeparatedString()