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.Path
getConfigDir()
static @Client ConfigScreenProvider
getConfigProvider(java.lang.String modId)
static @NotNull net.lenni0451.lambdaevents.LambdaManager
getEventManager()
static java.nio.file.Path
getGameDir()
static @NotNull ModInfo
getJava()
static @NotNull java.util.Map<java.lang.String,ModInfo>
getLoadedMods()
static @NotNull ModInfo
getMinecraft()
static @NotNull java.util.Optional<ModInfo>
getMod(java.lang.String id)
static @Nullable Mod
getModInstance(java.lang.String id)
static java.nio.file.Path
getModsDir()
static @NotNull ModInfo
getPrcraft()
static @NotNull ModInfo
getRequiredMod(java.lang.String id)
static SideEnvironment
getSideEnvironment()
static boolean
isModLoaded(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)
-
-