类 ForgeLoadingOverlay

所有已实现的接口:
Renderable

public class ForgeLoadingOverlay extends LoadingOverlay
This is an implementation of the LoadingOverlay that calls back into the early window rendering, as part of the game loading cycle. We completely replace the render(GuiGraphics, int, int, float) call from the parent with one of our own, that allows us to blend our early loading screen into the main window, in the same manner as the Mojang screen. It also allows us to see and tick appropriately as the later stages of the loading system run. It is somewhat a copy of the superclass render method.
  • 字段详细资料

    • minecraft

      private final Minecraft minecraft
    • reload

      private final ReloadInstance reload
    • onFinish

      private final Consumer<Optional<Throwable>> onFinish
    • displayWindow

      private final net.minecraftforge.fml.earlydisplay.DisplayWindow displayWindow
    • progressMeter

      private final net.minecraftforge.fml.loading.progress.ProgressMeter progressMeter
    • currentProgress

      private float currentProgress
    • fadeOutStart

      private long fadeOutStart
  • 构造器详细资料

  • 方法详细资料