Package net.minecraft.item.crafting
Interface IRecipeType<T extends IRecipe<?>>
-
public interface IRecipeType<T extends IRecipe<?>>
-
-
Field Summary
Fields Modifier and Type Field Description static IRecipeType<BlastingRecipe>
BLASTING
static IRecipeType<CampfireCookingRecipe>
CAMPFIRE_COOKING
static IRecipeType<ICraftingRecipe>
CRAFTING
static IRecipeType<FurnaceRecipe>
SMELTING
static IRecipeType<SmithingRecipe>
SMITHING
static IRecipeType<SmokingRecipe>
SMOKING
static IRecipeType<StonecuttingRecipe>
STONECUTTING
-
Method Summary
All Methods Static Methods Instance Methods Default Methods Modifier and Type Method Description static <T extends IRecipe<?>>
IRecipeType<T>register(java.lang.String p_222147_0_)
default <C extends IInventory>
java.util.Optional<T>tryMatch(IRecipe<C> p_222148_1_, World p_222148_2_, C p_222148_3_)
-
-
-
Field Detail
-
CRAFTING
static final IRecipeType<ICraftingRecipe> CRAFTING
-
SMELTING
static final IRecipeType<FurnaceRecipe> SMELTING
-
BLASTING
static final IRecipeType<BlastingRecipe> BLASTING
-
SMOKING
static final IRecipeType<SmokingRecipe> SMOKING
-
CAMPFIRE_COOKING
static final IRecipeType<CampfireCookingRecipe> CAMPFIRE_COOKING
-
STONECUTTING
static final IRecipeType<StonecuttingRecipe> STONECUTTING
-
SMITHING
static final IRecipeType<SmithingRecipe> SMITHING
-
-
Method Detail
-
register
static <T extends IRecipe<?>> IRecipeType<T> register(java.lang.String p_222147_0_)
-
tryMatch
default <C extends IInventory> java.util.Optional<T> tryMatch(IRecipe<C> p_222148_1_, World p_222148_2_, C p_222148_3_)
-
-