public static class LifecycleEventProvider.LifecycleEvent extends java.lang.Object implements net.minecraftforge.forgespi.language.ILifecycleEvent<LifecycleEventProvider.LifecycleEvent>
Modifier and Type | Class and Description |
---|---|
static class |
LifecycleEventProvider.LifecycleEvent.Progression |
Modifier and Type | Field and Description |
---|---|
private java.util.function.Supplier<net.minecraftforge.eventbus.api.Event> |
customEventSupplier |
private LifecycleEventProvider.LifecycleEvent.Progression |
progression |
private ModLoadingStage |
stage |
Constructor and Description |
---|
LifecycleEvent(ModLoadingStage stage) |
LifecycleEvent(ModLoadingStage stage,
LifecycleEventProvider.LifecycleEvent.Progression progression) |
Modifier and Type | Method and Description |
---|---|
void |
changeProgression(LifecycleEventProvider.LifecycleEvent.Progression p) |
ModLoadingStage |
fromStage() |
net.minecraftforge.eventbus.api.Event |
getOrBuildEvent(ModContainer modContainer) |
void |
setCustomEventSupplier(java.util.function.Supplier<net.minecraftforge.eventbus.api.Event> customEventSupplier) |
ModLoadingStage |
toStage() |
java.lang.String |
toString() |
private final ModLoadingStage stage
private java.util.function.Supplier<net.minecraftforge.eventbus.api.Event> customEventSupplier
private LifecycleEventProvider.LifecycleEvent.Progression progression
LifecycleEvent(ModLoadingStage stage)
LifecycleEvent(ModLoadingStage stage, LifecycleEventProvider.LifecycleEvent.Progression progression)
public ModLoadingStage fromStage()
public ModLoadingStage toStage()
public void setCustomEventSupplier(java.util.function.Supplier<net.minecraftforge.eventbus.api.Event> customEventSupplier)
public void changeProgression(LifecycleEventProvider.LifecycleEvent.Progression p)
public net.minecraftforge.eventbus.api.Event getOrBuildEvent(ModContainer modContainer)
public java.lang.String toString()
toString
in class java.lang.Object