Class Minecraft

All Implemented Interfaces:
AutoCloseable, Executor, IWindowEventListener, ISnooperInfo, ITaskExecutor<Runnable>, IForgeMinecraft

public class Minecraft extends RecursiveEventLoop<Runnable> implements ISnooperInfo, IWindowEventListener, 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
    • 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 ITextComponent SOCIAL_INTERACTIONS_NOT_AVAILABLE
    • 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 MainWindow window
    • timer

      private final Timer timer
    • snooper

      private final Snooper snooper
    • renderBuffers

      private final RenderTypeBuffers renderBuffers
    • levelRenderer

      public final WorldRenderer levelRenderer
    • entityRenderDispatcher

      private final EntityRendererManager entityRenderDispatcher
    • itemRenderer

      private final ItemRenderer itemRenderer
    • itemInHandRenderer

      private final FirstPersonRenderer itemInHandRenderer
    • particleEngine

      public final ParticleManager particleEngine
    • searchRegistry

      private final SearchTreeManager searchRegistry
    • user

      private final Session user
    • font

      public final FontRenderer font
    • gameRenderer

      public final GameRenderer gameRenderer
    • debugRenderer

      public final DebugRenderer debugRenderer
    • progressListener

      private final AtomicReference<TrackingChunkStatusListener> progressListener
    • gui

      public final IngameGui gui
    • options

      public final GameSettings options
    • hotbarManager

      private final CreativeSettings hotbarManager
    • mouseHandler

      public final MouseHelper mouseHandler
    • keyboardHandler

      public final KeyboardListener keyboardHandler
    • gameDirectory

      public final File gameDirectory
    • launchedVersion

      private final String launchedVersion
    • versionType

      private final String versionType
    • proxy

      private final Proxy proxy
    • levelSource

      private final SaveFormat 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 IReloadableResourceManager resourceManager
    • clientPackSource

      private final DownloadingPackFinder clientPackSource
    • resourcePackRepository

      private final ResourcePackList resourcePackRepository
    • languageManager

      private final LanguageManager languageManager
    • blockColors

      private final BlockColors blockColors
    • itemColors

      private final ItemColors itemColors
    • mainRenderTarget

      private final Framebuffer mainRenderTarget
    • soundManager

      private final SoundHandler soundManager
    • musicManager

      private final MusicTicker musicManager
    • fontManager

      private final FontResourceManager fontManager
    • splashManager

      private final Splashes splashManager
    • gpuWarnlistManager

      private final GPUWarning 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 BlockRendererDispatcher blockRenderer
    • paintingTextures

      private final PaintingSpriteUploader paintingTextures
    • mobEffectTextures

      private final PotionSpriteUploader mobEffectTextures
    • toast

      private final ToastGui toast
    • game

      private final MinecraftGame game
    • tutorial

      private final Tutorial tutorial
    • playerSocialManager

      private final FilterManager playerSocialManager
    • reserve

      public static byte[] reserve
    • gameMode

      @Nullable public PlayerController gameMode
    • level

      @Nullable public ClientWorld level
    • player

      @Nullable public ClientPlayerEntity player
    • singleplayerServer

      @Nullable private IntegratedServer singleplayerServer
    • currentServer

      @Nullable private ServerData currentServer
    • pendingConnection

      @Nullable private NetworkManager pendingConnection
    • isLocalServer

      private boolean isLocalServer
    • cameraEntity

      @Nullable public Entity cameraEntity
    • crosshairPickEntity

      @Nullable public Entity crosshairPickEntity
    • hitResult

      @Nullable public RayTraceResult 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 public LoadingGui 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
    • 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 IProfiler profiler
    • fpsPieRenderTicks

      private int fpsPieRenderTicks
    • fpsPieProfiler

      private final TimeTracker fpsPieProfiler
    • fpsPieResults

      @Nullable private IProfileResult fpsPieResults
    • debugPath

      private String debugPath
  • Constructor Details

  • Method Details