aboutsummaryrefslogtreecommitdiff
path: root/Minecraft.World/CraftingMenu.h
diff options
context:
space:
mode:
Diffstat (limited to 'Minecraft.World/CraftingMenu.h')
-rw-r--r--Minecraft.World/CraftingMenu.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/Minecraft.World/CraftingMenu.h b/Minecraft.World/CraftingMenu.h
index 0452eccc..b10344c0 100644
--- a/Minecraft.World/CraftingMenu.h
+++ b/Minecraft.World/CraftingMenu.h
@@ -32,4 +32,9 @@ public:
virtual void removed(shared_ptr<Player> player);
virtual bool stillValid(shared_ptr<Player> player);
virtual shared_ptr<ItemInstance> quickMoveStack(shared_ptr<Player> player, int slotIndex);
+ virtual bool canTakeItemForPickAll(shared_ptr<ItemInstance> carried, Slot *target);
+
+ int getX() { return x; }
+ int getY() { return y; }
+ int getZ() { return z; }
}; \ No newline at end of file