Class Minecraft

All Implemented Interfaces:
WindowEventHandler, AutoCloseable, Executor, ProfilerMeasured, ProcessorHandle<Runnable>, SnooperPopulator, IForgeMinecraft

  • Field Details

    • instance

      private static Minecraft instance
    • LOGGER

      private static final org.apache.logging.log4j.Logger LOGGER
    • ON_OSX

      public static final boolean ON_OSX
    • MAX_TICKS_PER_UPDATE

      private static final int MAX_TICKS_PER_UPDATE
      See Also:
      Constant Field Values
    • DEFAULT_FONT

      public static final ResourceLocation DEFAULT_FONT
    • UNIFORM_FONT

      public static final ResourceLocation UNIFORM_FONT
    • ALT_FONT

      public static final ResourceLocation ALT_FONT
    • RESOURCE_RELOAD_INITIAL_TASK

      private static final CompletableFuture<Unit> RESOURCE_RELOAD_INITIAL_TASK
    • SOCIAL_INTERACTIONS_NOT_AVAILABLE

      private static final Component SOCIAL_INTERACTIONS_NOT_AVAILABLE
    • UPDATE_DRIVERS_ADVICE

      public static final String UPDATE_DRIVERS_ADVICE
      See Also:
      Constant Field Values
    • resourcePackDirectory

      private final File resourcePackDirectory
    • profileProperties

      private final com.mojang.authlib.properties.PropertyMap profileProperties
    • textureManager

      public final TextureManager textureManager
    • fixerUpper

      private final com.mojang.datafixers.DataFixer fixerUpper
    • virtualScreen

      private final VirtualScreen virtualScreen
    • window

      private final Window window
    • timer

      private final Timer timer
    • snooper

      private final Snooper snooper
    • renderBuffers

      private final RenderBuffers renderBuffers
    • levelRenderer

      public final LevelRenderer levelRenderer
    • entityRenderDispatcher

      private final EntityRenderDispatcher entityRenderDispatcher
    • itemRenderer

      private final ItemRenderer itemRenderer
    • itemInHandRenderer

      private final ItemInHandRenderer itemInHandRenderer
    • particleEngine

      public final ParticleEngine particleEngine
    • searchRegistry

      private final SearchRegistry searchRegistry
    • user

      private final User user
    • font

      public final Font font
    • gameRenderer

      public final GameRenderer gameRenderer
    • debugRenderer

      public final DebugRenderer debugRenderer
    • progressListener

      private final AtomicReference<StoringChunkProgressListener> progressListener
    • gui

      public final Gui gui
    • options

      public final Options options
    • hotbarManager

      private final HotbarManager hotbarManager
    • mouseHandler

      public final MouseHandler mouseHandler
    • keyboardHandler

      public final KeyboardHandler keyboardHandler
    • gameDirectory

      public final File gameDirectory
    • launchedVersion

      private final String launchedVersion
    • versionType

      private final String versionType
    • proxy

      private final Proxy proxy
    • levelSource

      private final LevelStorageSource levelSource
    • frameTimer

      public final FrameTimer frameTimer
    • is64bit

      private final boolean is64bit
    • demo

      private final boolean demo
    • allowsMultiplayer

      private final boolean allowsMultiplayer
    • allowsChat

      private final boolean allowsChat
    • resourceManager

      private final ReloadableResourceManager resourceManager
    • clientPackSource

      private final ClientPackSource clientPackSource
    • resourcePackRepository

      private final PackRepository resourcePackRepository
    • languageManager

      private final LanguageManager languageManager
    • blockColors

      private final BlockColors blockColors
    • itemColors

      private final ItemColors itemColors
    • mainRenderTarget

      private final RenderTarget mainRenderTarget
    • soundManager

      private final SoundManager soundManager
    • musicManager

      private final MusicManager musicManager
    • fontManager

      private final FontManager fontManager
    • splashManager

      private final SplashManager splashManager
    • gpuWarnlistManager

      private final GpuWarnlistManager gpuWarnlistManager
    • minecraftSessionService

      private final com.mojang.authlib.minecraft.MinecraftSessionService minecraftSessionService
    • socialInteractionsService

      private final com.mojang.authlib.minecraft.SocialInteractionsService socialInteractionsService
    • skinManager

      private final SkinManager skinManager
    • modelManager

      private final ModelManager modelManager
    • blockRenderer

      private final BlockRenderDispatcher blockRenderer
    • paintingTextures

      private final PaintingTextureManager paintingTextures
    • mobEffectTextures

      private final MobEffectTextureManager mobEffectTextures
    • toast

      private final ToastComponent toast
    • game

      private final Game game
    • tutorial

      private final Tutorial tutorial
    • playerSocialManager

      private final PlayerSocialManager playerSocialManager
    • entityModels

      private final EntityModelSet entityModels
    • blockEntityRenderDispatcher

      private final BlockEntityRenderDispatcher blockEntityRenderDispatcher
    • gameMode

      @Nullable public MultiPlayerGameMode gameMode
    • level

      @Nullable public ClientLevel level
    • player

      @Nullable public LocalPlayer player
    • singleplayerServer

      @Nullable private IntegratedServer singleplayerServer
    • currentServer

      @Nullable private ServerData currentServer
    • pendingConnection

      @Nullable private Connection pendingConnection
    • isLocalServer

      private boolean isLocalServer
    • cameraEntity

      @Nullable public Entity cameraEntity
    • crosshairPickEntity

      @Nullable public Entity crosshairPickEntity
    • hitResult

      @Nullable public HitResult hitResult
    • rightClickDelay

      private int rightClickDelay
    • missTime

      protected int missTime
    • pause

      private boolean pause
    • pausePartialTick

      private float pausePartialTick
    • lastNanoTime

      private long lastNanoTime
    • lastTime

      private long lastTime
    • frames

      private int frames
    • noRender

      public boolean noRender
    • screen

      @Nullable public Screen screen
    • overlay

      @Nullable private Overlay overlay
    • connectedToRealms

      private boolean connectedToRealms
    • gameThread

      private Thread gameThread
    • running

      private volatile boolean running
    • delayedCrash

      @Nullable private CrashReport delayedCrash
    • fps

      private static int fps
    • fpsString

      public String fpsString
    • wireframe

      public boolean wireframe
    • chunkPath

      public boolean chunkPath
    • chunkVisibility

      public boolean chunkVisibility
    • smartCull

      public boolean smartCull
    • windowActive

      private boolean windowActive
    • progressTasks

      private final Queue<Runnable> progressTasks
    • pendingReload

      @Nullable private CompletableFuture<Void> pendingReload
    • socialInteractionsToast

      @Nullable private TutorialToast socialInteractionsToast
    • profiler

      private ProfilerFiller profiler
    • fpsPieRenderTicks

      private int fpsPieRenderTicks
    • fpsPieProfiler

      private final ContinuousProfiler fpsPieProfiler
    • fpsPieResults

      @Nullable private ProfileResults fpsPieResults
    • metricsRecorder

      private MetricsRecorder metricsRecorder
    • reloadStateTracker

      private final ResourceLoadStateTracker reloadStateTracker
    • debugPath

      private String debugPath
  • Constructor Details

    • Minecraft

      public Minecraft(GameConfig p_91084_)
  • Method Details