Package net.minecraft.modding.api
Class Prcraft
- java.lang.Object
-
- net.minecraft.modding.api.Prcraft
-
public final class Prcraft extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Prcraft()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.util.stream.Stream<java.nio.file.Path>findPaths(java.lang.String name)static java.nio.file.PathgetConfigDir()static @Client ConfigScreenProvidergetConfigProvider(java.lang.String modId)static @NotNull net.lenni0451.lambdaevents.LambdaManagergetEventManager()static java.nio.file.PathgetGameDir()static @NotNull ModInfogetJava()static @NotNull java.util.Map<java.lang.String,ModInfo>getLoadedMods()static @NotNull ModInfogetMinecraft()static @NotNull java.util.Optional<ModInfo>getMod(java.lang.String id)static @Nullable ModgetModInstance(java.lang.String id)static java.nio.file.PathgetModsDir()static @NotNull ModInfogetPrcraft()static @NotNull ModInfogetRequiredMod(java.lang.String id)static SideEnvironmentgetSideEnvironment()static booleanisModLoaded(java.lang.String id)
-
-
-
Method Detail
-
getLoadedMods
@NotNull public static @NotNull java.util.Map<java.lang.String,ModInfo> getLoadedMods()
-
getMod
@NotNull public static @NotNull java.util.Optional<ModInfo> getMod(java.lang.String id)
-
isModLoaded
public static boolean isModLoaded(java.lang.String id)
-
getRequiredMod
@NotNull public static @NotNull ModInfo getRequiredMod(java.lang.String id)
-
getPrcraft
@NotNull public static @NotNull ModInfo getPrcraft()
-
getMinecraft
@NotNull public static @NotNull ModInfo getMinecraft()
-
getJava
@NotNull public static @NotNull ModInfo getJava()
-
getModInstance
@Nullable public static @Nullable Mod getModInstance(java.lang.String id)
-
getConfigProvider
@Client public static @Client ConfigScreenProvider getConfigProvider(java.lang.String modId)
-
getEventManager
@NotNull public static @NotNull net.lenni0451.lambdaevents.LambdaManager getEventManager()
-
getGameDir
public static java.nio.file.Path getGameDir()
-
getModsDir
public static java.nio.file.Path getModsDir()
-
getConfigDir
public static java.nio.file.Path getConfigDir()
-
getSideEnvironment
public static SideEnvironment getSideEnvironment()
-
findPaths
public static java.util.stream.Stream<java.nio.file.Path> findPaths(java.lang.String name)
-
-