java.lang.Object
committee.nova.mods.avaritia.api.util.recipe.RecipeUtils

public class RecipeUtils extends Object
  • 构造器概要

    构造器
    构造器
    说明
     
  • 方法概要

    修饰符和类型
    方法
    说明
    static void
    addRecipe(net.minecraft.world.item.crafting.Recipe<?> recipe)
     
    static <I extends net.minecraft.world.Container, T extends net.minecraft.world.item.crafting.Recipe<I>>
    Map<net.minecraft.resources.ResourceLocation,T>
    byType(net.minecraft.world.item.crafting.RecipeManager manager, net.minecraft.world.item.crafting.RecipeType<T> type)
     
    static <I extends net.minecraft.world.Container, T extends net.minecraft.world.item.crafting.Recipe<I>>
    Map<net.minecraft.resources.ResourceLocation,T>
    byType(net.minecraft.world.item.crafting.RecipeType<T> type)
     
    static void
    fireRecipeManagerLoadedEvent(net.minecraft.world.item.crafting.RecipeManager manager, net.minecraftforge.common.crafting.conditions.ICondition.IContext context, Map<net.minecraft.world.item.crafting.RecipeType<?>,Map<net.minecraft.resources.ResourceLocation,net.minecraft.world.item.crafting.Recipe<?>>> map, Map<net.minecraft.resources.ResourceLocation,net.minecraft.world.item.crafting.Recipe<?>> builder)
     
    static Collection<net.minecraft.world.item.crafting.Recipe<?>>
     
    static net.minecraft.world.item.crafting.RecipeManager
     
    static void
    removeRecipe(net.minecraft.world.item.crafting.RecipeType<?> recipeType, net.minecraft.resources.ResourceLocation recipeId)
     
    static void
    setRecipeManager(net.minecraft.world.item.crafting.RecipeManager manager)
     

    从类继承的方法 java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 构造器详细资料

    • RecipeUtils

      public RecipeUtils()
  • 方法详细资料

    • getRecipeManager

      public static net.minecraft.world.item.crafting.RecipeManager getRecipeManager() throws IllegalStateException
      抛出:
      IllegalStateException
    • setRecipeManager

      @Internal public static void setRecipeManager(net.minecraft.world.item.crafting.RecipeManager manager)
    • addRecipe

      public static void addRecipe(net.minecraft.world.item.crafting.Recipe<?> recipe)
    • removeRecipe

      public static void removeRecipe(net.minecraft.world.item.crafting.RecipeType<?> recipeType, net.minecraft.resources.ResourceLocation recipeId)
    • byType

      public static <I extends net.minecraft.world.Container, T extends net.minecraft.world.item.crafting.Recipe<I>> Map<net.minecraft.resources.ResourceLocation,T> byType(net.minecraft.world.item.crafting.RecipeType<T> type)
    • byType

      public static <I extends net.minecraft.world.Container, T extends net.minecraft.world.item.crafting.Recipe<I>> Map<net.minecraft.resources.ResourceLocation,T> byType(net.minecraft.world.item.crafting.RecipeManager manager, net.minecraft.world.item.crafting.RecipeType<T> type)
    • getAllRecipes

      public static Collection<net.minecraft.world.item.crafting.Recipe<?>> getAllRecipes()
    • fireRecipeManagerLoadedEvent

      public static void fireRecipeManagerLoadedEvent(net.minecraft.world.item.crafting.RecipeManager manager, net.minecraftforge.common.crafting.conditions.ICondition.IContext context, Map<net.minecraft.world.item.crafting.RecipeType<?>,Map<net.minecraft.resources.ResourceLocation,net.minecraft.world.item.crafting.Recipe<?>>> map, Map<net.minecraft.resources.ResourceLocation,net.minecraft.world.item.crafting.Recipe<?>> builder)