diff options
| author | qwasdrizzel <145519042+qwasdrizzel@users.noreply.github.com> | 2026-03-05 22:18:36 -0600 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-03-05 22:18:36 -0600 |
| commit | cffe636e359441e1c667784d40bd71d111c281de (patch) | |
| tree | 11144e082d516ba05a66aa3564875f5879a45f7c /Minecraft.World/Inventory.h | |
| parent | d1eb09a4b97f38476a538f7a7de06a0a620a1a65 (diff) | |
| parent | 5cbdf27b46e4ac23e441489c524b1f1aba88c269 (diff) | |
Merge branch 'smartcmd:main' into main
Diffstat (limited to 'Minecraft.World/Inventory.h')
| -rw-r--r-- | Minecraft.World/Inventory.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Minecraft.World/Inventory.h b/Minecraft.World/Inventory.h index db5f42d6..539b9f49 100644 --- a/Minecraft.World/Inventory.h +++ b/Minecraft.World/Inventory.h @@ -68,6 +68,7 @@ public: shared_ptr<ItemInstance> getResourceItem(int type,int iAuxVal); bool hasResource(int type); + int countResource(int type, int auxVal); void swapSlots(int from, int to); bool add(shared_ptr<ItemInstance> item); shared_ptr<ItemInstance> removeItem(unsigned int slot, int count); |
