Class StartupMessageManager
- java.lang.Object
-
- net.minecraftforge.fml.loading.progress.StartupMessageManager
-
public class StartupMessageManager extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
StartupMessageManager.Message
(package private) static class
StartupMessageManager.MessageType
-
Field Summary
Fields Modifier and Type Field Description private static java.util.EnumMap<StartupMessageManager.MessageType,java.util.List<StartupMessageManager.Message>>
messages
-
Constructor Summary
Constructors Constructor Description StartupMessageManager()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description private static void
addMessage(StartupMessageManager.MessageType type, java.lang.String message, int maxSize)
static void
addModMessage(java.lang.String message)
static java.util.List<org.apache.commons.lang3.tuple.Pair<java.lang.Integer,StartupMessageManager.Message>>
getMessages()
static java.util.Optional<java.util.function.Consumer<java.lang.String>>
locatorConsumer()
static java.util.Optional<java.util.function.Consumer<java.lang.String>>
mcLoaderConsumer()
static java.util.Optional<java.util.function.Consumer<java.lang.String>>
modLoaderConsumer()
-
-
-
Field Detail
-
messages
private static volatile java.util.EnumMap<StartupMessageManager.MessageType,java.util.List<StartupMessageManager.Message>> messages
-
-
Method Detail
-
getMessages
public static java.util.List<org.apache.commons.lang3.tuple.Pair<java.lang.Integer,StartupMessageManager.Message>> getMessages()
-
addMessage
private static void addMessage(StartupMessageManager.MessageType type, java.lang.String message, int maxSize)
-
addModMessage
public static void addModMessage(java.lang.String message)
-
modLoaderConsumer
public static java.util.Optional<java.util.function.Consumer<java.lang.String>> modLoaderConsumer()
-
locatorConsumer
public static java.util.Optional<java.util.function.Consumer<java.lang.String>> locatorConsumer()
-
mcLoaderConsumer
public static java.util.Optional<java.util.function.Consumer<java.lang.String>> mcLoaderConsumer()
-
-