Interface IPlatformHelper
public interface IPlatformHelper
-
Method Summary
Modifier and TypeMethodDescription<T extends net.minecraft.world.inventory.AbstractContainerMenu>
net.minecraft.world.inventory.MenuType<T> createMenuType(BiFunction<Integer, net.minecraft.world.entity.player.Inventory, T> factory) net.minecraft.world.item.CreativeModeTab.BuilderCollection<net.minecraft.world.item.crafting.RecipeHolder<FossilPrepRecipe>> getFossilPrepRecipes(@Nullable net.minecraft.world.level.Level level) booleanisModLoaded(String modId)
-
Method Details
-
creativeTabBuilder
net.minecraft.world.item.CreativeModeTab.Builder creativeTabBuilder() -
isModLoaded
-
createMenuType
<T extends net.minecraft.world.inventory.AbstractContainerMenu> net.minecraft.world.inventory.MenuType<T> createMenuType(BiFunction<Integer, net.minecraft.world.entity.player.Inventory, T> factory) -
getFossilPrepRecipes
Collection<net.minecraft.world.item.crafting.RecipeHolder<FossilPrepRecipe>> getFossilPrepRecipes(@Nullable net.minecraft.world.level.Level level)
-