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
protected final RecipeType
<?> AbstractCookingRecipe.type
private final RecipeType
<?> CuttingRecipe.type
Modifier and TypeFieldDescriptionprivate Multimap
<RecipeType<?>, RecipeEntry<?>> RecipeManager.recipesByType
Modifier and TypeMethodDescriptionRecipeType
<?> AbstractCookingRecipe.getType()
Returns the type of this recipe.default RecipeType
<?> CraftingRecipe.getType()
Returns the type of this recipe.RecipeType
<?> CuttingRecipe.getType()
Returns the type of this recipe.RecipeType
<?> Recipe.getType()
Returns the type of this recipe.default RecipeType
<?> SmithingRecipe.getType()
Returns the type of this recipe.static <T extends Recipe<?>>
RecipeType<T> Modifier and TypeMethodDescriptionstatic <C extends Inventory,
T extends Recipe<C>>
RecipeManager.MatchGetter<C, T> RecipeManager.createCachedMatchGetter
(RecipeType<T> type) Creates a cached match getter.private <T extends Recipe<?>>
@Nullable RecipeEntry<T> RecipeManager.get
(RecipeType<T> type, Identifier id) Returns a recipe with the givenid
andtype
, or empty if there is no such recipe.<C extends Inventory,
T extends Recipe<C>>
List<RecipeEntry<T>> RecipeManager.getAllMatches
(RecipeType<T> type, C inventory, World world) Creates a list of all recipes of the giventype
that match the giveninventory
andworld
.private <C extends Inventory,
T extends Recipe<C>>
Collection<RecipeEntry<T>> RecipeManager.getAllOfType
(RecipeType<T> type) <C extends Inventory,
T extends Recipe<C>>
Optional<RecipeEntry<T>> RecipeManager.getFirstMatch
(RecipeType<T> type, C inventory, World world) Returns a recipe of the giventype
that match the giveninventory
andworld
.<C extends Inventory,
T extends Recipe<C>>
Optional<RecipeEntry<T>> RecipeManager.getFirstMatch
(RecipeType<T> type, C inventory, World world, @Nullable Identifier id) <C extends Inventory,
T extends Recipe<C>>
DefaultedList<ItemStack> RecipeManager.getRemainingStacks
(RecipeType<T> type, C inventory, World world) Returns the remainder of a recipe of the giventype
that match the giveninventory
andworld
, or a shallow copy of theinventory
.<C extends Inventory,
T extends Recipe<C>>
List<RecipeEntry<T>> RecipeManager.listAllOfType
(RecipeType<T> type) Creates a list of all recipes of the giventype
.ModifierConstructorDescriptionAbstractCookingRecipe
(RecipeType<?> type, String group, CookingRecipeCategory category, Ingredient ingredient, ItemStack result, float experience, int cookingTime) CuttingRecipe
(RecipeType<?> type, RecipeSerializer<?> serializer, String group, Ingredient ingredient, ItemStack result) -
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, RecipeBookCategory category, int syncId, PlayerInventory playerInventory) protected
AbstractFurnaceScreenHandler
(ScreenHandlerType<?> type, RecipeType<? extends AbstractCookingRecipe> recipeType, RecipeBookCategory category, int syncId, PlayerInventory playerInventory, Inventory inventory, PropertyDelegate propertyDelegate)