Uses of Interface
net.minecraft.recipe.RecipeType
Package
Description
-
Uses of RecipeType in net.minecraft.block.entity
ModifierConstructorDescriptionprotected
AbstractFurnaceBlockEntity
(BlockEntityType<?> blockEntityType, BlockPos pos, BlockState state, RecipeType<? extends AbstractCookingRecipe> recipeType) -
Uses of RecipeType in net.minecraft.recipe
Modifier and TypeFieldDescriptionstatic final RecipeType
<BlastingRecipe> RecipeType.BLASTING
static final RecipeType
<CampfireCookingRecipe> RecipeType.CAMPFIRE_COOKING
static final RecipeType
<CraftingRecipe> RecipeType.CRAFTING
static final RecipeType
<SmeltingRecipe> RecipeType.SMELTING
static final RecipeType
<SmithingRecipe> RecipeType.SMITHING
static final RecipeType
<SmokingRecipe> RecipeType.SMOKING
static final RecipeType
<StonecuttingRecipe> RecipeType.STONECUTTING
Modifier and TypeFieldDescriptionprivate final Multimap
<RecipeType<?>, RecipeEntry<?>> PreparedRecipes.byType
Modifier and TypeMethodDescriptionabstract RecipeType
<? extends AbstractCookingRecipe> AbstractCookingRecipe.getType()
Returns the type of this recipe.BlastingRecipe.getType()
Returns the type of this recipe.CampfireCookingRecipe.getType()
Returns the type of this recipe.default RecipeType
<CraftingRecipe> CraftingRecipe.getType()
Returns the type of this recipe.RecipeType
<? extends Recipe<T>> Recipe.getType()
Returns the type of this recipe.abstract RecipeType
<? extends SingleStackRecipe> SingleStackRecipe.getType()
Returns the type of this recipe.SmeltingRecipe.getType()
Returns the type of this recipe.default RecipeType
<SmithingRecipe> SmithingRecipe.getType()
Returns the type of this recipe.SmokingRecipe.getType()
Returns the type of this recipe.StonecuttingRecipe.getType()
Returns the type of this recipe.static <T extends Recipe<?>>
RecipeType<T> Modifier and TypeMethodDescriptionprivate static ServerRecipeManager.SoleIngredientGetter
ServerRecipeManager.cookingIngredientGetter
(RecipeType<? extends SingleStackRecipe> expectedType) static <I extends RecipeInput,
T extends Recipe<I>>
ServerRecipeManager.MatchGetter<I, T> ServerRecipeManager.createCachedMatchGetter
(RecipeType<T> type) Creates a cached match getter.<I extends RecipeInput,
T extends Recipe<I>>
Stream<RecipeEntry<T>> PreparedRecipes.find
(RecipeType<T> type, I input, World world) private <T extends Recipe<?>>
@Nullable RecipeEntry<T> ServerRecipeManager.get
(RecipeType<T> type, RegistryKey<Recipe<?>> key) Returns a recipe with the givenid
andtype
, or empty if there is no such recipe.<I extends RecipeInput,
T extends Recipe<I>>
Collection<RecipeEntry<T>> PreparedRecipes.getAll
(RecipeType<T> type) <I extends RecipeInput,
T extends Recipe<I>>
Optional<RecipeEntry<T>> ServerRecipeManager.getFirstMatch
(RecipeType<T> type, I input, World world) Returns a recipe of the giventype
that match the giveninventory
andworld
.<I extends RecipeInput,
T extends Recipe<I>>
Optional<RecipeEntry<T>> ServerRecipeManager.getFirstMatch
(RecipeType<T> type, I input, World world, @Nullable RecipeEntry<T> recipe) <I extends RecipeInput,
T extends Recipe<I>>
Optional<RecipeEntry<T>> ServerRecipeManager.getFirstMatch
(RecipeType<T> type, I input, World world, @Nullable RegistryKey<Recipe<?>> recipe) ModifierConstructorDescriptionprivate
PreparedRecipes
(Multimap<RecipeType<?>, RecipeEntry<?>> byType, Map<RegistryKey<Recipe<?>>, RecipeEntry<?>> byKey) -
Uses of RecipeType in net.minecraft.registry
Modifier and TypeFieldDescriptionstatic final Registry
<RecipeType<?>> Registries.RECIPE_TYPE
static final RegistryKey
<Registry<RecipeType<?>>> RegistryKeys.RECIPE_TYPE
-
Uses of RecipeType in net.minecraft.screen
Modifier and TypeFieldDescriptionprivate final RecipeType
<? extends AbstractCookingRecipe> AbstractFurnaceScreenHandler.recipeType
ModifierConstructorDescriptionprotected
AbstractFurnaceScreenHandler
(ScreenHandlerType<?> type, RecipeType<? extends AbstractCookingRecipe> recipeType, RegistryKey<RecipePropertySet> recipePropertySetKey, RecipeBookType category, int syncId, PlayerInventory platerInventory) protected
AbstractFurnaceScreenHandler
(ScreenHandlerType<?> type, RecipeType<? extends AbstractCookingRecipe> recipeType, RegistryKey<RecipePropertySet> recipePropertySetKey, RecipeBookType category, int syncId, PlayerInventory platerInventory, Inventory inventory, PropertyDelegate propertyDelegate)