9 #include "../FurnaceRecipe.h"
53 if ((FurnaceRecipes->
GetRecipeFrom(a_ItemStack) !=
nullptr) || (FurnaceRecipes->
IsFuel(a_ItemStack)))
std::vector< cSlotArea * > cSlotAreas
const cRecipe * GetRecipeFrom(const cItem &a_Ingredient) const
Returns a recipe for the specified input, nullptr if no recipe found.
bool IsFuel(const cItem &a_Item) const
Returns true if the item is a fuel, false if not.
cFurnaceRecipe * GetFurnaceRecipe(void)
virtual void DistributeStack(cItem &a_ItemStack, int a_Slot, cPlayer &a_Player, cSlotArea *a_ClickedArea, bool a_ShouldApply) override
Called on shift-clicking to distribute the stack into other areas; Modifies a_ItemStack as it is dist...
cFurnaceWindow(cFurnaceEntity *a_Furnace)
Handles the main inventory of each player, excluding the armor and hotbar.
Handles the hotbar of each player.
void DistributeStackToAreas(cItem &a_ItemStack, cPlayer &a_Player, cSlotAreas &a_AreasInOrder, bool a_ShouldApply, bool a_BackFill)
Called from DistributeStack() to distribute the stack into a_AreasInOrder; Modifies a_ItemStack as it...