Package net.minecraftforge.fml.loading
Class ImmediateWindowHandler
java.lang.Object
net.minecraftforge.fml.loading.ImmediateWindowHandler
-
Nested Class Summary
Modifier and TypeClassDescriptionprivate static final record
-
Field Summary
Modifier and TypeFieldDescriptionprivate static ProgressMeter
private static final org.apache.logging.log4j.Logger
private static ImmediateWindowProvider
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
acceptGameLayer
(ModuleLayer layer) static String
static void
static <T> Supplier
<T> static boolean
positionWindow
(Optional<Object> monitor, IntConsumer widthSetter, IntConsumer heightSetter, IntConsumer xSetter, IntConsumer ySetter) static void
static long
setupMinecraftWindow
(IntSupplier width, IntSupplier height, Supplier<String> title, LongSupplier monitor) static void
updateFBSize
(IntConsumer width, IntConsumer height) static void
updateProgress
(String message)
-
Field Details
-
LOGGER
private static final org.apache.logging.log4j.Logger LOGGER -
provider
-
earlyProgress
-
-
Constructor Details
-
ImmediateWindowHandler
public ImmediateWindowHandler()
-
-
Method Details
-
load
-
setupMinecraftWindow
public static long setupMinecraftWindow(IntSupplier width, IntSupplier height, Supplier<String> title, LongSupplier monitor) -
positionWindow
public static boolean positionWindow(Optional<Object> monitor, IntConsumer widthSetter, IntConsumer heightSetter, IntConsumer xSetter, IntConsumer ySetter) -
updateFBSize
-
loadingOverlay
-
acceptGameLayer
-
renderTick
public static void renderTick() -
getGLVersion
-
updateProgress
-