Class FabricPlatformHelper
java.lang.Object
com.blamejared.dustydiscoveries.fabric.platform.FabricPlatformHelper
- All Implemented Interfaces:
IPlatformHelper
@AutoService(IPlatformHelper.class)
public class FabricPlatformHelper
extends Object
implements IPlatformHelper
-
Constructor Summary
Constructors -
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)
-
Constructor Details
-
FabricPlatformHelper
public FabricPlatformHelper()
-
-
Method Details
-
creativeTabBuilder
public net.minecraft.world.item.CreativeModeTab.Builder creativeTabBuilder()- Specified by:
creativeTabBuilderin interfaceIPlatformHelper
-
isModLoaded
- Specified by:
isModLoadedin interfaceIPlatformHelper
-
createMenuType
public <T extends net.minecraft.world.inventory.AbstractContainerMenu> net.minecraft.world.inventory.MenuType<T> createMenuType(BiFunction<Integer, net.minecraft.world.entity.player.Inventory, T> factory) - Specified by:
createMenuTypein interfaceIPlatformHelper
-
getFossilPrepRecipes
public Collection<net.minecraft.world.item.crafting.RecipeHolder<FossilPrepRecipe>> getFossilPrepRecipes(@Nullable net.minecraft.world.level.Level level) - Specified by:
getFossilPrepRecipesin interfaceIPlatformHelper
-