Package net.neoforged.fml.loading
Class FMLEnvironment
java.lang.Object
net.neoforged.fml.loading.FMLEnvironment
This is a convenience class for quickly accessing various aspects of the FMLLoader.getCurrent() current loader}.
If no FMLLoader is currently active, all methods in this class will throw.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic net.neoforged.api.distmarker.DistgetDist()static boolean
-
Constructor Details
-
FMLEnvironment
private FMLEnvironment()
-
-
Method Details
-
getDist
public static net.neoforged.api.distmarker.Dist getDist()- See Also:
-
isProduction
public static boolean isProduction()- See Also:
-