MCPcopy Create free account
hub / github.com/cuberite/cuberite / HowManyCanFit

Method HowManyCanFit

src/Inventory.cpp:49–52  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

47
48
49int cInventory::HowManyCanFit(const cItem & a_ItemStack, bool a_ConsiderEmptySlots)
50{
51 return HowManyCanFit(a_ItemStack, 0, invNumSlots - 1, a_ConsiderEmptySlots);
52}
53
54
55

Callers

nothing calls this directly

Calls 4

ItemHandlerFunction · 0.85
IsEqualMethod · 0.80
GetMaxStackSizeMethod · 0.45
IsEmptyMethod · 0.45

Tested by

no test coverage detected