Interface IPlatformHelper

All Known Implementing Classes:
NeoForgePlatformHelper

public interface IPlatformHelper
  • Method Summary

    Modifier and Type
    Method
    Description
    <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.Builder
     
    Collection<net.minecraft.world.item.crafting.RecipeHolder<FossilPrepRecipe>>
    getFossilPrepRecipes(@Nullable net.minecraft.world.level.Level level)
     
    boolean
     
  • Method Details

    • creativeTabBuilder

      net.minecraft.world.item.CreativeModeTab.Builder creativeTabBuilder()
    • isModLoaded

      boolean isModLoaded(String modId)
    • 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)