Class ModRecipeIndex.ModRecipeIndexView

java.lang.Object
com.hbm_m.recipe.index.ModRecipeIndex.ModRecipeIndexView
Enclosing class:
ModRecipeIndex

public static final class ModRecipeIndex.ModRecipeIndexView extends Object
  • Method Summary

    Modifier and Type
    Method
    Description
    <T extends net.minecraft.world.item.crafting.Recipe<?>>
    List<T>
    getAll(net.minecraft.world.item.crafting.RecipeType<T> type)
     
    <T extends net.minecraft.world.item.crafting.Recipe<?>>
    List<T>
    getAutoSwitchGroup(net.minecraft.world.item.crafting.RecipeType<T> type, String group)
     
    <T extends net.minecraft.world.item.crafting.Recipe<?>>
    Optional<T>
    getById(net.minecraft.world.item.crafting.RecipeType<T> type, net.minecraft.resources.ResourceLocation id)
     
    <T extends net.minecraft.world.item.crafting.Recipe<?>>
    List<T>
    getByPool(net.minecraft.world.item.crafting.RecipeType<T> type, String pool)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Method Details

    • getAll

      public <T extends net.minecraft.world.item.crafting.Recipe<?>> List<T> getAll(net.minecraft.world.item.crafting.RecipeType<T> type)
    • getById

      public <T extends net.minecraft.world.item.crafting.Recipe<?>> Optional<T> getById(net.minecraft.world.item.crafting.RecipeType<T> type, net.minecraft.resources.ResourceLocation id)
    • getByPool

      public <T extends net.minecraft.world.item.crafting.Recipe<?>> List<T> getByPool(net.minecraft.world.item.crafting.RecipeType<T> type, String pool)
    • getAutoSwitchGroup

      public <T extends net.minecraft.world.item.crafting.Recipe<?>> List<T> getAutoSwitchGroup(net.minecraft.world.item.crafting.RecipeType<T> type, String group)