Uses of Interface
net.minecraft.recipe.RecipeType
| Package | Description |
|---|---|
| net.minecraft.block.entity | |
| net.minecraft.recipe | |
| net.minecraft.screen | |
| net.minecraft.util.registry |
-
Uses of RecipeType in net.minecraft.block.entity
Fields in net.minecraft.block.entity declared as RecipeType Modifier and Type Field Description private RecipeType<? extends AbstractCookingRecipe>AbstractFurnaceBlockEntity. recipeTypeMethods in net.minecraft.block.entity with parameters of type RecipeType Modifier and Type Method Description private static intAbstractFurnaceBlockEntity. getCookTime(World world, RecipeType<? extends AbstractCookingRecipe> recipeType, Inventory inventory)Constructors in net.minecraft.block.entity with parameters of type RecipeType Constructor Description AbstractFurnaceBlockEntity(BlockEntityType<?> blockEntityType, BlockPos pos, BlockState state, RecipeType<? extends AbstractCookingRecipe> recipeType) -
Uses of RecipeType in net.minecraft.recipe
Fields in net.minecraft.recipe declared as RecipeType Modifier and Type Field Description static RecipeType<BlastingRecipe>RecipeType. BLASTINGstatic RecipeType<CampfireCookingRecipe>RecipeType. CAMPFIRE_COOKINGstatic RecipeType<CraftingRecipe>RecipeType. CRAFTINGstatic RecipeType<SmeltingRecipe>RecipeType. SMELTINGstatic RecipeType<SmithingRecipe>RecipeType. SMITHINGstatic RecipeType<SmokingRecipe>RecipeType. SMOKINGstatic RecipeType<StonecuttingRecipe>RecipeType. STONECUTTINGprotected RecipeType<?>AbstractCookingRecipe. typeprivate RecipeType<?>CuttingRecipe. typeFields in net.minecraft.recipe with type parameters of type RecipeType Modifier and Type Field Description private Map<RecipeType<?>,Map<Identifier,Recipe<?>>>RecipeManager. recipesMethods in net.minecraft.recipe that return RecipeType Modifier and Type Method Description RecipeType<?>AbstractCookingRecipe. getType()default RecipeType<?>CraftingRecipe. getType()RecipeType<?>CuttingRecipe. getType()RecipeType<?>Recipe. getType()RecipeType<?>SmithingRecipe. getType()static <T extends Recipe<?>>
RecipeType<T>RecipeType. register(String id)Methods in net.minecraft.recipe with parameters of type RecipeType Modifier and Type Method Description <C extends Inventory, T extends Recipe<C>>
List<T>RecipeManager. getAllMatches(RecipeType<T> type, C inventory, World world)private <C extends Inventory, T extends Recipe<C>>
Map<Identifier,Recipe<C>>RecipeManager. getAllOfType(RecipeType<T> type)<C extends Inventory, T extends Recipe<C>>
Optional<T>RecipeManager. getFirstMatch(RecipeType<T> type, C inventory, World world)<C extends Inventory, T extends Recipe<C>>
DefaultedList<ItemStack>RecipeManager. getRemainingStacks(RecipeType<T> recipeType, C inventory, World world)<C extends Inventory, T extends Recipe<C>>
List<T>RecipeManager. listAllOfType(RecipeType<T> recipeType)Creates a list of all recipes of the given type.Constructors in net.minecraft.recipe with parameters of type RecipeType Constructor Description AbstractCookingRecipe(RecipeType<?> type, Identifier id, String group, Ingredient input, ItemStack output, float experience, int cookTime)CuttingRecipe(RecipeType<?> type, RecipeSerializer<?> serializer, Identifier id, String group, Ingredient input, ItemStack output) -
Uses of RecipeType in net.minecraft.screen
Fields in net.minecraft.screen declared as RecipeType Modifier and Type Field Description private RecipeType<? extends AbstractCookingRecipe>AbstractFurnaceScreenHandler. recipeTypeConstructors in net.minecraft.screen with parameters of type RecipeType Constructor Description AbstractFurnaceScreenHandler(ScreenHandlerType<?> type, RecipeType<? extends AbstractCookingRecipe> recipeType, RecipeBookCategory recipeBookCategory, int int2, PlayerInventory playerInventory)AbstractFurnaceScreenHandler(ScreenHandlerType<?> type, RecipeType<? extends AbstractCookingRecipe> recipeType, RecipeBookCategory recipeBookCategory, int int2, PlayerInventory playerInventory, Inventory inventory, PropertyDelegate propertyDelegate) -
Uses of RecipeType in net.minecraft.util.registry
Fields in net.minecraft.util.registry with type parameters of type RecipeType Modifier and Type Field Description static Registry<RecipeType<?>>Registry. RECIPE_TYPEstatic RegistryKey<Registry<RecipeType<?>>>Registry. RECIPE_TYPE_KEY