public class StartupMessageManager
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
StartupMessageManager.Message |
(package private) static class |
StartupMessageManager.MessageType |
Modifier and Type | Field and Description |
---|---|
private static java.util.EnumMap<StartupMessageManager.MessageType,java.util.List<StartupMessageManager.Message>> |
messages |
Constructor and Description |
---|
StartupMessageManager() |
Modifier and Type | Method and Description |
---|---|
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() |
private static final java.util.EnumMap<StartupMessageManager.MessageType,java.util.List<StartupMessageManager.Message>> messages
public static java.util.List<org.apache.commons.lang3.tuple.Pair<java.lang.Integer,StartupMessageManager.Message>> getMessages()
public static void addModMessage(java.lang.String message)
public static java.util.Optional<java.util.function.Consumer<java.lang.String>> modLoaderConsumer()
public static java.util.Optional<java.util.function.Consumer<java.lang.String>> locatorConsumer()
public static java.util.Optional<java.util.function.Consumer<java.lang.String>> mcLoaderConsumer()