Package net.minecraft.recipebook
Interface PlaceRecipe<T>
- All Known Implementing Classes:
AbstractFurnaceRecipeBookComponent,BlastingRecipeBookComponent,OverlayRecipeComponent.OverlayRecipeButton,OverlayRecipeComponent.OverlaySmeltingRecipeButton,RecipeBookComponent,ServerPlaceRecipe,SmeltingRecipeBookComponent,SmokingRecipeBookComponent
public interface PlaceRecipe<T>
-
Method Summary
Modifier and TypeMethodDescriptionvoidaddItemToSlot(T item, int slot, int maxAmount, int x, int y) default voidplaceRecipe(int width, int height, int outputSlot, RecipeHolder<?> recipe, Iterator<T> ingredients, int maxAmount)
-
Method Details
-
placeRecipe
default void placeRecipe(int width, int height, int outputSlot, RecipeHolder<?> recipe, Iterator<T> ingredients, int maxAmount) -
addItemToSlot
-