|
Cuberite
A lightweight, fast and extensible game server for Minecraft
|
Go to the documentation of this file.
9 #include "../BrewingRecipes.h"
17 Super(wtBrewery,
"Brewingstand")
34 if ((a_Slot >= 0) && (a_Slot <= 4))
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...
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...
Handles the hotbar of each player.
bool IsFuel(const cItem &a_Item) const
Returns true if the item is the fuel, false if not.
cBrewingstandWindow(cBrewingstandEntity *a_Brewingstand)
bool IsBottle(const cItem &a_Item) const
Returns true if the item is a bottle / potion, false if not.
Handles the main inventory of each player, excluding the armor and hotbar.
bool IsIngredient(const cItem &a_Ingredient) const
Returns true if the item is a ingredient, false if not.
std::vector< cSlotArea * > cSlotAreas
cBrewingRecipes * GetBrewingRecipes(void)