Class FMLClientSetupEvent
- java.lang.Object
-
- net.minecraftforge.eventbus.api.Event
-
- net.minecraftforge.fml.event.lifecycle.ModLifecycleEvent
-
- net.minecraftforge.fml.event.lifecycle.ParallelDispatchEvent
-
- net.minecraftforge.fml.event.lifecycle.FMLClientSetupEvent
-
- All Implemented Interfaces:
IModBusEvent
public class FMLClientSetupEvent extends ParallelDispatchEvent
This is the second of four commonly called events during mod lifecycle startup. Called beforeInterModEnqueueEvent
Called afterFMLCommonSetupEvent
Called onDist.CLIENT
- the game client. Alternative toFMLDedicatedServerSetupEvent
. Do client only setup with this event, such as KeyBindings. This is a parallel dispatch event.
-
-
Field Summary
Fields Modifier and Type Field Description private java.util.function.Supplier<Minecraft>
minecraftSupplier
-
Constructor Summary
Constructors Constructor Description FMLClientSetupEvent(ModContainer container)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.function.Supplier<Minecraft>
getMinecraftSupplier()
-
Methods inherited from class net.minecraftforge.fml.event.lifecycle.ParallelDispatchEvent
enqueueWork, enqueueWork
-
Methods inherited from class net.minecraftforge.fml.event.lifecycle.ModLifecycleEvent
description, getContainer, getIMCStream, getIMCStream, toString
-
-
-
-
Field Detail
-
minecraftSupplier
private final java.util.function.Supplier<Minecraft> minecraftSupplier
-
-
Constructor Detail
-
FMLClientSetupEvent
public FMLClientSetupEvent(ModContainer container)
-
-
Method Detail
-
getMinecraftSupplier
public java.util.function.Supplier<Minecraft> getMinecraftSupplier()
-
-